Skip to main content

SurchargeInput

Surcharge that it can be or it is already added to the option returned. Contains all the information about the surcharge.

input SurchargeInput {
code: String!
chargeType: ChargeType!
mandatory: Boolean!
price: PriceInput!
description: String
}

Fields​

SurchargeInput.code ● String! non-null scalar​

Indicates the surcharge code.

SurchargeInput.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 surcharge is mandatory and included in the option's price. When exclude: this surcharge is not included in the option's price.

SurchargeInput.mandatory ● Boolean! non-null scalar​

Indicates if the surcharge is mandatory or not. If mandatory, this surcharge will be applied to this option. If the chargeType is excluded the customer will have to pay it directly at the hotel

SurchargeInput.price ● PriceInput! non-null input​

Indicates the surcharge price.

SurchargeInput.description ● String scalar​

Specifies the surcharge description.

Member Of​

HotelOneStepBookInput input ● HotelOneStepQuoteInput input