After creating an instance of the PrimerHeadlessUniversalCheckout.ComponentWithRedirectManager you must use one of the compatible provide methods
which will provide the component that can be used to build the flow.
The method provideComponent is compatible with Objective-C.
SWIFT
Copy
Ask AI
@objc public func provideComponent(paymentMethodType: String) -> PrimerHeadlessBanksComponentWrapper
A unique string identifier for the payment method. Supported payment methods for current client session are returned in primerHeadlessUniversalCheckoutDidLoadAvailablePaymentMethods.
For Component with redirect manager, the supported payment method is ADYEN_IDEAL.
An instance of type PrimerHeadlessBanksComponentWrapper.
The PrimerHeadlessBanksComponentWrapper conforms to PrimerHeadlessBanksComponentWrapperDelegate.
SWIFT
Copy
Ask AI
@objc public final class PrimerHeadlessBanksComponentWrapper: NSObject, PrimerHeadlessBanksComponentWrapperDelegate
BanksComponentSteppable is a protocol that processes different
output data for specific steps. Whenever
submit method is called,
stepDelegate will trigger the next step in case the call to the
mentioned method was successful.
This is provided for the payment method type ADYEN_IDEAL and Objective-C
backward compatibility.