presentEntirePaymentFlow

fun presentEntirePaymentFlow(activity: ComponentActivity, session: AirwallexSession, layoutType: PaymentMethodsLayoutType = PaymentMethodsLayoutType.TAB, paymentResultListener: Airwallex.PaymentResultListener)

Launch the payment flow to allow the user to complete the entire payment flow

Parameters

activity

the launch activity on which the payment UI is presented

session

a AirwallexSession used to present the payment flow

paymentResultListener

The callback of present entire payment flow

layoutType

PaymentMethodsLayoutType for payment methods list UI. Two types are supported: Tab and Accordion.