quicktravel_client 3.6.1 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +4 -2
- data/CHANGELOG.md +12 -3
- data/README.md +1 -1
- data/lib/quick_travel.rb +2 -0
- data/lib/quick_travel/adapter.rb +8 -58
- data/lib/quick_travel/address.rb +4 -2
- data/lib/quick_travel/adjustment.rb +3 -2
- data/lib/quick_travel/background_check.rb +4 -2
- data/lib/quick_travel/bed_configuration.rb +3 -2
- data/lib/quick_travel/bed_requirement.rb +3 -2
- data/lib/quick_travel/booking.rb +10 -1
- data/lib/quick_travel/checkout.rb +1 -1
- data/lib/quick_travel/client.rb +3 -2
- data/lib/quick_travel/contact.rb +4 -1
- data/lib/quick_travel/init_from_hash.rb +54 -1
- data/lib/quick_travel/passenger.rb +7 -2
- data/lib/quick_travel/passenger_price_break.rb +3 -2
- data/lib/quick_travel/passenger_split.rb +5 -0
- data/lib/quick_travel/property.rb +2 -1
- data/lib/quick_travel/property_facility.rb +3 -2
- data/lib/quick_travel/reservation.rb +4 -0
- data/lib/quick_travel/resource.rb +11 -2
- data/lib/quick_travel/resource_category.rb +5 -1
- data/lib/quick_travel/resource_group.rb +9 -0
- data/lib/quick_travel/room_facility.rb +3 -2
- data/lib/quick_travel/route_stop.rb +11 -2
- data/lib/quick_travel/service.rb +3 -2
- data/lib/quick_travel/version.rb +1 -1
- data/quicktravel_client.gemspec +2 -1
- data/spec/adapter_spec.rb +2 -2
- data/spec/booking_spec.rb +14 -6
- data/spec/checkout_spec.rb +182 -0
- data/spec/product_spec.rb +5 -5
- data/spec/region_spec.rb +2 -2
- data/spec/reservation_spec.rb +2 -6
- data/spec/support/cassettes/accommodation_reserve.yml +109 -51
- data/spec/support/cassettes/basic_product_scheduled_trips.yml +19 -33
- data/spec/support/cassettes/basic_product_scheduled_trips_multi_sector.yml +19 -27
- data/spec/support/cassettes/basic_product_scheduled_trips_unbookable.yml +9 -11
- data/spec/support/cassettes/booking_activate.yml +25 -28
- data/spec/support/cassettes/booking_cancel.yml +25 -28
- data/spec/support/cassettes/booking_create.yml +14 -15
- data/spec/support/cassettes/booking_create_accommodation.yml +62 -0
- data/spec/support/cassettes/booking_documents.yml +9 -11
- data/spec/support/cassettes/booking_non_existant.yml +8 -10
- data/spec/support/cassettes/booking_price_changes.yml +19 -17
- data/spec/support/cassettes/booking_show.yml +13 -14
- data/spec/support/cassettes/booking_update.yml +25 -27
- data/spec/support/cassettes/booking_with_documents.yml +35 -36
- data/spec/support/cassettes/booking_with_nested_attributes.yml +61 -61
- data/spec/support/cassettes/booking_with_price_changes.yml +27 -26
- data/spec/support/cassettes/checkout_client_token.yml +11 -13
- data/spec/support/cassettes/countries.yml +15 -93
- data/spec/support/cassettes/country_all.yml +15 -93
- data/spec/support/cassettes/create_reservation_fail.yml +8 -10
- data/spec/support/cassettes/create_reservation_with_booking.yml +15 -16
- data/spec/support/cassettes/locations.yml +12 -14
- data/spec/support/cassettes/opal_modern_pay_failed_booking.yml +62 -0
- data/spec/support/cassettes/opal_modern_pay_failed_create.yml +59 -0
- data/spec/support/cassettes/opal_modern_pay_failed_update.yml +57 -0
- data/spec/support/cassettes/opal_modern_pay_successful_booking.yml +62 -0
- data/spec/support/cassettes/opal_modern_pay_successful_response.yml +59 -0
- data/spec/support/cassettes/opal_modern_pay_successful_update_response.yml +59 -0
- data/spec/support/cassettes/opal_pay.yml +59 -0
- data/spec/support/cassettes/opal_pay_booking.yml +62 -0
- data/spec/support/cassettes/passenger_all.yml +11 -13
- data/spec/support/cassettes/payment_info.yml +9 -11
- data/spec/support/cassettes/price_quote.yml +17 -21
- data/spec/support/cassettes/product_date_range_bookability.yml +32 -48
- data/spec/support/cassettes/product_show.yml +13 -17
- data/spec/support/cassettes/product_show_as_agent.yml +14 -22
- data/spec/support/cassettes/product_type_all.yml +16 -14
- data/spec/support/cassettes/product_type_resource_categories.yml +9 -11
- data/spec/support/cassettes/product_type_resource_categories_tickets.yml +12 -14
- data/spec/support/cassettes/product_type_routes.yml +14 -16
- data/spec/support/cassettes/property.yml +16 -18
- data/spec/support/cassettes/property_types.yml +12 -14
- data/spec/support/cassettes/region_show.yml +11 -13
- data/spec/support/cassettes/reservation_resource.yml +62 -0
- data/spec/support/cassettes/reservation_with_extra_picks.yml +54 -60
- data/spec/support/cassettes/resource_category_all.yml +12 -14
- data/spec/support/cassettes/resource_category_all_for_product_type_8.yml +11 -13
- data/spec/support/cassettes/resource_fare_bases.yml +18 -23
- data/spec/support/cassettes/resource_show.yml +15 -17
- data/spec/support/cassettes/resource_with_price.yml +16 -18
- data/spec/support/cassettes/settings_basic.yml +9 -11
- data/spec/support/cassettes/tenant_switcher.yml +31 -27
- data/spec/support/cassettes/wrong_url.yml +25 -46
- data/spec/support/coverage_loader.rb +1 -1
- metadata +43 -7
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"048fff46bbe2ed2ec978ad8eeef9c668"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 0d9649ce-6d5b-45b9-8ef1-3765fbdea2f6
|
29
27
|
X-Runtime:
|
30
|
-
- '1.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '1.966337'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:28 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,84 +45,70 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '15782'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=Y2pna2NlWHQ1MCsyUzJCNkpGMWd1aEJuc2lyYWpneFV4WEgyQXRlMjRvaExYVHl0NG9Oa25Td3BnUkNWVlcwM1djeUtHMFdrY01TTm1pNHdVQlVpYm15V2Uyb09sK3piR3IxYVlRRkhoM0U9LS1VeHpMclhaV25wYUZZU0p3V2xjdi9BPT0%3D--4f51ee60b95c32a482168eaff3f683c7784db85a;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"resource":{"id":3,"name":"QBE Travel Insurance - Policy E"},"bookability":{"2016-03-01":{"available":true,"availability_details":{"available":true,"capacity":
|
59
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
56
|
+
string: '[{"resource":{"id":3,"name":"QBE Travel Insurance - Policy E"},"bookability":{"2016-03-01":{"available":true,"availability_details":{"available":true,"capacity":1,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
60
57
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
61
58
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
62
|
-
E","error_message":null},"2016-03-02":{"available":true,"availability_details":{"available":true,"capacity":
|
63
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
59
|
+
E","error_message":null},"2016-03-02":{"available":true,"availability_details":{"available":true,"capacity":1,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
64
60
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
65
61
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
66
|
-
E","error_message":null},"2016-03-03":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
67
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
62
|
+
E","error_message":null},"2016-03-03":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
68
63
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
69
64
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
70
|
-
E","error_message":"No services setup"},"2016-03-04":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
71
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
65
|
+
E","error_message":"No services setup"},"2016-03-04":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
72
66
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
73
67
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
74
|
-
E","error_message":"No services setup"},"2016-03-05":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
75
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
68
|
+
E","error_message":"No services setup"},"2016-03-05":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
76
69
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
77
70
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
78
|
-
E","error_message":"No services setup"},"2016-03-06":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
79
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
71
|
+
E","error_message":"No services setup"},"2016-03-06":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
80
72
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
81
73
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
82
|
-
E","error_message":"No services setup"},"2016-03-07":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
83
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
74
|
+
E","error_message":"No services setup"},"2016-03-07":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
84
75
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"QBE
|
85
76
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
86
77
|
E","error_message":"No services setup"}}},{"resource":{"id":4,"name":"Travel
|
87
|
-
Insurance - Declined"},"bookability":{"2016-03-01":{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
88
|
-
Insurance - Declined","description":"Travel Insurance - Declined","error_message":null},"2016-03-02":{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
89
|
-
Insurance - Declined","description":"Travel Insurance - Declined","error_message":null},"2016-03-03":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
78
|
+
Insurance - Declined"},"bookability":{"2016-03-01":{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
79
|
+
Insurance - Declined","description":"Travel Insurance - Declined","error_message":null},"2016-03-02":{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
80
|
+
Insurance - Declined","description":"Travel Insurance - Declined","error_message":null},"2016-03-03":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
90
81
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":"No
|
91
|
-
services setup"},"2016-03-04":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
82
|
+
services setup"},"2016-03-04":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
92
83
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":"No
|
93
|
-
services setup"},"2016-03-05":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
84
|
+
services setup"},"2016-03-05":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
94
85
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":"No
|
95
|
-
services setup"},"2016-03-06":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
86
|
+
services setup"},"2016-03-06":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
96
87
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":"No
|
97
|
-
services setup"},"2016-03-07":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
88
|
+
services setup"},"2016-03-07":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":3000,"2":0},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Travel
|
98
89
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":"No
|
99
|
-
services setup"}}},{"resource":{"id":6,"name":"Executive Room"},"bookability":{"2016-03-01":{"available":false,"availability_details":{"available":false,"capacity":2,"available_capacity":
|
100
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
90
|
+
services setup"}}},{"resource":{"id":6,"name":"Executive Room"},"bookability":{"2016-03-01":{"available":false,"availability_details":{"available":false,"capacity":2,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
101
91
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
102
92
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
103
|
-
reserve more than 2 passengers in
|
104
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
93
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"},"2016-03-02":{"available":false,"availability_details":{"available":false,"capacity":2,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
105
94
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
106
95
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
107
|
-
reserve more than 2 passengers in
|
108
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
96
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"},"2016-03-03":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
109
97
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
110
98
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
111
|
-
reserve more than 2 passengers in
|
112
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
99
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"},"2016-03-04":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
113
100
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
114
101
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
115
|
-
reserve more than 2 passengers in
|
116
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
102
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"},"2016-03-05":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
117
103
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
118
104
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
119
|
-
reserve more than 2 passengers in
|
120
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
105
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"},"2016-03-06":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
121
106
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
122
107
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
123
|
-
reserve more than 2 passengers in
|
124
|
-
Off","gross":{"_type":"Money","_value":-12500},"gross_in_cents":-12500}],"total_adjustments":{"_type":"Money","_value":-12500},"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"adjustments_to_apply_in_cents":[-12500],"applied_rules":["Test
|
108
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"},"2016-03-07":{"available":false,"availability_details":{"available":false,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":25000},"minimum_price_in_cents":25000,"minimum_price_with_adjustments_in_cents":12500,"total_adjustments_in_cents":-12500,"applied_rules":["Test
|
125
109
|
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"selection_name":"Executive
|
126
110
|
Room","description":"Hilton Hotel - Executive Room","error_message":"Cannot
|
127
|
-
reserve more than 2 passengers in
|
111
|
+
reserve more than 2 passengers in Hilton Hotel - Executive Room"}}}]'
|
128
112
|
http_version:
|
129
|
-
recorded_at:
|
130
|
-
recorded_with: VCR
|
113
|
+
recorded_at: Wed, 21 Mar 2018 04:40:35 GMT
|
114
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"1728c9d08e89efda28c50f0378433dc7"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- d6c0c10e-8c81-46b0-b0f0-ff76baebeb60
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.732135'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:25 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,23 +45,21 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '2108'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=TGFmdHUvb1djR1dDOGRjRDQzU0pqWmFpalNOWDcvdmVRV0hmNnlBdU90djVHMVNEeThFMk1UTnUrWHlPZk01Smk3NU1vU2Vxak1Id2YwdHdaVlBENjU0S29KZGJFSFVYcVdLUThMd2FlWm89LS13Ynh5cDdzaXFPVjdWQ3V0aHR3ZS93PT0%3D--2a6f4ec0b010b69e58aca23ac7fd27eac0830934;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '{"available":true,"availability_details":{"available":true,"capacity":2,"available_capacity":
|
59
|
-
|
60
|
-
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"extras":[{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"price":{"_type":"Money","_value":6000},"pricing_details":{"minimum_price":{"_type":"Money","_value":6000},"minimum_price_with_adjustments":{"_type":"Money","_value":3000},"adjustments_to_apply":[{"description":"50%
|
61
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
56
|
+
string: '{"available":true,"availability_details":{"available":true,"capacity":2,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":40000},"minimum_price_in_cents":40000,"minimum_price_with_adjustments_in_cents":20000,"total_adjustments_in_cents":-20000,"applied_rules":["Test
|
57
|
+
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"extras":[{"available":true,"availability_details":{"available":true,"capacity":1,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
62
58
|
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"extras":[],"selection_name":"QBE
|
63
59
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
64
|
-
E","error_message":null},{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
60
|
+
E","error_message":null},{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"extras":[],"selection_name":"Travel
|
65
61
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":null}],"selection_name":"Executive
|
66
62
|
Room","description":"Hilton Hotel - Executive Room","error_message":null}'
|
67
63
|
http_version:
|
68
|
-
recorded_at:
|
69
|
-
recorded_with: VCR
|
64
|
+
recorded_at: Wed, 21 Mar 2018 04:40:32 GMT
|
65
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"8906c6b376c4d36d43d4b122ac73d367"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- deb239ca-ed6b-4770-876e-ad2d095fb643
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.833342'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:26 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,27 +45,21 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '2689'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=VkorVXAySFdWaVlaQ1hOTmlCb1hJZmxrcFNLUU44Q2E1aHNCMmwrSjlENjZFeWJIeXpYRTdzMjBYRnFGZ241NThoSXpvZk01Yi92UUFSRTFGYVFTREo1SVhLUjdJeEg1QXRjTnhNcFJSckk9LS02cHN6cFVySTJnaHp0bHUzOU0yc3hBPT0%3D--861222141f7892ee33ae2f1d1fe820a44b4e61db;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '{"available":true,"availability_details":{"available":true,"capacity":2,"available_capacity":
|
59
|
-
|
60
|
-
|
61
|
-
Off","gross":{"_type":"Money","_value":-20000},"gross_in_cents":-20000}],"total_adjustments":{"_type":"Money","_value":-20000},"price_per_pax_type":{"":40000},"minimum_price_in_cents":40000,"minimum_price_with_adjustments_in_cents":20000,"total_adjustments_in_cents":-20000,"adjustments_to_apply_in_cents":[-20000],"applied_rules":["Test
|
62
|
-
Discount Hilton"]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"extras":[{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"price":{"_type":"Money","_value":6000},"pricing_details":{"minimum_price":{"_type":"Money","_value":6000},"minimum_price_with_adjustments":{"_type":"Money","_value":3000},"adjustments_to_apply":[{"description":"50%
|
63
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
64
|
-
Get Me"]},"pricing_details_for_rack_rate":{"minimum_price":{"_type":"Money","_value":6000},"minimum_price_with_adjustments":{"_type":"Money","_value":3000},"adjustments_to_apply":[{"description":"50%
|
65
|
-
Off","gross":{"_type":"Money","_value":-3000},"gross_in_cents":-3000}],"total_adjustments":{"_type":"Money","_value":-3000},"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"adjustments_to_apply_in_cents":[-3000],"applied_rules":["QBE
|
66
|
-
Get Me"]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"extras":[],"selection_name":"QBE
|
56
|
+
string: '{"available":true,"availability_details":{"available":true,"capacity":2,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":0,"pricing_details":{"price_per_pax_type":{"":40000},"minimum_price_in_cents":40000,"minimum_price_with_adjustments_in_cents":20000,"total_adjustments_in_cents":-20000,"applied_rules":["Test
|
57
|
+
Discount Hilton"]},"pricing_details_for_rack_rate":{"price_per_pax_type":{"":40000},"minimum_price_in_cents":40000,"minimum_price_with_adjustments_in_cents":40000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":6},"resource_class_name_underscore":"accommodation","product_name_underscore":"accommodation","image":{"url":"/assets/default-icon.png","desc":""},"extras":[{"available":true,"availability_details":{"available":true,"capacity":1,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":3000,"total_adjustments_in_cents":-3000,"applied_rules":["QBE
|
58
|
+
Get Me"]},"pricing_details_for_rack_rate":{"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":3},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"extras":[],"selection_name":"QBE
|
67
59
|
Travel Insurance - Policy E","description":"QBE Travel Insurance - Policy
|
68
|
-
E","error_message":null},{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"
|
60
|
+
E","error_message":null},{"available":true,"availability_details":{"available":true,"capacity":null,"available_capacity":null,"master_capacity":null,"master_available_capacity":null,"unavailable_type":null},"inventory_type":1,"pricing_details":{"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"pricing_details_for_rack_rate":{"price_per_pax_type":{"1":6000},"minimum_price_in_cents":6000,"minimum_price_with_adjustments_in_cents":6000,"total_adjustments_in_cents":0,"applied_rules":[]},"reservation_attributes":{"resource_id":4},"resource_class_name_underscore":"insurance","product_name_underscore":"travel_insurance","image":{"url":"/assets/default-icon.png","desc":""},"extras":[],"selection_name":"Travel
|
69
61
|
Insurance - Declined","description":"Travel Insurance - Declined","error_message":null}],"selection_name":"Executive
|
70
62
|
Room","description":"Hilton Hotel - Executive Room","error_message":null}'
|
71
63
|
http_version:
|
72
|
-
recorded_at:
|
73
|
-
recorded_with: VCR
|
64
|
+
recorded_at: Wed, 21 Mar 2018 04:40:33 GMT
|
65
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"1fe4427aa58b4d56ec64723a80cfd66d"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- b6cc538a-4bd6-46fc-87e0-f3fcb7cc58cf
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.174082'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:28 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,17 +45,21 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '5426'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=WUJ0ZHJaMW1nU1VuUEhtcjhUSVlJZVJ5d3BiZW53RUxITEpnVHVma1NncCs1czBKZktPNmZMT0E2YU1IMEJqa3ZLQU1yaEVUSmx3TERhd3BjYkZ5UE1BdkZCY2hXMkdRanIvdXdRY2xqNW89LS1XcmdLZHhhY1dPU200ZFVvSmtyNE1RPT0%3D--346a42c650961415e88a273b209cc75203de9af2;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
56
|
string: '[{"id":1,"name":"Ferry","resource_class_name":"Ship","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":2,"name":"Accommodation","resource_class_name":"Accommodation","disclaimer_id":null,"durational":true,"can_find_by_location":true,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":3,"name":"Flight","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":4,"name":"Item","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":5,"name":"Ticket","resource_class_name":"Item","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":null,"maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":null,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":6,"name":"Mainland
|
59
|
-
Coach Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":
|
60
|
-
Insurance","resource_class_name":"Insurance","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
57
|
+
Coach Transfers","resource_class_name":"ScheduledTripResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":true,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr","notes_for_vendor","vendor_staff","note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true},{"id":7,"name":"Travel
|
58
|
+
Insurance","resource_class_name":"Insurance","disclaimer_id":null,"durational":true,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":["pick_up_information","drop_off_information","vendor_pnr
|
59
|
+
notes_for_vendor","vendor_staff note_for_inventory_type_change"],"only_bookable_with_accommodation":false,"footer_itinerary_item":true,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":false},{"id":8,"name":"Merchandise","resource_class_name":"Item","disclaimer_id":1,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":false,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":"''---\n -
|
60
|
+
reservation_group_id\n - trip_name departure_time\n - pick_up_information\n -
|
61
|
+
drop_off_information\n - vendor_pnr\n - notes_for_vendor\n - vendor_staff\n -
|
62
|
+
note_for_inventory_type_change''\n","only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":false,"can_have_quantity":true,"can_have_dates":false,"needs_passengers":false},{"id":9,"name":"Cruise","resource_class_name":"GenericResource","disclaimer_id":null,"durational":false,"can_find_by_location":false,"measure_units_by_pax_count":true,"multi_leg":false,"prompt_for_pick_up_drop_off":false,"book_before_level":null,"book_before_units":"seconds","maximum_passengers_online":null,"confirmation_request_fields":[],"only_bookable_with_accommodation":false,"footer_itinerary_item":false,"created_at":null,"updated_at":null,"code":null,"needs_services":true,"can_have_quantity":false,"can_have_dates":true,"needs_passengers":true}]'
|
61
63
|
http_version:
|
62
|
-
recorded_at:
|
63
|
-
recorded_with: VCR
|
64
|
+
recorded_at: Wed, 21 Mar 2018 04:40:35 GMT
|
65
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 6551d2a8-5997-487d-9d11-d297a5a8349b
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.130342'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:28 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -51,11 +49,11 @@ http_interactions:
|
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=ZUJPRHB6cEVCU0M1QmhIdU54WExkdlVZcUowMEtpN1VnenpBck9JSkFPVmRsUE9kWmZ0dnpvR3hPUXl0U0NxSEp4dklDWXdBZ0RiZEUweFZBUEN3SVlrQTRhZUIxVnc4TXltQlR4d1RjNDQ9LS1Zekk0TjdFdkx0TnFZTUdQS2tIR0JRPT0%3D--6fbdde6e8a269b3617d8ecfad647ce438127e94d;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
56
|
string: "[]"
|
59
57
|
http_version:
|
60
|
-
recorded_at:
|
61
|
-
recorded_with: VCR
|
58
|
+
recorded_at: Wed, 21 Mar 2018 04:40:35 GMT
|
59
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"3b463d79f48c515bd0ed3e6b755d1d4b"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- 675b8a20-1deb-4b15-9f4b-f14d49a319e2
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.170937'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:29 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,16 +45,16 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '240'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=YWQvaFpNMWUxVUV5ZXdkT1dDVkFBTlRWMmJIY3ZiUFkzNUVjWHdpUFl3K1ExbWxLYVBxWWM3UFk5L0c0aVRBWVc3NElQSEhsRG5qK3MvRWVTS2RRM1VSSVFDWEFrNWZpbEVDeTIyWFFtaTA9LS1mQmxkUUN6ZUdzS2lrYWhERU1hbCt3PT0%3D--91270029e9b9fb0b3b89c0396fde8e01c3b87aca;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"
|
59
|
-
Trip","
|
56
|
+
string: '[{"id":1,"name":"Common","description":null,"product_type_id":5,"created_at":null,"updated_at":null,"position":null},{"id":2,"name":"Multiple
|
57
|
+
Trip","description":null,"product_type_id":5,"created_at":null,"updated_at":null,"position":null}]'
|
60
58
|
http_version:
|
61
|
-
recorded_at:
|
62
|
-
recorded_with: VCR
|
59
|
+
recorded_at: Wed, 21 Mar 2018 04:40:36 GMT
|
60
|
+
recorded_with: VCR 4.0.0
|
@@ -18,22 +18,20 @@ http_interactions:
|
|
18
18
|
- CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
|
19
19
|
Content-Type:
|
20
20
|
- application/json; charset=utf-8
|
21
|
-
X-Ua-Compatible:
|
22
|
-
- IE=Edge,chrome=1
|
23
21
|
Etag:
|
24
|
-
-
|
22
|
+
- W/"081240e8bd7d85593c37e53d9a7fe909"
|
25
23
|
Cache-Control:
|
26
24
|
- max-age=0, private, must-revalidate
|
27
25
|
X-Request-Id:
|
28
|
-
-
|
26
|
+
- ad02598b-0ee7-44c7-99d3-6fa0911b0afc
|
29
27
|
X-Runtime:
|
30
|
-
- '0.
|
31
|
-
Vary:
|
32
|
-
- Origin
|
28
|
+
- '0.205286'
|
33
29
|
Date:
|
34
|
-
- Fri, 01 Jan 2016 02:32:
|
30
|
+
- Fri, 01 Jan 2016 02:32:29 GMT
|
35
31
|
X-Rack-Cache:
|
36
32
|
- miss
|
33
|
+
Vary:
|
34
|
+
- Origin
|
37
35
|
X-Content-Type-Options:
|
38
36
|
- nosniff
|
39
37
|
X-Download-Options:
|
@@ -47,19 +45,19 @@ http_interactions:
|
|
47
45
|
Server:
|
48
46
|
- WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
|
49
47
|
Content-Length:
|
50
|
-
- '
|
48
|
+
- '973'
|
51
49
|
Connection:
|
52
50
|
- Keep-Alive
|
53
51
|
Set-Cookie:
|
54
|
-
-
|
52
|
+
- _session_id=VWF0WTF0VFhKTzU2WUYzWmNhNE03cklsT0lOZVZXTWFJMmNLanVrZWhWR0hTS0lGZmc3aFBKNVNIbEZOSFR6bllKRm9LbUMwZnVJeFRHM01ZYnJUWkpmZTYrUmthUU1HSlFiNjRmaW1ZVVE9LS13ejBEeTNLMkZCblBYMlpPeXp1TXBnPT0%3D--6370f8b2d929f4322ed873c456133fefb4bf6cdf;
|
55
53
|
path=/; HttpOnly
|
56
54
|
body:
|
57
55
|
encoding: UTF-8
|
58
|
-
string: '[{"id":1,"product_type_id":1,"reverse_id":2,"position":1,"created_at":
|
59
|
-
Kangaroo Island","path":"Cape Jervis to Penneshaw","route_stops":[{"id":1,"inventory_controlled":true,"route_id":1,"position":1,"created_at":
|
60
|
-
Jervis","code":"CPJ","address":""},{"id":2,"inventory_controlled":true,"route_id":1,"position":2,"created_at":
|
61
|
-
Kangaroo Island","path":"Penneshaw to Cape Jervis","route_stops":[{"id":3,"inventory_controlled":true,"route_id":2,"position":1,"created_at":
|
56
|
+
string: '[{"id":1,"product_type_id":1,"reverse_id":2,"position":1,"created_at":null,"updated_at":null,"name":"To
|
57
|
+
Kangaroo Island","path":"Cape Jervis to Penneshaw","route_stops":[{"id":1,"inventory_controlled":true,"route_id":1,"position":1,"created_at":null,"updated_at":null,"stop_id":1,"name":"Cape
|
58
|
+
Jervis","code":"CPJ","address":""},{"id":2,"inventory_controlled":true,"route_id":1,"position":2,"created_at":null,"updated_at":null,"stop_id":2,"name":"Penneshaw","code":"PEN","address":""}]},{"id":2,"product_type_id":1,"reverse_id":1,"position":2,"created_at":null,"updated_at":null,"name":"From
|
59
|
+
Kangaroo Island","path":"Penneshaw to Cape Jervis","route_stops":[{"id":3,"inventory_controlled":true,"route_id":2,"position":1,"created_at":null,"updated_at":null,"stop_id":2,"name":"Penneshaw","code":"PEN","address":""},{"id":4,"inventory_controlled":true,"route_id":2,"position":2,"created_at":null,"updated_at":null,"stop_id":1,"name":"Cape
|
62
60
|
Jervis","code":"CPJ","address":""}]}]'
|
63
61
|
http_version:
|
64
|
-
recorded_at:
|
65
|
-
recorded_with: VCR
|
62
|
+
recorded_at: Wed, 21 Mar 2018 04:40:36 GMT
|
63
|
+
recorded_with: VCR 4.0.0
|