UpdatePaymentMethodRequest

data class UpdatePaymentMethodRequest(val expMonth: String? = null, val expYear: String? = null, val billing: FrameObjects.BillingAddress? = null)

Request body for updating an existing payment method.

All fields are optional; only provided fields are updated.

Constructors

Link copied to clipboard
constructor(expMonth: String? = null, expYear: String? = null, billing: FrameObjects.BillingAddress? = null)

Properties

Link copied to clipboard

Updated billing address.

Link copied to clipboard
@SerializedName(value = "exp_month")
val expMonth: String? = null

Updated two-digit expiration month. Applicable to card payment methods only.

Link copied to clipboard
@SerializedName(value = "exp_year")
val expYear: String? = null

Updated four-digit expiration year. Applicable to card payment methods only.