Package-level declarations
Types
The implementation of ApiRepository to request the Airwallex API.
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).
For one-off payment
Provide some internal plugins
For recurring payment (without create payment intent)
For recurring payment (need create payment intent)
An interface for making Airwallex API requests
Model containing necessary information for handling card payment next actions, particularly for 3DS authentication flows.
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.
Modern suspend-based interface for providing PaymentIntent objects. This is the preferred interface for Kotlin consumers as it provides cleaner async handling.
Properties
Functions
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.
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.