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
@objc public func provideComponent(paymentMethodType: String) -> PrimerHeadlessBanksComponentWrapper

Parameters

Returns

An instance of type PrimerHeadlessBanksComponentWrapper. The PrimerHeadlessBanksComponentWrapper conforms to PrimerHeadlessBanksComponentWrapperDelegate.

SWIFT
@objc public final class PrimerHeadlessBanksComponentWrapper: NSObject, PrimerHeadlessBanksComponentWrapperDelegate

Throws