Skip to main content

ExtraCostCondition

Conditions applicable for extra cost

seasonApplicable object

Season for which extra cost is applicable

onlyApplicableFromstring<date>

Only applicable from date

Example: 2020-08-01
onlyApplicableUntilstring<date>

Only applicable until date

Example: 2021-04-30
numberOfNights object

Extra cost only applicable if lengthOfStay shorter than

fromStayLengthInNightsinteger<int32>

Based on the length of stay, applicable from night

Example: 1
toStayLengthInNightsinteger<int32>

Based on the length of stay, applicable until night

Example: 7
ExtraCostCondition
{
"seasonApplicable": {
"onlyApplicableFrom": "2020-08-01",
"onlyApplicableUntil": "2021-04-30"
},
"numberOfNights": {
"fromStayLengthInNights": 1,
"toStayLengthInNights": 7
}
}