# RatePlans

Multiple ancestors
`RatePlans` can be a descendant of:

* [OTA_HotelProductNotifRQ](/connectivity/docs/api-reference/ota_hotelproductnotifrq)
* [OTA_HotelRatePlanNotifRQ](/connectivity/docs/api-reference/ota_hotelrateplannotifrq)
* [RoomStay](/connectivity/docs/api-reference/roomstay)


## [OTA_HotelProductNotifRQ](/connectivity/docs/api-reference/ota_hotelproductnotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [HotelProduct](/connectivity/docs/api-reference/hotelproduct)/`RatePlans` | Rate plans in the product. | array of [RatePlan](/connectivity/docs/api-reference/rateplan) | 1..1 | - |
| `RatePlans`/[RatePlan](/connectivity/docs/api-reference/rateplan) | Rate plans details. | object | 0..* | - |


### XML


```xml
<RatePlans>
  <RatePlan ... />
  <RatePlan ... />
</RatePlans>
```

## [OTA_HotelRatePlanNotifRQ](/connectivity/docs/api-reference/ota_hotelrateplannotifrq)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [OTA_HotelRatePlanNotifRQ](/connectivity/docs/api-reference/ota_hotelrateplannotifrq)/`RatePlans` | - | array of [RatePlan](/connectivity/docs/api-reference/rateplan) | 1..1 | - |
| `RatePlans`/`@HotelCode` | The Booking.com property ID. | string | 1..1 | - |


### XML


```xml
<RatePlans
  HotelCode="123456" >
  <RatePlan ... >
    ...
  </RatePlan>
  <RatePlan ... >
    ...
  </RatePlan>
</RatePlans>
```

## [RoomStay](/connectivity/docs/api-reference/roomstay)

### Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [RoomStay](/connectivity/docs/api-reference/roomstay)/`RatePlans` | [Rate plans](/connectivity/docs/ota-hotelrateplannotif) associated with the current [RoomStay](/connectivity/docs/api-reference/roomstay). | array of [RatePlan](/connectivity/docs/api-reference/rateplan) | 1..1 | - |
| `RatePlans`/[RatePlan](/connectivity/docs/api-reference/rateplan) | Container for [Commission](/connectivity/docs/api-reference/commission). | object | 0..* | - |


### XML


```xml
<RatePlans>
   <RatePlan>
      ...
   </RatePlan>
</RatePlans>
```

## Related endpoints

* [/ota/OTA_HotelProductNotif](/connectivity/docs/ota-hotelproductnotif)
* [/ota/OTA_HotelRatePlanNotif](/connectivity/docs/ota-hotelrateplannotif)