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 10 Current »

Structure

FieldTypeRequiredDescription
idIntegertrueUnique identifier for the Deposit.
nameStringtrueName of the Deposit.
companyCompanyfalseCompany associated to this Deposit
customerCustomerfalseCustomer associated to this Deposit
travelAgentTravelAgentfalseTravelAgent associated to this Deposit
productProducttrueProduct associated to this Deposit
consumptionDateLocalDatetrueDate when the Deposit was created
priceBigDecimaltrueAmount of this Deposit
spentBigDecimaltrue
remainingBigDecimaltrue
currencyCurrencytrueCurrency associated to this Deposit
depositStatusTypeDepositStatusTypetrue

StatusType of this Deposit

reservationRoomStaySummaryReservationRoomStaySummaryfalse
reservationSummaryReservationSummaryfalse
reservationGroupReservationGroupfalse

JSON representation

{
      "id": 2,
      "name": "dcb58",
      "company": null,
      "customer": {
        "id": 8,
        "name": "Antonio Bérengère Chapman"
      },
      "travelAgent": null,
      "productCONModel": {
		"code":"DEP10",
        "id": 519,
        "name": "Deposit 10"
      },
      "consumptionDate": "2019-02-07",
      "price": 311,
      "spent": 0,
      "remaining": 0,
      "currency": {
		"id": 1,
        "code": "EUR",
        "name": "Euro"
      },
      "depositStatusType": {
		"id": 1,
        "name": "Pending Payment",
        "code": "PENPAY"
      },
	  "reservationRoomStaySummary": null,
	  "reservationSummary": null,
	  "reservationGroup": null
    }
  • No labels