AirwallexPaymentSession

Types

Link copied to clipboard
class Builder(paymentIntent: PaymentIntent, countryCode: String, googlePayOptions: GooglePayOptions? = null) : ObjectBuilder<AirwallexPaymentSession>

Properties

Link copied to clipboard
open override val amount: BigDecimal

Payment amount. This is the order amount you would like to charge your customer. required.

Link copied to clipboard
val autoCapture: Boolean = true

Indicate if the payment shall be captured immediately after authorized. Only applicable to Card. Default: true

Link copied to clipboard
open override val countryCode: String

Country code

Link copied to clipboard
open override val currency: String

Amount currency. required.

Link copied to clipboard
open override val customerId: String? = null

The Customer who is paying for this PaymentIntent. This field is not required if the Customer is unknown (guest checkout).

Link copied to clipboard
open override val googlePayOptions: GooglePayOptions? = null

Google Pay options

Link copied to clipboard

control whether saved cards are displayed on the list screen

Link copied to clipboard
open override val isBillingInformationRequired: Boolean = true

Whether or not billing information is required for card payments. When set to false, any billing information will be ignored.

Link copied to clipboard
open override val isEmailRequired: Boolean = false

Whether or not email is required for card payments. Set to 'true' if you'd like to collect customers' email

Link copied to clipboard

the ID of the PaymentIntent, required.

Link copied to clipboard
open override val paymentMethods: List<String>? = null

An array of payment method type names to limit the payment methods displayed on the list screen. Only available ones from your Airwallex account will be applied, any other ones will be ignored. Also the order of payment method list will follow the order of this array. API reference: https://www.airwallex.com/docs/api#/Payment_Acceptance/Config/_api_v1_pa_config_payment_method_types/get JSON Object field: items.name

Link copied to clipboard
open override val returnUrl: String?

The URL to redirect your customer back to after they authenticate or cancel their payment on the PaymentMethod’s app or site. If you’d prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.

Link copied to clipboard
open override val shipping: Shipping? = null

Shipping information. optional

Functions

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