Deposit

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
refundBigDecimaltrue
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": {
		"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
    }