Package-level declarations

Types

Link copied to clipboard
interface BatchApi

Terminal API batch operations.

Link copied to clipboard
data class BatchProcessRequest(val receiptFormat: ReceiptFormat = ReceiptFormat.TEXT)
Link copied to clipboard
data class BatchProcessResult(val outcome: RequestOutcome = RequestOutcome.SUCCESSFUL, val receipts: List<Receipt> = emptyList(), val errorReason: ErrorReason? = null)

Result of a batch process, which performs submission and transmission of the stored transactions in a single terminal request.

Link copied to clipboard
data class FinalBalanceRequest(val receiptFormat: ReceiptFormat = ReceiptFormat.TEXT)
Link copied to clipboard
data class FinalBalanceResult(val outcome: RequestOutcome = RequestOutcome.SUCCESSFUL, val receipts: List<Receipt> = emptyList(), val errorReason: ErrorReason? = null)

VCS/business-level failures (e.g. no connectivity to the acquirer) are reported here as a successful Terminal API call with outcome USER_ERROR and errorReason set, mirroring how com.wallee.atisdk.terminal.payments.PurchaseResult/com.wallee.atisdk.terminal.payments.ReversalResult report till errors. Technical/Binder-level failures still surface via com.wallee.atisdk.terminal.error.TerminalException.

Functions

Link copied to clipboard