ExtraCostCondition
Conditions applicable for extra cost
seasonApplicable object
Season for which extra cost is applicable
onlyApplicableFromstring<date>
Only applicable from date
Example:
2020-08-01onlyApplicableUntilstring<date>
Only applicable until date
Example:
2021-04-30numberOfNights object
Extra cost only applicable if lengthOfStay shorter than
fromStayLengthInNightsinteger<int32>
Based on the length of stay, applicable from night
Example:
1toStayLengthInNightsinteger<int32>
Based on the length of stay, applicable until night
Example:
7ExtraCostCondition
{
"seasonApplicable": {
"onlyApplicableFrom": "2020-08-01",
"onlyApplicableUntil": "2021-04-30"
},
"numberOfNights": {
"fromStayLengthInNights": 1,
"toStayLengthInNights": 7
}
}