Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Payment

A data class representing a payment to be processed.

Link copied to clipboard
@Serializable
data class PaymentSource

Represents a source of payment for a transaction.

Link copied to clipboard
@Serializable
data class Transaction(val paymentTransactionKey: Int? = 0, val transactionId: String, val clientTransactionId: String? = null, val description: String? = null, val cardType: String? = null, val cardHolderName: String? = null, val cardNumberLastFour: String? = null, val paymentMethod: String? = null, val amount: Double = 0.0, val surcharge: Double = 0.0, val currencyCode: String? = null, val transactionDateTime: Instant? = null, val transactionStatus: String? = null, val gatewayResultCode: String? = null, val gatewayResultMessage: String? = null, val message: String? = null, val failureReason: String? = null, val paymentSource: PaymentSource? = null)

Represents a financial transaction, containing detailed information about the payment.

Link copied to clipboard

Specifies the type of payment transaction.