Transaction

data class Transaction(val amount: BigDecimal, val currency: String, val transactionTime: Instant, val paymentMeanId: UUID, val maskedIban: String, val bankName: String, val storeName: String, val storeStreet: String, val storeZipCode: String, val storeTown: String, val status: TransactionStatus, val reason: String?)

Data class describing a payment transaction

Parameters

amount

the paid amount

currency

the payment currency

transactionTime

time of the payment

paymentMeanId

id of card used for payment

maskedIban

masked Iban of card used for payment

bankName

tha bankName the account is registered to

storeName

the name of the store where the payment was made

storeStreet

the street of the store where the payment was made

storeZipCode

the zip code of the store where the payment was made

storeTown

the torn of the store where the payment was made

status

the status of the transaction

reason

(optional) transaction failure reason

Constructors

Link copied to clipboard
constructor(amount: BigDecimal, currency: String, transactionTime: Instant, paymentMeanId: UUID, maskedIban: String, bankName: String, storeName: String, storeStreet: String, storeZipCode: String, storeTown: String, status: TransactionStatus, reason: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard