Package-level declarations

Types

Link copied to clipboard
interface ActionComponent
Link copied to clipboard
class Airwallex
Link copied to clipboard

The implementation of ApiRepository to request the Airwallex API.

Link copied to clipboard
interface AirwallexCallback<T>
Link copied to clipboard
Link copied to clipboard

Marker interface for Airwallex SDK internal activities. Used to distinguish between SDK UI integration (activities extending this) and API integration (merchant's own activities calling Airwallex APIs directly).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Provide some internal plugins

Link copied to clipboard

For recurring payment (without create payment intent)

Link copied to clipboard

For recurring payment (need create payment intent)

Link copied to clipboard
abstract class AirwallexSession : Parcelable
Link copied to clipboard
Link copied to clipboard
interface ApiRepository

An interface for making Airwallex API requests

Link copied to clipboard
interface BaseComponent
Link copied to clipboard
data class BillingAddressParameters(val format: BillingAddressParameters.Format? = Format.MIN, val phoneNumberRequired: Boolean? = false) : Parcelable
Link copied to clipboard

All card brands supported by Airwallex. Only support Visa, Mastercard & American Express

Link copied to clipboard
class CardNextActionModel(val paymentManager: PaymentManager, val clientSecret: String, val device: Device?, val paymentIntentId: String?, val currency: String, val amount: BigDecimal, val activityProvider: () -> ComponentActivity)

Model containing necessary information for handling card payment next actions, particularly for 3DS authentication flows.

Link copied to clipboard
Link copied to clipboard
data class GooglePayOptions(val allowedCardAuthMethods: List<String>? = null, val merchantName: String? = null, val allowPrepaidCards: Boolean? = null, val allowCreditCards: Boolean? = null, val assuranceDetailsRequired: Boolean? = null, val billingAddressRequired: Boolean? = null, val billingAddressParameters: BillingAddressParameters? = null, val transactionId: String? = null, val totalPriceLabel: String? = null, val checkoutOption: String? = null, val emailRequired: Boolean? = null, val shippingAddressRequired: Boolean? = null, val shippingAddressParameters: ShippingAddressParameters? = null, val allowedCardNetworks: List<String> = googlePaySupportedNetworks(), val skipReadinessCheck: Boolean? = false) : Parcelable
Link copied to clipboard
Link copied to clipboard

Interface for providing PaymentIntent objects asynchronously. This allows consumer applications to provide payment intents on demand rather than having to provide them upfront when creating payment sessions.

Link copied to clipboard

Modern suspend-based interface for providing PaymentIntent objects. This is the preferred interface for Kotlin consumers as it provides cleaner async handling.

Link copied to clipboard
interface PaymentManager
Link copied to clipboard
Link copied to clipboard
data class ShippingAddressParameters(val allowedCountryCodes: List<String>? = null, val phoneNumberRequired: Boolean? = false) : Parcelable
Link copied to clipboard

Properties

Link copied to clipboard

Indicates whether this session is configured for Express Checkout. Returns true when the session uses a PaymentIntentProvider for lazy payment intent creation.

Functions

Link copied to clipboard

Binds this session's PaymentIntentProvider to an Activity lifecycle. This ensures the provider is cleaned up when the Activity is destroyed. Should be called once when the session starts being used with a specific Activity.

Link copied to clipboard

Extension function to resolve PaymentIntent from session. If paymentIntent is available, calls callback immediately. If paymentIntentProvider is available (transient field), uses it to get the intent asynchronously. If paymentIntentProviderId is available (after binding), retrieves from repository.