RetrieveCashDrawerShiftResponse
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
CashDrawerShift |
CashDrawerShift |
Optional | This model gives the details of a cash drawer shift. The cash_payment_money, cash_refund_money, cash_paid_in_money, and cash_paid_out_money fields are all computed by summing their respective event types. |
CashDrawerShift getCashDrawerShift() |
Errors |
List<Error> |
Optional | Any errors that occurred during the request. | List getErrors() |
{
"cash_drawer_shift": {
"cash_paid_in_money": {
"amount": 10000,
"currency": "USD"
},
"cash_paid_out_money": {
"amount": -10000,
"currency": "USD"
},
"cash_payment_money": {
"amount": 100,
"currency": "USD"
},
"cash_refunds_money": {
"amount": -100,
"currency": "USD"
},
"closed_at": "2019-11-22T00:44:49.000Z",
"closed_cash_money": {
"amount": 9970,
"currency": "USD"
},
"closing_team_member_id": "",
"description": "Misplaced some change",
"device": {
"name": "My iPad"
},
"ended_at": "2019-11-22T00:44:49.000Z",
"ending_team_member_id": "",
"expected_cash_money": {
"amount": 10000,
"currency": "USD"
},
"id": "DCC99978-09A6-4926-849F-300BE9C5793A",
"opened_at": "2019-11-22T00:42:54.000Z",
"opened_cash_money": {
"amount": 10000,
"currency": "USD"
},
"opening_team_member_id": "",
"state": "CLOSED"
},
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "MAP_KEY_LENGTH_TOO_LONG",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "MAP_KEY_LENGTH_TOO_LONG",
"detail": "detail6",
"field": "field4"
}
]
}