PaymentAttempt

data class PaymentAttempt(val id: String?, val amount: BigDecimal?, val currency: String? = null, val paymentMethod: PaymentMethod, val capturedAmount: BigDecimal?, val refundedAmount: BigDecimal?, val createdAt: Date?, val updatedAt: Date?, val authenticationData: PaymentIntent.PaymentAttemptAuthData?) : AirwallexModel, Parcelable

Constructors

Link copied to clipboard
constructor(id: String?, amount: BigDecimal?, currency: String? = null, paymentMethod: PaymentMethod, capturedAmount: BigDecimal?, refundedAmount: BigDecimal?, createdAt: Date?, updatedAt: Date?, authenticationData: PaymentIntent.PaymentAttemptAuthData?)

Properties

Link copied to clipboard

Payment amount. This is the order amount you would like to charge your customer

Link copied to clipboard

Authentication data used by the payment attempt

Link copied to clipboard

Captured amount

Link copied to clipboard

Time at which this payment attempt was created

Link copied to clipboard
val currency: String? = null

Currency of the captured and refunded amounts

Link copied to clipboard
val id: String?

Unique identifier for the payment attempt

Link copied to clipboard

Payment method used by the payment attempt

Link copied to clipboard

Refunded amount

Link copied to clipboard

Last time at which this payment attempt was updated or operated on

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)