Charge Intent
data class ChargeIntent(val id: String?, val currency: String?, val customer: FrameObjects.Customer?, val shipping: FrameObjects.BillingAddress?, val status: ChargeIntentStatus?, val description: String?, val amount: Int?, val created: Int?, val updated: Int?, val livemode: Boolean?, val latestCharge: LatestCharge?, val paymentMethod: FrameObjects.PaymentMethod?, val authorizationMode: AuthorizationMode?, val failureDescription: String?, val intentObject: String?)
Represents a charge intent returned by the Frame API.
Constructors
Link copied to clipboard
constructor(id: String?, currency: String?, customer: FrameObjects.Customer?, shipping: FrameObjects.BillingAddress?, status: ChargeIntentStatus?, description: String?, amount: Int?, created: Int?, updated: Int?, livemode: Boolean?, latestCharge: LatestCharge?, paymentMethod: FrameObjects.PaymentMethod?, authorizationMode: AuthorizationMode?, failureDescription: String?, intentObject: String?)
Properties
Link copied to clipboard
Whether funds are captured automatically or held for manual capture.
Link copied to clipboard
The customer associated with this charge intent.
Link copied to clipboard
Merchant-supplied description of the charge.
Link copied to clipboard
Human-readable explanation of why the charge intent failed, if applicable.
Link copied to clipboard
The object type identifier returned by the API (typically "charge_intent").
Link copied to clipboard
The most recent charge attempt associated with this intent.
Link copied to clipboard
The payment method attached to this charge intent.
Link copied to clipboard
The shipping address for the order.
Link copied to clipboard
Current lifecycle status of the charge intent.