PrimerHeadlessUniversalCheckoutComponentWithRedirectManager
is an SDK manager designed to streamline the headless integrations of various payment methods that are comprised of an initial component and a redirect flow.
Features
- Provide component: Provides a component that implements PrimerHeadlessMainComponent<PrimerCollectableData, PrimerHeadlessStep>.
- For the case of iDeal via Adyen (ADYEN_IDEAL) payment method: the manager will return an instance of BanksComponent<BanksCollectableData, BanksStep>.
1
fun init(): PrimerHeadlessUniversalCheckoutComponentWithRedirectManager
kotlin
copy
Parameters
viewModelStoreOwner
ViewModelStoreOwnerRequiredThe ViewModelStoreOwner to associate with the component.