Transaction
data class Transaction(val id: String, val owner: String, val version: Int, val createdAt: Date, val updatedAt: Date, val transactedAt: Date, val settledAt: Date? = null, val cardId: String, val sequenceId: String, val type: TransactionType, val billedAmount: CurrencyAmount, val transactedAmount: CurrencyAmount, val description: String, val declineReason: DeclineReason? = null, val details: List<TransactionDetailCharge> = emptyList()) : Parcelable
Representation of a Virtual Card Transaction used in the Sudo Platform Virtual Cards SDK.
Constructors
Link copied to clipboard
constructor(id: String, owner: String, version: Int, createdAt: Date, updatedAt: Date, transactedAt: Date, settledAt: Date? = null, cardId: String, sequenceId: String, type: TransactionType, billedAmount: CurrencyAmount, transactedAmount: CurrencyAmount, description: String, declineReason: DeclineReason? = null, details: List<TransactionDetailCharge> = emptyList())
Properties
Link copied to clipboard
CurrencyAmount The amount billed for the transaction in the currency of the virtual card.
Link copied to clipboard
String Unique identifier of the VirtualCard associated with the transaction.
Link copied to clipboard
DeclineReason Reason that the transaction was declined, null if the transaction was not declined.
Link copied to clipboard
String The description of the transaction.
Link copied to clipboard
List
Link copied to clipboard
String Identifier of the sequence of related transaction.
Link copied to clipboard
CurrencyAmount The amount of the transaction as charged by the merchant.
Link copied to clipboard
Date Date when the transaction occurred at the merchant.
Link copied to clipboard
TransactionType The type of the transaction.