Types

Link copied to clipboard

Represents the result of a candidate authorization call.

Link copied to clipboard
data class AuthStatus(val currentAuthStatus: Boolean, val bankTerminalID: String? = null, val merchantID: String? = null, val bankAndMerchantName: String? = null) : SdkSuccessAnswer

Represents the current authentication status with bank session details.

Link copied to clipboard
data class Cancel(val invoice: String, val receipt: ReceiptData) : SdkSuccessAnswer

Represents a successful cancellation.

Link copied to clipboard
data class CancelQr(val orderId: String, val qrReceipt: QrReceiptData) : SdkSuccessAnswer

Represents a successful cancellation (refund) of a paid QR order.

Link copied to clipboard
data class Credentials(val login: String, val password: String) : SdkSuccessAnswer

Represents the current credentials.

Link copied to clipboard

Represents a successful result of deleting an item from the black list.

Link copied to clipboard

Represents a successful result of deleting an item from the offline queue.

Link copied to clipboard

Represents a successful auto batch operation.

Link copied to clipboard
data class FetchRevise(val sessionSummary: SessionRevise) : SdkSuccessAnswer

Represents fetched revise information.

Link copied to clipboard
data class FiscalPurchase(val invoice: String, val receipt: ReceiptData, val fiscalData: FiscalData) : SdkSuccessAnswer

Represents a successful fiscal purchase.

Link copied to clipboard

Represents all authorized external candidates (acquiring, QR and fiscal); acquiring and fiscal are limited to a single candidate each, while several QR candidates may be authorized at the same time. Each candidate carries only its required options, including required credentials.

Link copied to clipboard
data class GetCandidatesForAuth(val candidates: List<SDKCandidate>) : SdkSuccessAnswer

Represents a successful result in obtaining candidates for authorization.

Link copied to clipboard
data class GetFiscalStatus(val fiscalStatus: FiscalStatus) : SdkSuccessAnswer

Represents a successful get fiscal status.

Link copied to clipboard
data class GetOfflineBlackList(val blackList: List<BlackList>) : SdkSuccessAnswer

Represents a successful result of getting the offline black list.

Link copied to clipboard
data class GetOfflineMode(val offlineStatus: Boolean, val offlineGranted: Boolean, val offlineLimit: Int) : SdkSuccessAnswer

Represents the current offline mode status.

Link copied to clipboard
data class GetOfflineQueue(val receiptDataList: List<ReceiptData>) : SdkSuccessAnswer

Represents a successful result of getting the offline queue.

Link copied to clipboard
data class GetPurchase(val purchase: SDKPurchase, val operations: List<SDKPaymentOperation>) : SdkSuccessAnswer

Represents the result of a successful single-purchase request (su.ips.pos_payment_external_sdk.domain.PosPaymentSdkActionExecutor.getPurchase).

Link copied to clipboard
data class GetPurchases(val purchases: List<SDKPurchase>) : SdkSuccessAnswer

Represents the result of a successful purchase-history page request.

Link copied to clipboard
data class GetReceiptData(val receipt: ReceiptData? = null, val qrReceipt: QrReceiptData? = null) : SdkSuccessAnswer

Represents receipt data.

Link copied to clipboard
data class GetShiftData(val shiftData: ShiftData) : SdkSuccessAnswer

Represents a successful open/close shift.

Link copied to clipboard
@JvmInline
value class IsAutoOfflineOperationPostingEnabled(val isEnabled: Boolean) : SdkSuccessAnswer

Represents a successful result of getting the status of automatic offline operations posting.

Link copied to clipboard
data class IsCheckBlackListOfflineOperationEnabled(val isEnabled: Boolean) : SdkSuccessAnswer

Represents a successful result of getting the status of black list checking offline operations.

Link copied to clipboard
data object Login : SdkSuccessAnswer

Represents a successful login.

Link copied to clipboard
data object Logout : SdkSuccessAnswer

Represents a successful logout.

Link copied to clipboard

Represents the result of a candidate logout call.

Link copied to clipboard

Represents a successful result of posting an offline operation.

Link copied to clipboard
data class ProcessCheque(val fiscalData: FiscalData) : SdkSuccessAnswer

Represents a successful process cheque.

Link copied to clipboard
data class Purchase(val receipt: ReceiptData?, val qrReceipt: QrReceiptData?, val customMetaData: Map<String, String>? = null) : SdkSuccessAnswer

Represents a successful purchase.

Link copied to clipboard
data class Refund(val invoice: String, val receipt: ReceiptData) : SdkSuccessAnswer

Represents a successful refund.

Link copied to clipboard

Represents a successful result of setting automatic offline operations posting.

Link copied to clipboard

Represents a successful result of setting black list checking offline operations.

Link copied to clipboard
data class SetOfflineMode(val offlineStatus: Boolean, val offlineLimit: Int) : SdkSuccessAnswer

Represents the offline mode status.

Link copied to clipboard

Represents a successful attempt to stop current transaction.

Link copied to clipboard

Represents a successful print.

Link copied to clipboard
data class TerminalInfo(val terminalID: String) : SdkSuccessAnswer

Represents the terminal hardware info.

Link copied to clipboard

Represents a successful attempt to auto batch the previous session.