Package-level declarations
Types
Link copied to clipboard
data class AcquiringOperationResponse(val url: String?, val amount: Int?, val currency: CurrencyData?)
Link copied to clipboard
data class CardData(val maskedPan: String?, val expDate: String?, val amount: Long?, val currency: String?, val holder: String?, val phone: String?, val email: String?, val rrn: String?, val responseCode: String?, val authCode: String?, val tsi: String?, val tvr: String?, val dateTime: String?, val aid: String?, val tid: String?, val mid: String?, val siganture: Boolean?, val apn: String?, val companyName: String?, val posAddress: String?)
Дата-класс для хранения информации о банковской карте Сериализуется в json для отправки на сервер
Link copied to clipboard
Link copied to clipboard
Дата-класс для добавления информации об устройстве в JSON-запрос
Link copied to clipboard
data class FailureRequestBody(val error: FailureRequestParam, val code: String, val vendor: String = "AQSI")
Link copied to clipboard
data class FailureRequestParam(val code: String, val description: String, val type: String = "fatal", val uuid: String = "none")
Link copied to clipboard
data class FiscalDataResponse(val settlementSign: Int?, val copies: Int?, val taxationSystem: Int?, val items: List<FiscalNode>?, val payments: PaymentsData?)
Link copied to clipboard
data class FiscalDocumentBody(val crFactoryNumber: String?, val crRegNumber: String?, val fnFactoryNumber: String?, val date: String?, val documentSerialNumber: Int?, val fiscalSignature: Long?, val operationType: Int?, val operationAmount: Double?, val shiftNumber: Int?, val chequeSequenceNumber: Int?)
Link copied to clipboard
data class FiscalNode(val text: String?, val settlementSubjectSign: Int?, val settlementMethodSign: Int?, val name: String?, val price: Double?, val quantity: Int?, val department: Int?, val taxes: TaxesData?, val agent: AgentData?, val supplier: SupplierData?, val items: List<FiscalNode>?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ICashRegisterFiscalStorageOptions(val factoryNumber: String, val workMode: ICashRegisterWorkMode?)
Link copied to clipboard
data class ICashRegisterOptions(val authority: ICashRegisterAuthorityOptions, val factoryNumber: String, val fiscalStorage: ICashRegisterFiscalStorageOptions)
Link copied to clipboard
data class ICashRegisterWorkMode(val encryptMode: Boolean?, val autonomousMode: Boolean?, val autoMode: Boolean?, val serviceIndustriesMode: Boolean?, val fsrMode: Boolean?, val internetMode: Boolean?, val exciseMode: Boolean?, val gamblingMode: Boolean?, val lotteryMode: Boolean?, val automationMode: Boolean?, val fiscalDocumentFormatVersion: String?)
Link copied to clipboard
data class ICloseShiftScenarioOptions(val code: String, val cashier: IScenarioCashierOptions, val vendor: String) : IScenarioOptions
Link copied to clipboard
data class ICloseShiftScenarioResultOptions(val code: String, val vendor: String, val fiscalDocument: IOpenCloseShiftFiscalDocumentOptions) : IScenarioResultOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class IDeviceRouteStatusCurrentRegistrationOptions(val registrationReport: IRegistrationReportFiscalDocumentOptions?)
Link copied to clipboard
data class IDeviceRouteStatusCurrentShiftOptions(val openShiftReport: IDeviceRouteStatusShiftReportOptions)
Link copied to clipboard
data class IDeviceRouteStatusScenarioOptions(val code: String, val vendor: String) : IScenarioOptions
Link copied to clipboard
data class IDeviceRouteStatusScenarioResultOptions(val code: String, val vendor: String, val single: IDeviceRouteStatusSingleOptions?) : IScenarioResultOptions
Link copied to clipboard
data class IDeviceRouteStatusShiftReportOptions(val shift: IShiftOptions, val dateTime: Date?, val fiscalNumber: Int?, val fiscalSignature: Int?, val cashRegister: ICashRegisterOptions?)
Link copied to clipboard
data class IDeviceRouteStatusSingleOptions(val shiftCloseRequired: Boolean? = null, val currentShift: IDeviceRouteStatusCurrentShiftOptions? = null, val currentRegistration: IDeviceRouteStatusCurrentRegistrationOptions? = null, val departments: List<IDepartmentOptions>? = null, val location: IDeviceLocationOptions? = null, val fail: IScenarioResultErrorOptions? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class IOpenShiftScenarioOptions(val code: String, val cashier: IScenarioCashierOptions, val vendor: String) : IScenarioOptions
Link copied to clipboard
data class IOpenShiftScenarioResultOptions(val code: String, val fiscalDocument: IOpenCloseShiftFiscalDocumentOptions, val vendor: String) : IScenarioResultOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class IRegistrationReportFiscalDocumentOptions(val taxPayer: ITaxPayerOptions, val registrationDateAndTime: Date, val cashRegister: ICashRegisterOptions, val pointOfSettlement: IPointOfSettlementoptions, val fiscalNumber: Int, val fiscalSignature: Int, val fiscalDocumentFormatVersion: String?, val automatNumber: String?, val cashier: IFiscalDocumentCashierOptions?, val ofd: IOFDOptions?, val authority: IAuthoritySiteOptions?, val chequeSenderEMail: String?, val agentMode: IAgentModeOptions?, val taxationSystems: ITaxationSystemsOptions)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class IScenarioResultError(val type: String?, val code: String, val description: String, val uuid: String?)
Link copied to clipboard
data class IScenarioResultErrorOptions(val error: IScenarioResultError, val vendor: String, val code: String) : IScenarioResultOptions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class PaymentRegisterRequest(val cardData: List<CardData>, val vendor: String = "AQSI", val code: String = SCENARIO_PURCHASE)
Запрос на регистрацию платежа
Link copied to clipboard
Link copied to clipboard
data class SlipOperation(val code: String?, val feedLines: Int?, val textSize: Int?, val text: String?, val textLeft: String?, val textRight: String?, val qrText: String?, val alignment: Int?)
{code: 'feed-paper', feedLines: 10}, {code: 'string-printing', textSize: 10, text: 'BBB'}, {code: 'sides-string-printing', textLeft: 'bbb', textRight: 'cccc', textSize: 10}, {code: 'qr-code', qrText: '834792874', textLeft: '1111'}
Link copied to clipboard