Skip to main content

Option

Represents an option for a hotel accommodation in search responses.

Properties

NameTypeDescription
FormIdStringInternal field for form test. Not serialized. DO NOT USE!
StatusStatusIndicates the availability status of the option.
PricePriceThe price details associated with the option, including net, gross and minimum selling price.
Price/CurrencyCurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Price/BindingBooleanIndicates whether the price is binding.
Price/NetDoubleThe net price paid by the buyer to the seller.
Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
Price/NetSpecifiedBooleanIndicates whether the net price is explicitly specified.
Price/MinimumSellingPriceDoubleThe minimum selling price.
PaymentTypesArray<PaymentType>Specifies the accepted payment types for the option.
RoomsArray<Room>The list of rooms included with the option, including type, description, and price.
Rooms/OccupancyRefIdIntegerNumeric ID linking this room to its occupancy data in the Occupancy.
Rooms/CodeStringUnique code assigned to this room.
Rooms/DescriptionStringDescription of the room's features or characteristics.
Rooms/RoomPriceRoomPricePricing information for the room, including total price and currency details.
Rooms/RoomPrice/PricePriceThe total price of the room.
Rooms/RoomPrice/Price/CurrencyCurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Rooms/RoomPrice/Price/BindingBooleanIndicates whether the price is binding.
Rooms/RoomPrice/Price/NetDoubleThe net price paid by the buyer to the seller.
Rooms/RoomPrice/Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
Rooms/RoomPrice/Price
NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Rooms/RoomPrice/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Rooms/RoomPrice/PriceBreakdownArray<PriceBreakdown>Breakdown of the room price over specific periods, such as daily rates.
Rooms/RoomPrice/PriceBreakdown
Price
PriceThe price for each day of the room during the specified period.
Rooms/RoomPrice/PriceBreakdown
Price/Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Rooms/RoomPrice/PriceBreakdown
Price/Binding
BooleanIndicates whether the price is binding.
Rooms/RoomPrice/PriceBreakdown
Price/Net
DoubleThe net price paid by the buyer to the seller.
Rooms/RoomPrice/PriceBreakdown
Price/Gross
DoubleThe gross price, which includes the net price and the buyer's commission.
Rooms/RoomPrice/PriceBreakdown
Price/NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Rooms/RoomPrice/PriceBreakdown
Price/MinimumSellingPrice
DoubleThe minimum selling price.
Rooms/RoomPrice/PriceBreakdown
Start
IntegerThe starting day of the pricing period (inclusive).
Rooms/RoomPrice/PriceBreakdown
End
IntegerThe ending day of the pricing period (inclusive).
Rooms/RefundableBooleanIndicates if the room is refundable based on the cancellation policy.
Rooms/RefundableSpecifiedBooleanIndicates whether the refundable status has been explicitly specified.
Rooms/LegacyRoomIdStringLegacy identifier for internal tracking. Automatically generated using OccupancyRefId and Code.
Rooms/UnitsIntegerNumber of units available for this room type.
Rooms/RatePlanRatePlanRate plan associated with this room.
Rooms/RatePlan/CodeStringThe unique code for the rate plan.
Rooms/RatePlan/NameStringThe name of the rate plan.
Rooms/PromotionsArray<Promotion>Promotions or discounts applicable to this room.
Rooms/Promotions/CodeStringThe unique code identifying the promotion.
Rooms/Promotions/NameStringThe name of the promotion.
Rooms/RemarksArray<Remark>Additional remarks or notes about this room.
Rooms/Remarks/RemarkTypeRemarkTypeThe type of the remark, categorized by RemarkType.This specifies the nature or purpose of the remark: Related to the hotel as a whole. Specific to the room being booked. Related to services provided by the accommodation. General remarks not tied to a specific entity.
Rooms/Remarks/TextStringThe text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information.
Rooms/SurchargesArray<Surcharge>Additional surcharges applied to this room.
Rooms/Surcharges/ChargeTypeChargeTypeSpecifies whether the surcharge is included in the room rate or must be paid separately at the property. See ChargeType for possible values.
Rooms/Surcharges/MandatoryBooleanIndicates whether this surcharge is mandatory. Mandatory surcharges, such as government taxes, must always be paid, while optional surcharges may depend on the guest's preferences.
Rooms/Surcharges/DescriptionStringProvides a description of the surcharge, giving context about the type of cost it represents.Examples: "Tourist Tax", "Resort Fee", or "Additional Bed Fee".
Rooms/Surcharges/PricePriceRepresents the price of this surcharge, including the amount and currency. See Price for details about the price structure.
Rooms/Surcharges/Price
Currency
CurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Rooms/Surcharges/Price/BindingBooleanIndicates whether the price is binding.
Rooms/Surcharges/Price/NetDoubleThe net price paid by the buyer to the seller.
Rooms/Surcharges/Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
Rooms/Surcharges/Price
NetSpecified
BooleanIndicates whether the net price is explicitly specified.
Rooms/Surcharges/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Rooms/Surcharges/CodeStringAn optional code that uniquely identifies this surcharge for internal or external reference. This can be useful for tracking specific fees or integrating with supplier systems.
Rooms/CancelPolicyCancelPolicyCancellation policy specific to this room.
Rooms/CancelPolicy/RefundableBooleanIndicates whether the booking is refundable.
Rooms/CancelPolicy
CancelPenalties
Array<CancelPenalty>A collection of penalties that apply if the booking is canceled.
Rooms/CancelPolicy
CancelPenalties/HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
Rooms/CancelPolicy
CancelPenalties/PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
Rooms/CancelPolicy
CancelPenalties/Currency
CurrencySpecifies the currency in which the penalty value is expressed.
Rooms/CancelPolicy
CancelPenalties/Value
DoubleIndicates the value of the penalty.
Rooms/CancelPolicy
CancelPenalties/Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
Rooms/CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.
Rooms/BedsArray<Bed>List of beds available in the room, including types and configurations.
Rooms/Beds/TypeStringThe type of the bed.
Rooms/Beds/DescriptionStringA description of the bed.
Rooms/Beds/CountIntegerThe number of beds of this type in the room.
Rooms/Beds/SharedBooleanIndicates whether the bed is shared.
Rooms/AmenitiesArray<Amenity>Amenities included with this room, such as Wi-Fi or parking.
Rooms/Amenities/CodeStringA unique code that identifies the amenity.
Rooms/Amenities/TypeAmenityTypeThe type of the amenity, defined by AmenityType.
Rooms/Amenities/ValueStringThe value associated with the amenity.
Rooms/Amenities/TextsStringAdditional textual information or description for the amenity.
Rooms/UnitsSpecifiedBooleanIndicates whether the number of units has been explicitly specified.
Rooms/FeaturesArray<Feature>Features or custom attributes of the room, used for specific integrations.
Rooms/Features/CodeStringThe unique code identifying the feature of the room.
ParametersArray<Parameter>Parameters for transferring data between operations, such as from Search to Quote or Quote to Book.
Parameters/KeyIntegerIdentifies the parameter with a numeric key.
Parameters/ValueStringDefines the value associated with the parameter.
Parameters/ParameterTypeParameterTypeSpecifies the type of the parameter (ParameterType), whether it is internal or supplier-related.
Parameters/ImmutableBooleanIndicates whether the parameter remains constant throughout operations (e.g., from Search to Quote and Book). In second searches or quotes, an immutable parameter is used to identify and match the same option.
Parameters/RoomIdIntegerAssociates the parameter with a specific room, identified by its ID.
CancelPolicyOptionCancelPolicyThe cancellation policy associated with the option, detailing penalties and conditions.
CancelPolicy/RefundableBooleanIndicates whether the booking is refundable.
CancelPolicy/CancelPenaltiesArray<CancelPenalty>A collection of penalties that apply if the booking is canceled.
CancelPolicy/CancelPenalties
HoursBefore
IntegerIndicates the number of hours before the check-in date when the penalty becomes applicable.
CancelPolicy/CancelPenalties
PenaltyType
PenaltyTypeSpecifies the type of penalty enforced upon cancellation.
CancelPolicy/CancelPenalties
Currency
CurrencySpecifies the currency in which the penalty value is expressed.
CancelPolicy/CancelPenalties
Value
DoubleIndicates the value of the penalty.
CancelPolicy/CancelPenalties
Deadline
StringSpecifies the absolute deadline for the penalty in UTC format.
CancelPolicy
CancelPolicyDescription
StringProvides additional details or a textual summary of the cancellation policy.
CancelPolicy
RoomCancelPolicyDescriptions
Array<RoomCancelPolicyDescriptions>Gets or sets the list of room-specific cancellation policy descriptions.
CancelPolicy
RoomCancelPolicyDescriptions
OccupancyRefId
IntegerIdentifies the specific occupancy within the booking for which this cancellation policy applies.
CancelPolicy
RoomCancelPolicyDescriptions
Description
StringTextual information detailing the cancellation policy applicable to the room associated with the OccupancyRefId.
PromotionsArray<Promotion>The promotions applied to the option, such as discounts or special offers.
Promotions/CodeStringThe unique code identifying the promotion.
Promotions/NameStringThe name of the promotion.
RateRulesArray<RateRule2>The rate rules for the option, specifying sales restrictions such as "Senior Discount" or "Resident Rate."
RateRules/RateRuleTypeRateRuleSelling restrictions applied to the room. These define specific conditions or eligibility requirements that must be met to sell the room. Possible restrictions include:
RateRules/CodeStringRepresents a unique identifier for the rate rule, typically defined by the supplier.This code is used to reference and distinguish the rule from others.
RateRules/NameStringProvides a human-readable name or label for the rate rule.This name is typically used in user interfaces or reports to describe the rule.
RateRules/RestrictionsArray<Restriction>Defines a collection of additional restrictions that further specify the conditions of the rate rule.Restrictions can include age limits, regional requirements, or special eligibility conditions.
RateRules/Restrictions/CodeStringA unique identifier for the restriction.
RateRules/Restrictions/NameStringA descriptive name for the restriction.
RateRules/Restrictions
RestrictionType
RestrictionTypeThe type of the restriction, categorizing its purpose or application.
RemarksArray<Remark>Additional remarks associated with the option, such as special conditions or information.
Remarks/RemarkTypeRemarkTypeThe type of the remark, categorized by RemarkType.This specifies the nature or purpose of the remark: Related to the hotel as a whole. Specific to the room being booked. Related to services provided by the accommodation. General remarks not tied to a specific entity.
Remarks/TextStringThe text content of the remark, providing details or additional notes.This can include supplier-specific instructions, conditions, or general information.
SurchargesArray<Surcharge>Surcharges applied to the option, such as mandatory fees or taxes.
Surcharges/ChargeTypeChargeTypeSpecifies whether the surcharge is included in the room rate or must be paid separately at the property. See ChargeType for possible values.
Surcharges/MandatoryBooleanIndicates whether this surcharge is mandatory. Mandatory surcharges, such as government taxes, must always be paid, while optional surcharges may depend on the guest's preferences.
Surcharges/DescriptionStringProvides a description of the surcharge, giving context about the type of cost it represents.Examples: "Tourist Tax", "Resort Fee", or "Additional Bed Fee".
Surcharges/PricePriceRepresents the price of this surcharge, including the amount and currency. See Price for details about the price structure.
Surcharges/Price/CurrencyCurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Surcharges/Price/BindingBooleanIndicates whether the price is binding.
Surcharges/Price/NetDoubleThe net price paid by the buyer to the seller.
Surcharges/Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
Surcharges/Price/NetSpecifiedBooleanIndicates whether the net price is explicitly specified.
Surcharges/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Surcharges/CodeStringAn optional code that uniquely identifies this surcharge for internal or external reference. This can be useful for tracking specific fees or integrating with supplier systems.
AmenitiesArray<Amenity>Amenities included with the option, such as "Free Wi-Fi" or "Parking."
Amenities/CodeStringA unique code that identifies the amenity.
Amenities/TypeAmenityTypeThe type of the amenity, defined by AmenityType.
Amenities/ValueStringThe value associated with the amenity.
Amenities/TextsStringAdditional textual information or description for the amenity.
SupplementsArray<Supplement>Supplements available with the option, such as activity passes.
Supplements/CodeStringThe unique code identifying the supplement.
Supplements/NameStringThe descriptive name of the supplement.
Supplements/DescriptionStringAn optional textual description providing additional details about the supplement.
Supplements/MandatoryBooleanIndicates whether the supplement is mandatory for the booking.
Supplements/PricePriceThe Price associated with the supplement, including details such as currency and net price.
Supplements/Price/CurrencyCurrencyThe currency of the price, represented in ISO 4217 format (e.g., USD, EUR).
Supplements/Price/BindingBooleanIndicates whether the price is binding.
Supplements/Price/NetDoubleThe net price paid by the buyer to the seller.
Supplements/Price/GrossDoubleThe gross price, which includes the net price and the buyer's commission.
Supplements/Price/NetSpecifiedBooleanIndicates whether the net price is explicitly specified.
Supplements/Price
MinimumSellingPrice
DoubleThe minimum selling price.
Supplements/SupplementTypeSupplementTypeThe specific SupplementType of the supplement (e.g., meal plan, additional service).
Supplements/ChargeTypeChargeTypeDefines how the supplement is charged using ChargeType (e.g., per person, per stay).
Supplements/DurationTypeDurationTypeSpecifies whether the supplement applies to a specific duration (Open or Range).
Supplements/QuantityIntegerThe quantity of the supplement included in the booking.
Supplements/StartDateStringThe start date for the supplement (if applicable).
Supplements
StartDateAsDateTime
StringThe start date as a DateTime object for easier manipulation.
Supplements/EndDateStringThe end date for the supplement (if applicable).
Supplements/EndDateAsDateTimeStringThe end date as a DateTime object for easier manipulation.
Supplements/ResortResortThe associated Resort where the supplement applies.
Supplements/Resort/CodeStringUnique code that identifies the resort in the system.
Supplements/Resort/NameStringName of the resort.
Supplements/Resort/DescriptionStringOptional description providing additional details about the resort.
Supplements/UnitUnitTimeTypeSpecifies the unit of time for the supplement (e.g., per day, per stay) using UnitTimeType.
AddOnsObjectInternal field for passing additional information across layers.