LEs current approach is to combine rooms by rate ids so that we can display standard rates and package rates in the same option tile.
We've noticed that for some searches the same rooms rate id is differen't between standard rates and package rates.
We get rate: 1234 with package: false
We get rate: 1234 with package: true
But sometimes in the response the same rates for a room come back with differen't id so we are unable to combine them.
"id": "334868",
"room_name": "Standard Room, 1 King Bed",
"rates": [
{
"id": "203592073",
"status": "available",
"available_rooms": 2147483647,
"refundable": true,
"member_deal_available": false,
"sale_scenario": {
"package": true,
vs
{
"id": "334868",
"room_name": "Standard Room, 1 King Bed",
"rates": [
{
"id": "381574325",
"status": "available",
"available_rooms": 2147483647,
"refundable": true,
"member_deal_available": false,
"sale_scenario": {
"package": false,