Types

Link copied to clipboard
data class AuthStatus(val currentAuthStatus: Boolean) : SdkSuccessAnswer

Represents the current authentication status.

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

Represents a successful cancellation.

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
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 GetReceiptData(val receipt: ReceiptData) : 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

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

Link copied to clipboard

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 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 invoice: String, val receipt: ReceiptData) : SdkSuccessAnswer

Represents a successful purchase.

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

Represents a successful attempt to auto batch the previous session.