fun kd(kdInfo: KdInfo, sellerId: String, cashRegisterName: String): KdReplyInfo
Sends data to control unit.
cashRegisterName
- cash register name
com.srv4pos.server.api.exceptions.ControlUnitReceiptJsonException
- when Control Unit decides something is
wrong according to it's internal business logic
com.srv4pos.server.api.exceptions.InconsistentDataJsonException
- see:
InconsistentDataErrorType.WORKING_WITH_CU_IS_NOT_SUPPORTED_BY_APP
com.srv4pos.server.api.exceptions.ControlUnitUnavailableJsonException
- when server is unable to reach the control
unit device (for instance it's ejected from the server)
com.srv4pos.server.api.exceptions.ControlUnitCommunicationJsonException
- when error has happened during transmission data to the control unit
(for instance, it was ejected from the server during sending the data)
workable yet
Return
result of sending
fun kd(kdInfo: KdInfo, sellerId: String, cashRegisterName: String, logId: String): KdReplyInfo
The same as .kd, but also has param logId for load testing. For logging details, see com.srv4pos.server.core.web.infrastructure.MethodProfiler and com.srv4pos.server.core.web.infrastructure.ServletTimeMeasurementFilter.
Return
result of sending