fun setBalance(version: Int, cashRegisterName: String, changeBalanceInfo: ChangeBalanceInfo): Unit
Set balance of registration.
version
- expected latest version of seller
cashRegisterName
- described in swedish regulations as "cash register designation"
changeBalanceInfo
- registration balance and action
ReferenceNotFoundJsonException
- if cashRegisterName is not found
com.srv4pos.server.api.exceptions.UnprocessableEntityJsonException
- see:
UnprocessableEntityErrorType.DAY_IS_CLOSED,
UnprocessableEntityErrorType.DAY_IS_NOT_CLOSED,
UnprocessableEntityErrorType.REPORT_IS_NOT_PRINTED