fun kdForSV(kdInfo: SVKdInfo, 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