Class: HotelRateRule

HotelRateRule

Rate plan and rules

  • When used as a request parameter, only the key node is required

new HotelRateRule()

Properties:
Name Type Argument Description
key string

Keyword

acceptedPaymentTypes Array.<string>

Accepted payment types. See Payment.type

acceptedCreditCardTypes Array.<string>

Accepted credit card types. See CreditCard.type

cancellation HotelCancellation <optional>

Cancellation, based on rate.cancellation and rawDescription.cancellation

cancellationPrepay HotelCancellation <optional>

Cancellation policy for prepayment (usually stricter)

rawDescription object

Raw description. Content is maintained by hotel staff, accurate but may be difficult to read.

Properties
Name Type Description
cancellation string

Cancellation policy

rateDescription string

Rate plan description

roomDetail string

Room detail

Since:
  • 1.0.0