SupplementInput
Supplement that it can be or its already added to the option returned. Contains all the information about the supplement.
input SupplementInput {
code: String!
name: String
description: String
supplementType: SupplementType!
chargeType: ChargeType!
mandatory: Boolean!
durationType: DurationType
quantity: Int
unit: UnitTimeType
start: String
end: String
resort: ResortInput
price: PriceInput
}
Fields
SupplementInput.code
● String!
non-null scalar
Specifies the supplement code.
SupplementInput.name
● String
scalar
Specifies the supplement name.
SupplementInput.description
● String
scalar
Specifies the supplement description.
SupplementInput.supplementType
● SupplementType!
non-null enum
Indicates the supplement type. Possible types: Fee, Ski_pass, Lessons, Meals, Equipment, Ticket, Transfers, Gla, Activity or Null.
SupplementInput.chargeType
● ChargeType!
non-null enum
Indicates the charge types. We need to know whether the supplements have to be paid when the consumer gets to the hotel or beforehand. Possible charge types: Include or Exclude. When include: this supplement is mandatory and included in the option's price. When exclude: this supplement is not included in the option's price.
SupplementInput.mandatory
● Boolean!
non-null scalar
Indicates if the supplement is mandatory or not. If mandatory, this supplement will be applied to this option. If the chargeType is excluded the customer will have to pay it directly at the hotel.
SupplementInput.durationType
● DurationType
enum
Specifies the duration type. Possible duration types: Range (specified dates) or Open. This field is mandatory for PDI.
SupplementInput.quantity
● Int
scalar
Indicates the quantity of field in the element "unit".
SupplementInput.unit
● UnitTimeType
enum
Indicates the unit type. Possible unit types: Day or Hour.
SupplementInput.start
● String
scalar
Indicates the effective date of the supplement. Format: YYYY-MM-DD
SupplementInput.end
● String
scalar
Indicates the expire date of the supplement. Format: YYYY-MM-DD
SupplementInput.resort
● ResortInput
input
Contains information about the resort
SupplementInput.price
● PriceInput
input
Indicates the supplement price.
Member Of
HotelOneStepBookInput
input ● HotelOneStepQuoteInput
input