Builder
Constructors
Link copied to clipboard
constructor(paymentIntent: PaymentIntent, countryCode: String, googlePayOptions: GooglePayOptions? = null)
Constructor for static PaymentIntent
constructor(paymentIntentProvider: PaymentIntentProvider, countryCode: String, customerId: String? = null, googlePayOptions: GooglePayOptions? = null)
Constructor for PaymentIntentProvider
constructor(paymentIntentSource: PaymentIntentSource, countryCode: String, customerId: String? = null, googlePayOptions: GooglePayOptions? = null)
Constructor for PaymentIntentSource (modern suspend-based version)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setRequireBillingInformation(requiresBillingInformation: Boolean): AirwallexPaymentSession.Builder
Link copied to clipboard
fun setRequiredBillingContactFields(fields: Set<RequiredBillingContactField>?): AirwallexPaymentSession.Builder
Configure which billing fields the new-card UI should collect and the headless checkout should validate. Pass null (the default) to derive from the legacy setRequireBillingInformation / setRequireEmail flags. An empty set hides the entire billing section.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard