AirwallexApiRepository
The implementation of ApiRepository to request the Airwallex API.
Functions
Link copied to clipboard
open suspend override fun confirmPaymentIntent(options: Options.ConfirmPaymentIntentOptions): PaymentIntent?
Confirm a PaymentIntent using the provided Options
Link copied to clipboard
open suspend override fun continuePaymentIntent(options: Options.ContinuePaymentIntentOptions): PaymentIntent?
Continue a PaymentIntent using the provided Options
Link copied to clipboard
open suspend override fun createPaymentConsent(options: Options.CreatePaymentConsentOptions): PaymentConsent?
Create a PaymentConsent
Link copied to clipboard
open suspend override fun createPaymentMethod(options: Options.CreatePaymentMethodOptions): PaymentMethod?
Create a Airwallex PaymentMethod using Options
Link copied to clipboard
open suspend override fun disablePaymentConsent(options: Options.DisablePaymentConsentOptions): PaymentConsent?
Disable a PaymentConsent
Link copied to clipboard
Execute mock wechat (Just for demo env)
Link copied to clipboard
open suspend override fun retrieveAvailablePaymentConsents(options: Options.RetrieveAvailablePaymentConsentsOptions): Page<PaymentConsent>?
Retrieve available payment consents
Link copied to clipboard
open suspend override fun retrieveAvailablePaymentMethods(options: Options.RetrieveAvailablePaymentMethodsOptions): Page<AvailablePaymentMethodType>?
Retrieve available payment method types
Link copied to clipboard
Retrieve banks of payment method
Link copied to clipboard
open suspend override fun retrievePaymentConsent(options: Options.RetrievePaymentConsentOptions): PaymentConsent?
Retrieve a PaymentConsent
Link copied to clipboard
open suspend override fun retrievePaymentIntent(options: Options.RetrievePaymentIntentOptions): PaymentIntent?
Retrieve a PaymentIntent using the provided Options
Link copied to clipboard
open suspend override fun retrievePaymentMethodTypeInfo(options: Options.RetrievePaymentMethodTypeInfoOptions): PaymentMethodTypeInfo?
Retrieve payment method detail
Link copied to clipboard
open suspend override fun verifyPaymentConsent(options: Options.VerifyPaymentConsentOptions): PaymentConsent?
Verify a PaymentConsent