Card
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).
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)
Constructors
Link copied to clipboard
constructor(supportedCardBrands: List<AirwallexSupportedCard> = enumValues<AirwallexSupportedCard>().toList(), checkoutButton: PaymentElementConfiguration.CheckoutButton = CheckoutButton(), appearance: Appearance? = null)