ListCashDrawerShiftsResponse
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
Cursor |
String |
Optional | Opaque cursor for fetching the next page of results. Cursor is not present in the last page of results. |
String getCursor() |
Errors |
List<Error> |
Optional | Any errors that occurred during the request. | List getErrors() |
CashDrawerShifts |
List<CashDrawerShiftSummary> |
Optional | A collection of CashDrawerShiftSummary objects for shifts that match the query. |
List getCashDrawerShifts() |
{
"cash_drawer_shifts": [
{
"closed_at": "2019-11-22T00:44:49.000Z",
"closed_cash_money": {
"amount": 9970,
"currency": "USD"
},
"description": "Misplaced some change",
"ended_at": "2019-11-22T00:44:49.000Z",
"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"
},
"state": "CLOSED"
}
],
"cursor": "cursor6",
"errors": [
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
},
{
"category": "MERCHANT_SUBSCRIPTION_ERROR",
"code": "INVALID_EXPIRATION",
"detail": "detail6",
"field": "field4"
}
]
}