new HotelRate()
- Since:
-
- 1.0.0
Properties:
| Name | Type | Argument | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
code |
string | Code |
|||||||||||||
date |
object |
<optional> |
Check-in/out dates Properties
|
||||||||||||
name |
string | Name |
|||||||||||||
price |
string | Price including tax, in merchant currency |
|||||||||||||
priceDetail |
PriceDetail | Price details, unknown if not specified. The breakdown property may be empty when querying rates; it will not be empty when querying rateRule. |
|||||||||||||
benefit |
HotelBenefit |
<optional> |
Benefit |
||||||||||||
commission |
Commission |
<optional> |
Channel-level commission information |
||||||||||||
acceptedPaymentTypes |
Array.<string> | Accepted payment types. See Payment.type |
|||||||||||||
cancellation |
HotelCancellation |
<optional> |
Cancellation policy |
||||||||||||
cancellationPrepay |
HotelCancellation |
<optional> |
Cancellation policy for prepayment (usually stricter) |
||||||||||||
breakfast |
object |
<optional> |
Breakfast. One serving for one adult; two servings for two or more adults. Properties
|
||||||||||||
discount |
object |
<optional> |
Discount !!! experimental field, subject to change, do not use in production !!! Properties
|