AirwallexAddPaymentDialog

constructor(activity: ComponentActivity, session: AirwallexSession, configuration: PaymentElementConfiguration.Card = PaymentElementConfiguration.Card(), paymentResultListener: Airwallex.PaymentResultListener, dialogHeight: Int? = null)


constructor(activity: ComponentActivity, session: AirwallexSession, supportedCardBrands: List<AirwallexSupportedCard>, paymentResultListener: Airwallex.PaymentResultListener, dialogHeight: Int? = null)

Deprecated

Use constructor with PaymentElementConfiguration.Card instead

Replace with

import com.airwallex.android.view.composables.PaymentElementConfiguration
AirwallexAddPaymentDialog(activity, session, PaymentElementConfiguration.Card(supportedCardBrands = supportedCardBrands), paymentResultListener, dialogHeight)

Deprecated constructor with supportedCardBrands parameter