/
PromotionProductOccupancyAvailabilityInterval
PromotionProductOccupancyAvailabilityInterval
Structure
Field | Type | Required | Description |
---|---|---|---|
promotionList | List<Promotion> | false | list of promotion. |
accommodationList | List<Accommodation> | false | list of accommodation. |
intervalList | List<Interval> | false | list of intervals. |
updateClosed | Boolean | false | update closed. |
closed | Boolean | false | closed or open. |
updateMinStay | Boolean | false | update minStay. |
minStay | Integer | false | minStay number of nights. |
updateMaxStay | Boolean | false | update maxStay. |
maxStay | Integer | false | maxStay number of nights. |
updateClosedToArrival | Boolean | false | update closedToArrival. |
closedToArrival | Boolean | false | is closedToArrival. |
updateClosedToDeparture | Boolean | false | update closedToDeparture. |
closedToDeparture | Boolean | false | is closedToDeparture. |
updatePercentDiscount | Boolean | false | update percentDiscount. |
percentDiscount | BigDecimal | false | percent of Discount. |
updateAmountDiscount | Boolean | false | update amountDiscount. |
amountDiscount | BigDecimal | false | import of Discount. |
JSON representation
{ "promotionList":[ {"id":2} ], "closed": false, "closedToArrival": false, "closedToDeparture": false, "maxStay": "5", "minStay": "1", "intervalList": [ { "startDate": "2023-10-23", "endDate": "2023-10-31", "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true }, { "startDate": "2023-11-19", "endDate": "2023-11-30", "monday": true, "tuesday": true, "wednesday": true, "thursday": true, "friday": true, "saturday": true, "sunday": true } ], "accommodationList": [ 692, 707, 722, 737, 752, 767, 782, 797, 812 ], "updateClosed": true, "updateClosedToArrival": true, "updateClosedToDeparture": true, "updateMaxStay": true, "updateMinStay": true }
, multiple selections available,
Related content
OfferProductOccupancyAvailabilityInterval
OfferProductOccupancyAvailabilityInterval
More like this
RateProductOccupancyAvailabilityInterval
RateProductOccupancyAvailabilityInterval
More like this
RateProductOccupancyAvailability
RateProductOccupancyAvailability
More like this
AvailabilityRateAvailability
AvailabilityRateAvailability
More like this
PriceUpdateAccommodation
PriceUpdateAccommodation
More like this
AvailabilityOccupancyBoard
AvailabilityOccupancyBoard
More like this