Companion
object Companion
Functions
Link copied to clipboard
Initialize some global configurations, better to be called on Application
Link copied to clipboard
Initialize Airwallex Launch, if you have invoked initialize before, no need to call this method
Link copied to clipboard
fun presentCardPaymentFlow(activity: ComponentActivity, session: AirwallexSession, supportedCards: List<AirwallexSupportedCard> = enumValues<AirwallexSupportedCard>().toList(), paymentResultListener: Airwallex.PaymentResultListener)
Launch the card payment flow to allow the user to complete the entire payment flow
Link copied to clipboard
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
Link copied to clipboard
fun presentPaymentFlow(activity: ComponentActivity, session: AirwallexSession, layoutType: PaymentMethodsLayoutType = PaymentMethodsLayoutType.TAB, paymentResultListener: Airwallex.PaymentResultListener)
fun presentPaymentFlow(fragment: Fragment, session: AirwallexSession, layoutType: PaymentMethodsLayoutType = PaymentMethodsLayoutType.TAB, paymentResultListener: Airwallex.PaymentResultListener)
Launch the payment flow to allow the user to complete the entire payment flow
Link copied to clipboard
fun presentShippingFlow(activity: ComponentActivity, shipping: Shipping?, shippingResultListener: Airwallex.ShippingResultListener)
fun presentShippingFlow(fragment: Fragment, shipping: Shipping?, shippingResultListener: Airwallex.ShippingResultListener)
Launch the shipping flow to allow the user to fill the shipping information