ReservationRoomStayService

Structure

FieldTypeRequiredDescription
idinttrueUnique identifier.

service

Servicetrue

startDate

datetrueStart date of the service.

endDate

datetrueEnd date of the service.

quantity

inttrueQuantity of services.
totalAmountAfterTaxbigDecimaltrueTotal amount of this ReservationRoomStayService after tax applied.
totalAmountBeforeTaxbigDecimaltrueTotal amount of this ReservationRoomStayService before tax applied.

reservationRoomStayServiceDailyList

Array of 

ReservationRoomStayServiceDaily

true

JSON representation

{
	"id": 2,
	"service": {
		"id": 64,
		"code": "BED",
		"name": "Extra Bed"
	},
	"startDate": "2021-03-17",
	"endDate": "2021-03-19",
	"quantity": 1,
	"totalAmountAfterTax": 86.000000,
	"totalAmountBeforeTax": 129.000000,
	"productChargeQuantityType": {
    	"id": 1,
        "code": "RES",
        "name": "By ReservationRoomStay",
        "nameI18n": "By ReservationRoomStay"
    },
	"reservationRoomStayServiceDailyList": [{
			"id": 3,
			"date": "2021-03-18",
			"rate": null,
			"amountBeforeTax": 39.090909,
			"amountAfterTax": 43.000000,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro",
				"nameI18n": "Euro",
				"symbol": "€",
				"decimalPlaces": 2
			},
			"offer": null,
			"offerAmountDiscount": null,
			"offerPercentDiscount": null,
			"promotion": null,
			"promotionAmountDiscount": null,
			"promotionPercentDiscount": null,
			"bookerPercentageCommission": null,
			"bookerAmountCommission": null,
			"billToPercentageCommission": null,
			"billToAmountCommission": null,
			"billToPercentageDiscount": null,
			"billToAmountDiscount": null,
			"centralPercentageCommission": null,
			"centralAmountCommission": null,
			"companyPercentageCommission": null,
			"companyAmountCommission": null,
			"postingDate": null
		},
		{
			"id": 4,
			"date": "2021-03-17",
			"rate": null,
			"amountBeforeTax": 39.090909,
			"amountAfterTax": 43.000000,
			"currency": {
				"id": 1,
				"code": "EUR",
				"name": "Euro",
				"nameI18n": "Euro",
				"symbol": "€",
				"decimalPlaces": 2
			},
			"offer": null,
			"offerAmountDiscount": null,
			"offerPercentDiscount": null,
			"promotion": null,
			"promotionAmountDiscount": null,
			"promotionPercentDiscount": null,
			"bookerPercentageCommission": null,
			"bookerAmountCommission": null,
			"billToPercentageCommission": null,
			"billToAmountCommission": null,
			"billToPercentageDiscount": null,
			"billToAmountDiscount": null,
			"centralPercentageCommission": null,
			"centralAmountCommission": null,
			"companyPercentageCommission": null,
			"companyAmountCommission": null,
			"postingDate": null
		}
	]
}