presentPaymentFlow
fun presentPaymentFlow(fragment: Fragment, session: AirwallexSession, layoutType: PaymentMethodsLayoutType = PaymentMethodsLayoutType.TAB, paymentResultListener: Airwallex.PaymentResultListener)
Deprecated
Use presentEntirePaymentFlow() instead
Launch the payment flow to allow the user to complete the entire payment flow
Parameters
fragment
fragment {@link Fragment}
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.
fun presentPaymentFlow(activity: ComponentActivity, session: AirwallexSession, layoutType: PaymentMethodsLayoutType = PaymentMethodsLayoutType.TAB, paymentResultListener: Airwallex.PaymentResultListener)
Deprecated
Use presentEntirePaymentFlow() instead
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.