PaymentConsentCreateRequest

Types

Link copied to clipboard

Properties

Link copied to clipboard
val customerId: String? = null

ID from Airwallex of the customer for whom the consent is created

Link copied to clipboard

Only applicable when next_triggered_by is merchant. One of scheduled, unscheduled. Default: unscheduled

Link copied to clipboard
val metadata: Map<String, Any>? = null

A set of key-value pairs that can be attached to this PaymentConsent

Link copied to clipboard

The party to trigger subsequent payments. Can be one of merchant, customer. If type of payment_method is card, both merchant and customer is supported. Otherwise, only merchant is supported

Link copied to clipboard

PaymentMethod for subsequent payments. Can be provided later by updating the PaymentConsent

Link copied to clipboard
val requestId: String? = null

Unique request ID specified by the merchant

Link copied to clipboard
val requiresCvc: Boolean? = null

Only applicable when next_triggered_by is customer. If false, the customer must provide cvc for the subsequent payment with this PaymentConsent. Default: false

Link copied to clipboard
open val sdkType: String
Link copied to clipboard
open val sdkVersion: String

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toParamMap(): Map<String, Any>
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)