PaymentConsent
data class PaymentConsent(val id: String? = null, val requestId: String? = null, val customerId: String? = null, var paymentMethod: PaymentMethod? = null, val initialPaymentIntentId: String? = null, val nextTriggeredBy: PaymentConsent.NextTriggeredBy? = null, val merchantTriggerReason: PaymentConsent.MerchantTriggerReason? = null, val requiresCvc: Boolean = false, val metadata: Map<String, Any?>? = null, val status: PaymentConsent.PaymentConsentStatus? = null, val createdAt: Date? = null, val updatedAt: Date? = null, val nextAction: NextAction? = null, val clientSecret: String? = null) : AirwallexModel, Parcelable
Constructors
Link copied to clipboard
constructor(id: String? = null, requestId: String? = null, customerId: String? = null, paymentMethod: PaymentMethod? = null, initialPaymentIntentId: String? = null, nextTriggeredBy: PaymentConsent.NextTriggeredBy? = null, merchantTriggerReason: PaymentConsent.MerchantTriggerReason? = null, requiresCvc: Boolean = false, metadata: Map<String, Any?>? = null, status: PaymentConsent.PaymentConsentStatus? = null, createdAt: Date? = null, updatedAt: Date? = null, nextAction: NextAction? = null, clientSecret: String? = null)
Types
Properties
Link copied to clipboard
Client secret for browser or app
Link copied to clipboard
Airwallex ID of the customer for whom the PaymentConsent is created
Link copied to clipboard
ID of the initial PaymentIntent confirmed with this PaymentConsent
Link copied to clipboard
Only applicable when next_triggered_by is merchant. One of scheduled, unscheduled
Link copied to clipboard
Next action for merchant
Link copied to clipboard
The party to trigger subsequent payments. One of merchant, customer
Link copied to clipboard
PaymentMethod information attached for subsequent payments
Link copied to clipboard
Only applicable when next_triggered_by is customer. If false, the customer must provide cvc for subsequent payments with this PaymentConsent.
Link copied to clipboard
Status of this PaymentConsent. One of PENDING_VERIFICATION, VERIFIED, DISABLED