supplement

Representation of one supplement.

A supplement is an element serves to complete, increase or strengthen a reservation in some point. A supplement will be applied depending of the departure date, age of some of the pax, third person in triple room ...

If a supplement has a negative amount then we must understand it as a discount. The amounts of these discounts will be expressed directly (fixed quantity) or percentage.

attributes

group
[int]

It indicates the group of the supplement.


code
[int]

It indicates the supplement code.


name
[string]

It indicates the supplement name.


startdate
[date:yyyy-mm-dd]

It indicates the start date to apply the supplement.


enddate
[date:yyyy-mm-dd]

It indicates the end date to apply the supplement.


agefrom
[int:years]

It indicates the age (in years) from which the supplement is applied.


ageto
[int:years]

It indicates the age (in years) to which the supplement is applied.


currency
[currency]

It indicates the percent of the supplement.


category
[category]

It indicates the category of the supplement.


percent
[currency]

It indicates the percent of the supplement.


amount
[int]

It indicates the amount of the supplement.