Latest Charge
data class LatestCharge(val id: String?, val currency: String?, val created: Int?, val updated: Int?, val livemode: Boolean?, val captured: Boolean?, val disputed: Boolean?, val refunded: Boolean?, val description: String?, val status: ChargeIntentStatus?, val customer: String?, val amount: Int?, val failureMessage: String?, val paymentMethodDetails: FrameObjects.PaymentMethod?, val paymentMethod: String?, val chargeIntent: String?, val amountCaptured: Int?, val amountRefunded: Int?)
Represents the most recent charge attempt made against a charge intent.
Constructors
Link copied to clipboard
constructor(id: String?, currency: String?, created: Int?, updated: Int?, livemode: Boolean?, captured: Boolean?, disputed: Boolean?, refunded: Boolean?, description: String?, status: ChargeIntentStatus?, customer: String?, amount: Int?, failureMessage: String?, paymentMethodDetails: FrameObjects.PaymentMethod?, paymentMethod: String?, chargeIntent: String?, amountCaptured: Int?, amountRefunded: Int?)
Properties
Link copied to clipboard
Amount that has been captured, in the smallest currency unit.
Link copied to clipboard
Amount that has been refunded, in the smallest currency unit.
Link copied to clipboard
ID of the parent charge intent.
Link copied to clipboard
Merchant-supplied description of the charge.
Link copied to clipboard
Human-readable explanation of why the charge failed, if applicable.
Link copied to clipboard
ID of the payment method used for this charge.
Link copied to clipboard
@SerializedName(value = "payment_method_details" )
Full details of the payment method used for this charge.
Link copied to clipboard
Current lifecycle status of the charge.