Deposit
Structure
Field | Type | Required | Description |
---|---|---|---|
id | Integer | true | Unique identifier for the Deposit. |
name | String | true | Name of the Deposit. |
company | Company | false | Company associated to this Deposit |
customer | Customer | false | Customer associated to this Deposit |
travelAgent | TravelAgent | false | TravelAgent associated to this Deposit |
product | Product | true | Product associated to this Deposit |
consumptionDate | LocalDate | true | Date when the Deposit was created |
price | BigDecimal | true | Amount of this Deposit |
spent | BigDecimal | true | |
refund | BigDecimal | true | |
remaining | BigDecimal | true | |
currency | Currency | true | Currency associated to this Deposit |
depositStatusType | DepositStatusType | true | StatusType of this Deposit |
reservationRoomStaySummary | ReservationRoomStaySummary | false | |
reservationSummary | ReservationSummary | false | |
reservationGroup | ReservationGroup | false |
JSON representation
{ "id": 2, "name": "dcb58", "company": null, "customer": { "id": 8, "name": "Antonio Bérengère Chapman" }, "travelAgent": null, "productCONModel": { "id": 589, "chainProductId": 129, "code": "DEPR", "name": "Depósito Recibo", "productType": { "id": 4, "code": "DEP", "name": "Deposit", } }, "consumptionDate": "2019-02-07", "price": 311, "spent": 0, "refund": 0, "remaining": 0, "currency": { "id": 1, "code": "EUR", "name": "Euro", "symbol": "€", "decimalPlaces": 2 }, "depositStatusType": { "id": 1, "name": "Pending Payment", "code": "PENPAY" }, "reservationRoomStaySummary": null, "reservationSummary": null, "reservationGroup": null }