BaseTransactionRequest

data class BaseTransactionRequest(val lineItems: List<PaymentLineItem>, val currency: String, val merchantReference: String = "", val invoiceReference: String? = null, val customerId: String? = null, val customerEmailAddress: String? = null, val billingAddress: PostalAddress? = null, val shippingAddress: PostalAddress? = null, val metadata: Map<String, String> = emptyMap(), val customText: String? = null, val language: String? = null, val panHashVariants: List<PanHashVariant> = emptyList(), val transactionRefNumber: String? = null, val showTransactionResultScreens: Boolean? = null)

Common transaction request fields shared by purchase, refund, and reservation.

Amounts use BigDecimal to avoid floating-point rounding. Persist the returned com.wallee.atisdk.terminal.TransactionContext.transactionId until the transaction execution or recovery flow is complete.

Constructors

Link copied to clipboard
constructor(lineItems: List<PaymentLineItem>, currency: String, merchantReference: String = "", invoiceReference: String? = null, customerId: String? = null, customerEmailAddress: String? = null, billingAddress: PostalAddress? = null, shippingAddress: PostalAddress? = null, metadata: Map<String, String> = emptyMap(), customText: String? = null, language: String? = null, panHashVariants: List<PanHashVariant> = emptyList(), transactionRefNumber: String? = null, showTransactionResultScreens: Boolean? = null)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val customerId: String? = null
Link copied to clipboard
val customText: String? = null
Link copied to clipboard
Link copied to clipboard
val language: String? = null
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

Optional terminal/client reference text. This is not the acquirer-created transactionReferenceNumber returned in successful transaction results.

Functions

Link copied to clipboard
open override fun toString(): String