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)

Properties

Link copied to clipboard
open override val appearance: Appearance? = null
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)