TransactionSummary

Summary information of a transaction

interface TransactionSummary : Payment

Types

PaymentStatus
Link copied to clipboard

Allowed states that a transaction can be in

enum PaymentStatus : Enum<TransactionSummary.PaymentStatus>
PaymentType
Link copied to clipboard

Allowed types of transactions

enum PaymentType : Enum<TransactionSummary.PaymentType>
SummaryRollback
Link copied to clipboard
enum SummaryRollback : Enum<TransactionSummary.SummaryRollback>
UsedPaymentInstrument
Link copied to clipboard

An instrument used for a transaction

interface UsedPaymentInstrument
UsedPaymentInstrumentTransaction
Link copied to clipboard

A subtransaction associated with a payment instrument

interface UsedPaymentInstrumentTransaction

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

clientReference
Link copied to clipboard

An optional client reference associated with the transaction.

abstract val clientReference: String?
executionTime
Link copied to clipboard

Timestamp of when the transaction occurred

abstract val executionTime: OffsetDateTime
grossAmount
Link copied to clipboard

The gross amount to be paid. Must be positive except for refunds

abstract override val grossAmount: BigDecimal
instruments
Link copied to clipboard

The instruments used to make the payment. For refunds and cash back amounts will be negative

abstract val instruments: List<TransactionSummary.UsedPaymentInstrument>
merchantReferenceId
Link copied to clipboard

The unique reference for the payment as defined by the Merchant

abstract override val merchantReferenceId: String
paymentRequestId
Link copied to clipboard

The ID of this payment request

abstract override val paymentRequestId: String
refundReason
Link copied to clipboard

The reason provided for the refund. Only provided for REFUND transactions

abstract val refundReason: String?
rollback
Link copied to clipboard

The rollback state of this transaction

abstract val rollback: TransactionSummary.SummaryRollback?
status
Link copied to clipboard

The current status of the transactions

abstract val status: TransactionSummary.PaymentStatus
subTransactions
Link copied to clipboard

Array of transaction responses returned by downstream processes

abstract val subTransactions: List<Any>?
transactionId
Link copied to clipboard

The ID of the transaction

abstract val transactionId: String
type
Link copied to clipboard

The type of transaction.

abstract val type: TransactionSummary.PaymentType

Inheritors

CustomerTransactionSummary
Link copied to clipboard
MerchantTransactionSummary
Link copied to clipboard