Package-level declarations

Types

Link copied to clipboard

Enum representing the communication types available for the POS Payment External SDK.

Link copied to clipboard
sealed class FiscalPurchaseResult<out T>

A sealed class representing the result of an operation, which can either be a success or an error.

Link copied to clipboard

Kind of a payment operation within a SDKPaymentOperation.

Link copied to clipboard

Detailed lifecycle status of a payment operation, as tracked by the terminal.

Link copied to clipboard
Link copied to clipboard
sealed class PurchaseResult<out T>

A sealed class representing the result of an operation, which can either be a success or an error.

Link copied to clipboard
Link copied to clipboard
sealed class Result<out T>

A sealed class representing the result of an operation, which can either be a success or an error.

Link copied to clipboard
data class SDKPaymentOperation(val invoice: String, val kind: PaymentOperationKind, val amount: Long, val status: PaymentOperationStatus, val timestamp: Long, val paymentOperationType: PaymentOperationType, val customMetaData: Map<String, String>?)

A single payment operation within a SDKPurchase — the original sale or a later refund/cancellation.

Link copied to clipboard
data class SDKPurchase(val guid: String, val counter: Int, val initialSum: Long, val actualSum: Long, val status: PurchaseStatus, val timestamp: Long, val currency: Currency?)

A purchase recorded in the terminal history: one payment session that may include several operations (sale plus subsequent refunds or cancellations).

Link copied to clipboard
sealed interface SdkSuccessAnswer

Represents possible successful answers from SDK actions.