7.21.3 Relation to MDB / ICP state for cashless devices
MDB / ICP defines several states for cashless devices. How to receive this information from the PaymentCashlessDeviceType is described in the following.
| MDB / ICP state | Status (Available, Offline, OutOfOrder) | IsEnabled (true, false) | UserId (empty, value) | ApproveStatus (Idle, Ongoing, SuccessfullyFinished, Failed) | RechargeStatus (Idle, Ongoing, SuccessfullyFinished, Failed) | RefundLastStatus (Idle, Ongoing, SuccessfullyFinished, Failed) |
|---|---|---|---|---|---|---|
| Inactive | Offline, OutOfOrder | - | - | - | - | - |
| Disabled | Available | false | - | - | - | - |
| Enabled | Available | true | empty | - | - | - |
| Session Idle | Available | true | value | Not Ongoing | Not Ongoing | Not Ongoing |
| Vend | Available | true | value | Ongoing | Not Ongoing | Not Ongoing |
| Revalue | Available | true | value | Not Ongoing | One of them in Ongoing, the other not Ongoing. | |
| Negative Vend | Not addressed in this version of the specification | |||||