presentEntirePaymentFlow
Launch the payment flow to allow the user to complete the entire payment flow
Parameters
the launch activity on which the payment UI is presented
a AirwallexSession used to present the payment flow
Configuration for the card payment element
The callback of present entire payment flow
Deprecated
Use presentEntirePaymentFlow() with PaymentElementConfiguration.PaymentSheet instead
Replace with
import com.airwallex.android.view.composables.PaymentElementConfiguration
presentEntirePaymentFlow(activity, session, PaymentElementConfiguration.PaymentSheet(layout = layoutType, googlePayButton = PaymentElementConfiguration.GooglePayButton(showsAsPrimaryButton = showsGooglePayAsPrimaryButton)), paymentResultListener)Launch the payment flow to allow the user to complete the entire payment flow
Parameters
the launch activity on which the payment UI is presented
a AirwallexSession used to present the payment flow
The callback of present entire payment flow
PaymentMethodsLayoutType for payment methods list UI. Two types are supported: Tab and Accordion.
If true, shows Google Pay as primary button. If false, shows in payment method list.