A Lodging object represents lodging information to be sent in with a transaction.
Properties
Property | Type | Description | Example |
---|---|---|---|
duration | Number (integer) | The duration in days of the lodging period. | 1 |
check_in_date | String (YYYY-MM-DD) | The check-in date of the lodging period. | "2024-01-01" |
check_out_date | String (YYYY-MM-DD) | The check-out date of the lodging period. | "2024-01-02" |
room_rate | Number (float) | The rate per day of the lodging period. | 12.34 |
Example
{
"duration": 1,
"check_in_date": "2024-01-01",
"check_out_date": "2024-01-02",
"room_rate": 12.34
}