Card

constructor(supportedCardBrands: List<AirwallexSupportedCard> = enumValues<AirwallexSupportedCard>().toList(), checkoutButton: PaymentElementConfiguration.CheckoutButton = CheckoutButton(), appearance: Appearance? = null)

Parameters

supportedCardBrands

List of supported card brands/schemes. Defaults to all cards from AirwallexSupportedCard (Visa, Amex, Mastercard, Discover, JCB, Diners Club, UnionPay).

checkoutButton

Checkout button configuration

appearance

Payment UI appearance configuration (theme color and dark mode)