PaymentElementConfiguration
Configuration for Airwallex Payment Element.
Use Card for standalone card payment UI. Use PaymentSheet for multi-payment method UI with Tab or Accordion layout.
Inheritors
Types
Link copied to clipboard
data class Card(val supportedCardBrands: List<AirwallexSupportedCard> = enumValues<AirwallexSupportedCard>().toList(), val checkoutButton: PaymentElementConfiguration.CheckoutButton = CheckoutButton(), val appearance: Appearance? = null) : PaymentElementConfiguration, Parcelable
Configuration for standalone card payment element. Shows only card input and saved cards (if available).
Link copied to clipboard
Checkout button configuration. Controls the payment confirmation button appearance and text.
Link copied to clipboard
data class GooglePayButton(val showsAsPrimaryButton: Boolean = true, val buttonType: ButtonType? = null) : Parcelable
Google Pay button configuration. Controls how the Google Pay button is displayed in the payment sheet.
Link copied to clipboard
data class PaymentSheet(val layout: PaymentMethodsLayoutType = PaymentMethodsLayoutType.TAB, val googlePayButton: PaymentElementConfiguration.GooglePayButton = GooglePayButton(), val checkoutButton: PaymentElementConfiguration.CheckoutButton = CheckoutButton(), val appearance: Appearance? = null) : PaymentElementConfiguration, Parcelable
Configuration for payment sheet with multiple payment methods. Can display in Tab or Accordion layout.