Skip to main content

RateRule2

Represents a rate rule, which defines specific conditions or restrictions associated with a hotel booking option. Rate rules may include eligibility criteria, geographical restrictions, or promotional constraints.

Properties

NameTypeDescription
RateRuleTypeRateRuleSelling restrictions applied to the room. These define specific conditions or eligibility requirements that must be met to sell the room. Possible restrictions include:
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.
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.
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.
Restrictions/CodeStringA unique identifier for the restriction.
Restrictions/NameStringA descriptive name for the restriction.
Restrictions/RestrictionTypeRestrictionTypeThe type of the restriction, categorizing its purpose or application.