UpdateChargeIntentRequest

data class UpdateChargeIntentRequest(val amount: Int?, val currency: String?, val customer: String?, val description: String?, val confirm: Boolean?, val paymentMethod: String?, val receiptEmail: String?)

Request body for updating mutable fields on an existing charge intent.

Constructors

Link copied to clipboard
constructor(amount: Int?, currency: String?, customer: String?, description: String?, confirm: Boolean?, paymentMethod: String?, receiptEmail: String?)

Properties

Link copied to clipboard
val amount: Int?

Updated charge amount in the smallest currency unit, or null to leave unchanged.

Link copied to clipboard

true to confirm the charge intent as part of this update, or null to leave unchanged.

Link copied to clipboard

Updated three-letter ISO 4217 currency code, or null to leave unchanged.

Link copied to clipboard

Updated customer ID, or null to leave unchanged.

Link copied to clipboard

Updated merchant-supplied description, or null to leave unchanged.

Link copied to clipboard
@SerializedName(value = "payment_method")
val paymentMethod: String?

Updated payment method ID, or null to leave unchanged.

Link copied to clipboard
@SerializedName(value = "receipt_email")
val receiptEmail: String?

Updated receipt email address, or null to leave unchanged.