Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
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 |
|
remaining | BigDecimal | true |
|
currency | Currency | true | Currency associated to this Deposit |
depositStatusType | DepositStatusType | true | StatusType of this Deposit. |
JSON representation
{
"id": 2,
"name": "dcb58",
"company": null,
"customer": {
"id": 8,
"name": "Antonio Bérengère Chapman"
},
"travelAgent": null,
"productModel": {
"id": 519,
"name": "Deposit 10"
},
"consumptionDate": "2019-02-07",
"price": 311,
"spent": 0,
"remaining": 0,
"currency": {
"code": "EUR",
"name": "Euro"
},
"depositStatusTypeModel": {
"name": "Pending Payment",
"code": "PENPAY"
}
}