quicktravel_client 3.6.1 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +5 -5
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +4 -2
  4. data/CHANGELOG.md +12 -3
  5. data/README.md +1 -1
  6. data/lib/quick_travel.rb +2 -0
  7. data/lib/quick_travel/adapter.rb +8 -58
  8. data/lib/quick_travel/address.rb +4 -2
  9. data/lib/quick_travel/adjustment.rb +3 -2
  10. data/lib/quick_travel/background_check.rb +4 -2
  11. data/lib/quick_travel/bed_configuration.rb +3 -2
  12. data/lib/quick_travel/bed_requirement.rb +3 -2
  13. data/lib/quick_travel/booking.rb +10 -1
  14. data/lib/quick_travel/checkout.rb +1 -1
  15. data/lib/quick_travel/client.rb +3 -2
  16. data/lib/quick_travel/contact.rb +4 -1
  17. data/lib/quick_travel/init_from_hash.rb +54 -1
  18. data/lib/quick_travel/passenger.rb +7 -2
  19. data/lib/quick_travel/passenger_price_break.rb +3 -2
  20. data/lib/quick_travel/passenger_split.rb +5 -0
  21. data/lib/quick_travel/property.rb +2 -1
  22. data/lib/quick_travel/property_facility.rb +3 -2
  23. data/lib/quick_travel/reservation.rb +4 -0
  24. data/lib/quick_travel/resource.rb +11 -2
  25. data/lib/quick_travel/resource_category.rb +5 -1
  26. data/lib/quick_travel/resource_group.rb +9 -0
  27. data/lib/quick_travel/room_facility.rb +3 -2
  28. data/lib/quick_travel/route_stop.rb +11 -2
  29. data/lib/quick_travel/service.rb +3 -2
  30. data/lib/quick_travel/version.rb +1 -1
  31. data/quicktravel_client.gemspec +2 -1
  32. data/spec/adapter_spec.rb +2 -2
  33. data/spec/booking_spec.rb +14 -6
  34. data/spec/checkout_spec.rb +182 -0
  35. data/spec/product_spec.rb +5 -5
  36. data/spec/region_spec.rb +2 -2
  37. data/spec/reservation_spec.rb +2 -6
  38. data/spec/support/cassettes/accommodation_reserve.yml +109 -51
  39. data/spec/support/cassettes/basic_product_scheduled_trips.yml +19 -33
  40. data/spec/support/cassettes/basic_product_scheduled_trips_multi_sector.yml +19 -27
  41. data/spec/support/cassettes/basic_product_scheduled_trips_unbookable.yml +9 -11
  42. data/spec/support/cassettes/booking_activate.yml +25 -28
  43. data/spec/support/cassettes/booking_cancel.yml +25 -28
  44. data/spec/support/cassettes/booking_create.yml +14 -15
  45. data/spec/support/cassettes/booking_create_accommodation.yml +62 -0
  46. data/spec/support/cassettes/booking_documents.yml +9 -11
  47. data/spec/support/cassettes/booking_non_existant.yml +8 -10
  48. data/spec/support/cassettes/booking_price_changes.yml +19 -17
  49. data/spec/support/cassettes/booking_show.yml +13 -14
  50. data/spec/support/cassettes/booking_update.yml +25 -27
  51. data/spec/support/cassettes/booking_with_documents.yml +35 -36
  52. data/spec/support/cassettes/booking_with_nested_attributes.yml +61 -61
  53. data/spec/support/cassettes/booking_with_price_changes.yml +27 -26
  54. data/spec/support/cassettes/checkout_client_token.yml +11 -13
  55. data/spec/support/cassettes/countries.yml +15 -93
  56. data/spec/support/cassettes/country_all.yml +15 -93
  57. data/spec/support/cassettes/create_reservation_fail.yml +8 -10
  58. data/spec/support/cassettes/create_reservation_with_booking.yml +15 -16
  59. data/spec/support/cassettes/locations.yml +12 -14
  60. data/spec/support/cassettes/opal_modern_pay_failed_booking.yml +62 -0
  61. data/spec/support/cassettes/opal_modern_pay_failed_create.yml +59 -0
  62. data/spec/support/cassettes/opal_modern_pay_failed_update.yml +57 -0
  63. data/spec/support/cassettes/opal_modern_pay_successful_booking.yml +62 -0
  64. data/spec/support/cassettes/opal_modern_pay_successful_response.yml +59 -0
  65. data/spec/support/cassettes/opal_modern_pay_successful_update_response.yml +59 -0
  66. data/spec/support/cassettes/opal_pay.yml +59 -0
  67. data/spec/support/cassettes/opal_pay_booking.yml +62 -0
  68. data/spec/support/cassettes/passenger_all.yml +11 -13
  69. data/spec/support/cassettes/payment_info.yml +9 -11
  70. data/spec/support/cassettes/price_quote.yml +17 -21
  71. data/spec/support/cassettes/product_date_range_bookability.yml +32 -48
  72. data/spec/support/cassettes/product_show.yml +13 -17
  73. data/spec/support/cassettes/product_show_as_agent.yml +14 -22
  74. data/spec/support/cassettes/product_type_all.yml +16 -14
  75. data/spec/support/cassettes/product_type_resource_categories.yml +9 -11
  76. data/spec/support/cassettes/product_type_resource_categories_tickets.yml +12 -14
  77. data/spec/support/cassettes/product_type_routes.yml +14 -16
  78. data/spec/support/cassettes/property.yml +16 -18
  79. data/spec/support/cassettes/property_types.yml +12 -14
  80. data/spec/support/cassettes/region_show.yml +11 -13
  81. data/spec/support/cassettes/reservation_resource.yml +62 -0
  82. data/spec/support/cassettes/reservation_with_extra_picks.yml +54 -60
  83. data/spec/support/cassettes/resource_category_all.yml +12 -14
  84. data/spec/support/cassettes/resource_category_all_for_product_type_8.yml +11 -13
  85. data/spec/support/cassettes/resource_fare_bases.yml +18 -23
  86. data/spec/support/cassettes/resource_show.yml +15 -17
  87. data/spec/support/cassettes/resource_with_price.yml +16 -18
  88. data/spec/support/cassettes/settings_basic.yml +9 -11
  89. data/spec/support/cassettes/tenant_switcher.yml +31 -27
  90. data/spec/support/cassettes/wrong_url.yml +25 -46
  91. data/spec/support/coverage_loader.rb +1 -1
  92. 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
- - '"3614f3be3466aaf7133ac72313babb3d"'
22
+ - W/"854c76143fb3a7bd219126d1058e639b"
25
23
  Cache-Control:
26
24
  - max-age=0, private, must-revalidate
27
25
  X-Request-Id:
28
- - 4aaa8ad21113c2b935ea363623ea6842
26
+ - f94d8818-f44a-421e-9667-6997e3a3184e
29
27
  X-Runtime:
30
- - '0.392632'
31
- Vary:
32
- - Origin
28
+ - '0.775919'
33
29
  Date:
34
- - Fri, 01 Jan 2016 02:32:37 GMT
30
+ - Fri, 01 Jan 2016 02:32:30 GMT
35
31
  X-Rack-Cache:
36
32
  - invalidate, pass
33
+ Vary:
34
+ - Origin
37
35
  X-Content-Type-Options:
38
36
  - nosniff
39
37
  X-Download-Options:
@@ -47,35 +45,23 @@ http_interactions:
47
45
  Server:
48
46
  - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
49
47
  Content-Length:
50
- - '5528'
48
+ - '4264'
51
49
  Connection:
52
50
  - Keep-Alive
53
51
  Set-Cookie:
54
- - _quick_travel_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTEyMWNhOTc4YmM2Mjg2NDQ3ZjBkZjA1OWFiY2JlYzgxBjsAVEkiCXVzZXIGOwBGaQY%3D--20f11c05a3d416b3c8a1276b2ef7c06ef03bb2cd;
52
+ - _session_id=aFRYTUY5Vk9HalpJWTRLWHo3YnFJTm5rSWUzL3FDcjl2RS8yOGFpTEVFUWlUdGlEQmlnaFNqeUlFeVJXQWZudjFIankyQ3FMZ1VyNDlwMGhvWXAwelMvc1d2bGFFZlQ1b1pkdHJ4eXN5dzA9LS0yVkdTN0Y4VFY1anFTMDdwUlNjVEJnPT0%3D--1b1595c5d82b206e5a76b5110153f99c984cae87;
55
53
  path=/; HttpOnly
56
54
  body:
57
55
  encoding: UTF-8
58
- string: '[{"product_id":"1","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[9],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable_class":"
59
- bookable","bookable":true,"display_text":"","from_label":"from","reason_unbookable":null,"service_notes":null,"booking_notes":null,"adjustment_notes":null,"developer_notes":null,"inventory_type_code":"A","price_in_cents":4000,"total_price_adjustment_in_cents":0,"selection_name":"06:00am
60
- - KI Ferry","input_disabled":"","input_overbook":"","formatted_price":"\u003Cspan
61
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","price":"$40.00","formatted_pre_adjusted_price":"\u003Cspan
62
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","pre_adjusted_price":"$40.00","price_breakdown":"\u003Cspan\u003E\u003Cstrong\u003EPassengers:\u003C/strong\u003E\u0026nbsp;\u003Cspan
63
- class=\"money positive\"\u003E$40.00\u003C/span\u003E\u0026nbsp;\u003C/span\u003E","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":1,"stop_departure_time":"2000-01-01T06:00:00Z","stop_arrival_time":"2000-01-01T06:45:00Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T06:00:00Z","arrival_time":"2000-01-01T06:45:00Z"},{"product_id":"2","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[10],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable_class":"
64
- bookable","bookable":true,"display_text":"","from_label":"from","reason_unbookable":null,"service_notes":null,"booking_notes":null,"adjustment_notes":null,"developer_notes":null,"inventory_type_code":"A","price_in_cents":4000,"total_price_adjustment_in_cents":0,"selection_name":"09:00am
65
- - KI Ferry","input_disabled":"","input_overbook":"","formatted_price":"\u003Cspan
66
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","price":"$40.00","formatted_pre_adjusted_price":"\u003Cspan
67
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","pre_adjusted_price":"$40.00","price_breakdown":"\u003Cspan\u003E\u003Cstrong\u003EPassengers:\u003C/strong\u003E\u0026nbsp;\u003Cspan
68
- class=\"money positive\"\u003E$40.00\u003C/span\u003E\u0026nbsp;\u003C/span\u003E","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":2,"stop_departure_time":"2000-01-01T09:00:00Z","stop_arrival_time":"2000-01-01T09:45:00Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T09:00:00Z","arrival_time":"2000-01-01T09:45:00Z"},{"product_id":"5","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[13],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable_class":"
69
- bookable","bookable":true,"display_text":"","from_label":"from","reason_unbookable":null,"service_notes":null,"booking_notes":null,"adjustment_notes":null,"developer_notes":null,"inventory_type_code":"A","price_in_cents":4000,"total_price_adjustment_in_cents":0,"selection_name":"06:00pm
70
- - KI Ferry","input_disabled":"","input_overbook":"","formatted_price":"\u003Cspan
71
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","price":"$40.00","formatted_pre_adjusted_price":"\u003Cspan
72
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","pre_adjusted_price":"$40.00","price_breakdown":"\u003Cspan\u003E\u003Cstrong\u003EPassengers:\u003C/strong\u003E\u0026nbsp;\u003Cspan
73
- class=\"money positive\"\u003E$40.00\u003C/span\u003E\u0026nbsp;\u003C/span\u003E","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":5,"stop_departure_time":"2000-01-01T18:00:00Z","stop_arrival_time":"2000-01-01T18:45:00Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T18:00:00Z","arrival_time":"2000-01-01T18:45:00Z"},{"product_id":"6","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[14],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable_class":"
74
- bookable","bookable":true,"display_text":"","from_label":"from","reason_unbookable":null,"service_notes":null,"booking_notes":null,"adjustment_notes":null,"developer_notes":null,"inventory_type_code":"A","price_in_cents":4000,"total_price_adjustment_in_cents":0,"selection_name":"09:00pm
75
- - KI Ferry","input_disabled":"","input_overbook":"","formatted_price":"\u003Cspan
76
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","price":"$40.00","formatted_pre_adjusted_price":"\u003Cspan
77
- class=\"money positive\"\u003E$40.00\u003C/span\u003E","pre_adjusted_price":"$40.00","price_breakdown":"\u003Cspan\u003E\u003Cstrong\u003EPassengers:\u003C/strong\u003E\u0026nbsp;\u003Cspan
78
- class=\"money positive\"\u003E$40.00\u003C/span\u003E\u0026nbsp;\u003C/span\u003E","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":6,"stop_departure_time":"2000-01-01T21:00:00Z","stop_arrival_time":"2000-01-01T21:45:00Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T21:00:00Z","arrival_time":"2000-01-01T21:45:00Z"}]'
56
+ string: '[{"product_id":"1","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[9],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":4000,"pre_adjusted_price_in_cents":4000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"06:00am
57
+ - KI Ferry","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan
58
+ class=\"money positive\"\u003e$40.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":1,"stop_departure_time":"2000-01-01T06:00:00.000Z","stop_arrival_time":"2000-01-01T06:45:00.000Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T06:00:00.000Z","arrival_time":"2000-01-01T06:45:00.000Z"},{"product_id":"2","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[10],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":4000,"pre_adjusted_price_in_cents":4000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"09:00am
59
+ - KI Ferry","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan
60
+ class=\"money positive\"\u003e$40.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":2,"stop_departure_time":"2000-01-01T09:00:00.000Z","stop_arrival_time":"2000-01-01T09:45:00.000Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T09:00:00.000Z","arrival_time":"2000-01-01T09:45:00.000Z"},{"product_id":"5","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[13],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":4000,"pre_adjusted_price_in_cents":4000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"06:00pm
61
+ - KI Ferry","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan
62
+ class=\"money positive\"\u003e$40.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":5,"stop_departure_time":"2000-01-01T18:00:00.000Z","stop_arrival_time":"2000-01-01T18:45:00.000Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T18:00:00.000Z","arrival_time":"2000-01-01T18:45:00.000Z"},{"product_id":"6","product_id_field":"trip_id","resource_id":1,"resource_class_name_underscore":"ship","product_name_underscore":"ferry","tariff_level_id":1,"service_ids":[14],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":4000,"pre_adjusted_price_in_cents":4000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"09:00pm
63
+ - KI Ferry","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan
64
+ class=\"money positive\"\u003e$40.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":4000,"price_breakdown_vehicles_in_cents":0,"trip_id":6,"stop_departure_time":"2000-01-01T21:00:00.000Z","stop_arrival_time":"2000-01-01T21:45:00.000Z","from_route_stop_attributes":null,"to_route_stop_attributes":null,"departure_time":"2000-01-01T21:00:00.000Z","arrival_time":"2000-01-01T21:45:00.000Z"}]'
79
65
  http_version:
80
- recorded_at: Fri, 28 Oct 2016 05:28:13 GMT
81
- recorded_with: VCR 3.0.3
66
+ recorded_at: Wed, 21 Mar 2018 04:40:37 GMT
67
+ 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
- - '"05bd5d4d4ef6c4b5d312cad0ed8fc08f"'
22
+ - W/"21bc7368405df99d401d745a726c5d71"
25
23
  Cache-Control:
26
24
  - max-age=0, private, must-revalidate
27
25
  X-Request-Id:
28
- - 67e63e1e224eb5484a402505f341baf2
26
+ - aa068020-2b15-4e22-b8b7-98316c6535dd
29
27
  X-Runtime:
30
- - '0.235456'
31
- Vary:
32
- - Origin
28
+ - '1.328645'
33
29
  Date:
34
- - Fri, 01 Jan 2016 02:32:37 GMT
30
+ - Fri, 01 Jan 2016 02:32:31 GMT
35
31
  X-Rack-Cache:
36
32
  - invalidate, pass
33
+ Vary:
34
+ - Origin
37
35
  X-Content-Type-Options:
38
36
  - nosniff
39
37
  X-Download-Options:
@@ -47,29 +45,23 @@ http_interactions:
47
45
  Server:
48
46
  - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
49
47
  Content-Length:
50
- - '3733'
48
+ - '2915'
51
49
  Connection:
52
50
  - Keep-Alive
53
51
  Set-Cookie:
54
- - _quick_travel_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTZhNDliNGM1YmNhNWFiMjczM2JjODMzMDFkM2U4ZThlBjsAVEkiCXVzZXIGOwBGaQY%3D--7b94523c7f150819b65217849cea43c305f4bbc8;
52
+ - _session_id=ZG9lZCszMmZOYjVQcFhDdXpZRmZMOEZzQTlGQlJTaHRoWkUrZkpUc3dqeWZ2MWs4a08wQmozYkNnM0Y2M0dqWW8reTl0eEtOSk42OXZEQmZjSVo5UTN6allZSUVIU0duaUdzdnlTK2UwbVU9LS1EYmM5clMzN3h0bTdhbmVjY2tYaHFBPT0%3D--042d1d78d0215cbe941bfa1fa05b07ad2f69e583;
55
53
  path=/; HttpOnly
56
54
  body:
57
55
  encoding: UTF-8
58
- string: '[{"product_id":"9","product_id_field":"trip_id","resource_id":2,"resource_class_name_underscore":"scheduled_trip_resource","product_name_underscore":"mainland_coach_transfers","tariff_level_id":1,"service_ids":[25,26,27],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable_class":"
59
- bookable","bookable":true,"display_text":"","from_label":"from","reason_unbookable":null,"service_notes":null,"booking_notes":null,"adjustment_notes":null,"developer_notes":null,"inventory_type_code":"A","price_in_cents":3000,"total_price_adjustment_in_cents":0,"selection_name":"06:45am
60
- - Ferry ConnectionDeparting Adelaide - AM","input_disabled":"","input_overbook":"","formatted_price":"\u003Cspan
61
- class=\"money positive\"\u003E$30.00\u003C/span\u003E","price":"$30.00","formatted_pre_adjusted_price":"\u003Cspan
62
- class=\"money positive\"\u003E$30.00\u003C/span\u003E","pre_adjusted_price":"$30.00","price_breakdown":"\u003Cspan\u003E\u003Cstrong\u003EPassengers:\u003C/strong\u003E\u0026nbsp;\u003Cspan
63
- class=\"money positive\"\u003E$30.00\u003C/span\u003E\u0026nbsp;\u003C/span\u003E","price_breakdown_passengers_in_cents":3000,"price_breakdown_vehicles_in_cents":0,"trip_id":9,"stop_departure_time":"2000-01-01T06:45:00Z","stop_arrival_time":"2000-01-01T08:30:00Z","from_route_stop_attributes":{"id":5,"inventory_controlled":true,"route_id":3,"position":1,"created_at":"2013-03-01T01:49:04+10:30","updated_at":"2013-03-01T01:49:04+10:30","stop_id":3,"name":"Adelaide
64
- Central Bus Station","code":"ACBS"},"to_route_stop_attributes":{"id":14,"inventory_controlled":true,"route_id":3,"position":10,"created_at":"2013-03-01T01:49:04+10:30","updated_at":"2013-03-01T01:49:04+10:30","stop_id":12,"name":"Cape
65
- Jervis Ferry Terminal","code":"CPJ"},"departure_time":"2000-01-01T06:00:00Z","arrival_time":"2000-01-01T08:30:00Z"},{"product_id":"13","product_id_field":"trip_id","resource_id":2,"resource_class_name_underscore":"scheduled_trip_resource","product_name_underscore":"mainland_coach_transfers","tariff_level_id":1,"service_ids":[28,29,30],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable_class":"
66
- bookable","bookable":true,"display_text":"","from_label":"from","reason_unbookable":null,"service_notes":null,"booking_notes":null,"adjustment_notes":null,"developer_notes":null,"inventory_type_code":"A","price_in_cents":3000,"total_price_adjustment_in_cents":0,"selection_name":"03:45pm
67
- - Ferry ConnectionDeparting Adelaide - PM","input_disabled":"","input_overbook":"","formatted_price":"\u003Cspan
68
- class=\"money positive\"\u003E$30.00\u003C/span\u003E","price":"$30.00","formatted_pre_adjusted_price":"\u003Cspan
69
- class=\"money positive\"\u003E$30.00\u003C/span\u003E","pre_adjusted_price":"$30.00","price_breakdown":"\u003Cspan\u003E\u003Cstrong\u003EPassengers:\u003C/strong\u003E\u0026nbsp;\u003Cspan
70
- class=\"money positive\"\u003E$30.00\u003C/span\u003E\u0026nbsp;\u003C/span\u003E","price_breakdown_passengers_in_cents":3000,"price_breakdown_vehicles_in_cents":0,"trip_id":13,"stop_departure_time":"2000-01-01T15:45:00Z","stop_arrival_time":"2000-01-01T17:30:00Z","from_route_stop_attributes":{"id":5,"inventory_controlled":true,"route_id":3,"position":1,"created_at":"2013-03-01T01:49:04+10:30","updated_at":"2013-03-01T01:49:04+10:30","stop_id":3,"name":"Adelaide
71
- Central Bus Station","code":"ACBS"},"to_route_stop_attributes":{"id":14,"inventory_controlled":true,"route_id":3,"position":10,"created_at":"2013-03-01T01:49:04+10:30","updated_at":"2013-03-01T01:49:04+10:30","stop_id":12,"name":"Cape
72
- Jervis Ferry Terminal","code":"CPJ"},"departure_time":"2000-01-01T15:00:00Z","arrival_time":"2000-01-01T17:30:00Z"}]'
56
+ string: '[{"product_id":"9","product_id_field":"trip_id","resource_id":2,"resource_class_name_underscore":"scheduled_trip_resource","product_name_underscore":"mainland_coach_transfers","tariff_level_id":1,"service_ids":[25,26,27],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":3000,"pre_adjusted_price_in_cents":3000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"06:45am
57
+ - Ferry ConnectionDeparting Adelaide - AM","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan
58
+ class=\"money positive\"\u003e$30.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":3000,"price_breakdown_vehicles_in_cents":0,"trip_id":9,"stop_departure_time":"2000-01-01T06:45:00.000Z","stop_arrival_time":"2000-01-01T08:30:00.000Z","from_route_stop_attributes":{"id":5,"inventory_controlled":true,"route_id":3,"position":1,"created_at":null,"updated_at":null,"stop_id":3,"name":"Adelaide
59
+ Central Bus Station","code":"ACBS"},"to_route_stop_attributes":{"id":14,"inventory_controlled":true,"route_id":3,"position":10,"created_at":null,"updated_at":null,"stop_id":12,"name":"Cape
60
+ Jervis Ferry Terminal","code":null},"departure_time":"2000-01-01T06:00:00.000Z","arrival_time":"2000-01-01T08:30:00.000Z"},{"product_id":"13","product_id_field":"trip_id","resource_id":2,"resource_class_name_underscore":"scheduled_trip_resource","product_name_underscore":"mainland_coach_transfers","tariff_level_id":1,"service_ids":[28,29,30],"first_travel_date":"01-03-2016","last_travel_date":"01-03-2016","time_class":"","exception_type":null,"bookable":true,"reason_unbookable":null,"service_notes":null,"booking_notes":null,"inventory_type_code":"A","price_in_cents":3000,"pre_adjusted_price_in_cents":3000,"total_price_adjustment_in_cents":0,"adjustments":[],"selection_name":"03:45pm
61
+ - Ferry ConnectionDeparting Adelaide - PM","price_breakdown":"\u003cspan\u003e\u003cstrong\u003ePassengers:\u003c/strong\u003e\u0026nbsp;\u003cspan
62
+ class=\"money positive\"\u003e$30.00\u003c/span\u003e\u0026nbsp;\u003c/span\u003e","price_breakdown_passengers_in_cents":3000,"price_breakdown_vehicles_in_cents":0,"trip_id":13,"stop_departure_time":"2000-01-01T15:45:00.000Z","stop_arrival_time":"2000-01-01T17:30:00.000Z","from_route_stop_attributes":{"id":5,"inventory_controlled":true,"route_id":3,"position":1,"created_at":null,"updated_at":null,"stop_id":3,"name":"Adelaide
63
+ Central Bus Station","code":"ACBS"},"to_route_stop_attributes":{"id":14,"inventory_controlled":true,"route_id":3,"position":10,"created_at":null,"updated_at":null,"stop_id":12,"name":"Cape
64
+ Jervis Ferry Terminal","code":null},"departure_time":"2000-01-01T15:00:00.000Z","arrival_time":"2000-01-01T17:30:00.000Z"}]'
73
65
  http_version:
74
- recorded_at: Fri, 28 Oct 2016 05:28:14 GMT
75
- recorded_with: VCR 3.0.3
66
+ recorded_at: Wed, 21 Mar 2018 04:40:38 GMT
67
+ 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
- - '"d751713988987e9331980363e24189ce"'
22
+ - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
25
23
  Cache-Control:
26
24
  - max-age=0, private, must-revalidate
27
25
  X-Request-Id:
28
- - 933a842883ce2070a0bddc4c4e092f48
26
+ - 7c58f095-6061-4eec-96c4-fd2b7813f5f0
29
27
  X-Runtime:
30
- - '0.101239'
31
- Vary:
32
- - Origin
28
+ - '0.404549'
33
29
  Date:
34
- - Fri, 01 Jan 2016 02:32:37 GMT
30
+ - Fri, 01 Jan 2016 02:32:30 GMT
35
31
  X-Rack-Cache:
36
32
  - invalidate, pass
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
- - _quick_travel_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTBmOGY5Mjc0NDNmNGQ5OWUzYjNhN2MzNDMzYTMzNDliBjsAVEkiCXVzZXIGOwBGaQY%3D--b709caeca3ba95e125085001a8046e516395d85b;
52
+ - _session_id=S3R1YTVwSkY5Mkt5T3F6S1dzNHVKTEprczMwV25hb3pKUWRpcnoydGF0alhtMXNQY2I3L202VzE0bjJYd3JSYVFYbkRhM09BOXpISHVRVWFKN1RYTWFIZHBUQ1AyWmZJVmNWcGNXb0phdnM9LS03VTZ1emEvQ2NudGQ1UGtVejYxMzhRPT0%3D--de9cbfdaabb717514239be6566ed60fad323bfef;
55
53
  path=/; HttpOnly
56
54
  body:
57
55
  encoding: UTF-8
58
56
  string: "[]"
59
57
  http_version:
60
- recorded_at: Fri, 28 Oct 2016 05:28:13 GMT
61
- recorded_with: VCR 3.0.3
58
+ recorded_at: Wed, 21 Mar 2018 04:40:37 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
- - '"f9c3f39d2b9b1d8cf382131ae097a3ef"'
22
+ - W/"8b2e6e2c1c301c5f1bbe5b650dfb5d18"
25
23
  Cache-Control:
26
24
  - max-age=0, private, must-revalidate
27
25
  X-Request-Id:
28
- - 86e84036182fc30c8dc7f05092153ae8
26
+ - ac489d12-bdcf-4905-8bf8-a90fea6d88fb
29
27
  X-Runtime:
30
- - '0.754949'
31
- Vary:
32
- - Origin
28
+ - '0.672089'
33
29
  Date:
34
- - Fri, 01 Jan 2016 02:30:37 GMT
30
+ - Fri, 01 Jan 2016 02:32:15 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,24 +45,25 @@ http_interactions:
47
45
  Server:
48
46
  - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
49
47
  Content-Length:
50
- - '7627'
48
+ - '8059'
51
49
  Connection:
52
50
  - Keep-Alive
53
51
  Set-Cookie:
54
- - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJWY4MzBlNzA4ODI0YTE5ZWM1ZjNiODdiOGEyMzRlYWQyBjsAVEkiCXVzZXIGOwBGaQY%3D--c8d6e00c01ca6a6474f4bc54de9274c1f08f1456;
52
+ - _session_id=V2ZlYVpoZEREQjJJZG01VU9KMXVaUjdxNk1OS0FqTWpvZXBGRzRYajZDSU8zVkxNSU40T2pCTHZOUW00WUJlRktyR2FLeWVHZ0xHM0hFWDVvOFlFa3IyaGRueThDR0FzY1A2ZlVUUHZ3dzQ9LS1lSkc1c0lyb2hMaHNzdzVNM25maUtBPT0%3D--63fdf3891d9ac0548c22dbfea0274d8fa67e8ea6;
55
53
  path=/; HttpOnly
56
54
  body:
57
55
  encoding: UTF-8
58
- string: '{"id":2,"state":"new","reference":"222224","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-05-11T13:09:47+09:30","updated_at":"2016-07-13T12:00:24+09:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":25000,"nett_in_cents":25000,"gross_in_cents":25000,"commission_in_cents":0,"balance_in_cents":25000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"deposit_relevant":false,"deposit_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00+09:30"},"balance_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00+09:30"},"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"complete":true,"reason_not_complete":"","first_reason_not_complete":"","discardable_in":279420,"inactivatable_in":279370,"notices":{},"client":null,"passenger_ids":[3,4],"vehicle_ids":[],"reservation_ids":[4,5],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":3,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":1},{"id":4,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":4,"booking_id":2,"description":"","comment":"","active":true,"service_ids":[58],"resource_id":12,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":14,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":7,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
59
- Cruise","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"duration_units":"Days","date_start_label":"Start
56
+ string: '{"id":2,"state":"new","reference":"222224","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"drop_off_option_id":null,"drop_off_location_id":null,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-05-11T13:09:47.000+09:30","updated_at":"2016-07-13T12:00:24.000+09:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":25000,"nett_in_cents":25000,"gross_in_cents":25000,"commission_in_cents":0,"balance_in_cents":25000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"deposit_relevant":false,"deposit_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00.000+09:30"},"balance_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00.000+09:30"},"due":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"complete":true,"reason_not_complete":"","first_reason_not_complete":"","unprintable_luggage_tags":false,"discardable_in":279419,"inactivatable_in":279369,"notices":{},"client":null,"passenger_ids":[3,4],"vehicle_ids":[],"reservation_ids":[4,5],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":3,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":1},{"id":4,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":4,"booking_id":2,"description":"","comment":"","active":true,"service_ids":[58],"resource_id":12,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":14,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":null,"fare_basis_pointer_id":7,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
57
+ Cruise","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"span":1,"duration_units":"Days","date_start_label":"Start
60
58
  Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
61
- Priced as: Rack Rate","gross_including_packaged_item_in_cents":25000,"pre_adjusted_gross_including_packaged_item_in_cents":25000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":20000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":6000,"sub_items_gross_in_cents":5000,"rules":[],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":5,"booking_id":2,"description":"","comment":null,"active":true,"service_ids":[62],"resource_id":13,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":16,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":8,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
62
- Cruise Window","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"duration_units":"Days","date_start_label":"Start
59
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":25000,"pre_adjusted_gross_including_packaged_item_in_cents":25000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":20000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":6000,"sub_items_gross_in_cents":5000,"rules":[],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":5,"booking_id":2,"description":"","comment":null,"active":true,"service_ids":[62],"resource_id":13,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":16,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":null,"fare_basis_pointer_id":8,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
60
+ Cruise Window","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"span":1,"duration_units":"Days","date_start_label":"Start
63
61
  Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
64
- Priced as: Rack Rate","gross_including_packaged_item_in_cents":5000,"pre_adjusted_gross_including_packaged_item_in_cents":5000,"gross_in_cents":5000,"pre_adjusted_gross_in_cents":5000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":0,"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,4],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":3,"consumer_splittable_id":5,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T16:58:08+09:30","gross_in_cents":2500,"id":17,"updated_at":"2016-05-11T16:58:08+09:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":4,"consumer_splittable_id":5,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T16:58:08+09:30","gross_in_cents":2500,"id":18,"updated_at":"2016-05-11T16:58:08+09:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":2500,"4":2500}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,4],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":3,"consumer_splittable_id":4,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T13:10:20+09:30","gross_in_cents":10000,"id":15,"updated_at":"2016-05-11T13:10:20+09:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":4,"consumer_splittable_id":4,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T13:10:20+09:30","gross_in_cents":10000,"id":16,"updated_at":"2016-05-11T13:10:20+09:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":10000,"4":10000}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":2,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"MasterCard","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
65
- made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":"2013-03-01T00:00:03+10:30","updated_at":"2013-03-01T00:00:03+10:30","credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
62
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":5000,"pre_adjusted_gross_including_packaged_item_in_cents":5000,"gross_in_cents":5000,"pre_adjusted_gross_in_cents":5000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":0,"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,4],"passenger_splits":[{"id":17,"consumer_id":3,"consumer_splittable_id":5,"gross_in_cents":2500,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"},{"id":18,"consumer_id":4,"consumer_splittable_id":5,"gross_in_cents":2500,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":2500,"4":2500}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,3],"passenger_splits":[{"id":15,"consumer_id":3,"consumer_splittable_id":4,"gross_in_cents":10000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"},{"id":16,"consumer_id":3,"consumer_splittable_id":4,"gross_in_cents":10000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":20000}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":4,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
63
+ made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":10,"name":"Opal
64
+ Pay","description":"Opal Payments","transaction_fee":"0.0","active":true,"position":9,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"opal_pay","gateway":null,"on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":false,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
66
65
  http_version:
67
- recorded_at: Tue, 20 Jun 2017 06:46:15 GMT
66
+ recorded_at: Wed, 21 Mar 2018 04:40:22 GMT
68
67
  - request:
69
68
  method: put
70
69
  uri: http://test.qt.sealink.com.au:8080/api/bookings/2/activate
@@ -83,22 +82,20 @@ http_interactions:
83
82
  - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
84
83
  Content-Type:
85
84
  - application/json; charset=utf-8
86
- X-Ua-Compatible:
87
- - IE=Edge,chrome=1
88
85
  Etag:
89
- - '"7363e85fe9edee6f053a4b319588c086"'
86
+ - W/"c955e57777ec0d73639dca6748560d00"
90
87
  Cache-Control:
91
88
  - max-age=0, private, must-revalidate
92
89
  X-Request-Id:
93
- - fdbb18cc915ba08eb7b99383836ddaff
90
+ - ff2bff37-6e2b-4125-992f-fc05207de947
94
91
  X-Runtime:
95
- - '0.412926'
96
- Vary:
97
- - Origin
92
+ - '0.220672'
98
93
  Date:
99
- - Fri, 01 Jan 2016 02:30:37 GMT
94
+ - Fri, 01 Jan 2016 02:32:16 GMT
100
95
  X-Rack-Cache:
101
96
  - invalidate, pass
97
+ Vary:
98
+ - Origin
102
99
  X-Content-Type-Options:
103
100
  - nosniff
104
101
  X-Download-Options:
@@ -116,11 +113,11 @@ http_interactions:
116
113
  Connection:
117
114
  - Keep-Alive
118
115
  Set-Cookie:
119
- - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJWM1NjJjYTg0NGJjNTAyZGQwYjE4Mjg5N2U4YzNjNDUzBjsAVEkiCXVzZXIGOwBGaQY%3D--404ec16033facfec88e9a2ada7258dcbf1a6e41c;
116
+ - _session_id=Y3BrOW9BVVorak5DQkY2dS84UWNpMzJiMlk1VGFEYk51UFFEeTFsWHJINDF3Qk5ORGlSWXRkYWhYTkpwNUFOTkdnSTBxcWtiK3lDbTFYNUVKM2lCU21WL3NVUjZ5d2NSeC9MaDZhTWlWeUk9LS0wL2NSOTB4T1daYUtQR3d4N2V6UVJ3PT0%3D--54344ae24cd5c5fb059f6b3a8b9eaf5b960647b5;
120
117
  path=/; HttpOnly
121
118
  body:
122
119
  encoding: UTF-8
123
120
  string: '{"success":true}'
124
121
  http_version:
125
- recorded_at: Tue, 20 Jun 2017 06:46:15 GMT
126
- recorded_with: VCR 3.0.3
122
+ recorded_at: Wed, 21 Mar 2018 04:40:23 GMT
123
+ 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
- - '"fa1d5415892abe0aa2fdee6fb27e8bac"'
22
+ - W/"7be9184eefa42db106bdf89dcde186d6"
25
23
  Cache-Control:
26
24
  - max-age=0, private, must-revalidate
27
25
  X-Request-Id:
28
- - cff7d946c49579f27c1c956f1826833c
26
+ - 870315f1-dbc8-490d-9a40-07e926573e2e
29
27
  X-Runtime:
30
- - '0.746585'
31
- Vary:
32
- - Origin
28
+ - '0.748194'
33
29
  Date:
34
- - Fri, 01 Jan 2016 02:30:38 GMT
30
+ - Fri, 01 Jan 2016 02:32:16 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,24 +45,25 @@ http_interactions:
47
45
  Server:
48
46
  - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
49
47
  Content-Length:
50
- - '7622'
48
+ - '8054'
51
49
  Connection:
52
50
  - Keep-Alive
53
51
  Set-Cookie:
54
- - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTA5YmMyYzc1YTAxMDZhMWU1MjViMGI4NTY3NDcxNDJmBjsAVEkiCXVzZXIGOwBGaQY%3D--595dd5591137da8927d6a687da1b504ce6104998;
52
+ - _session_id=N2lmcm9GS2FQcUpoL21qZURZaUIrL2xjVVRNYUVkNnd3Q1NGZkhmSmxVU1dzQmJ4NnJCTkhJZEpIWWROcmZYZzFYNXZ2K2dxUnJoemRZc0F1Vm55QjMrTER0bUs2aytsVHE0SXpkQ3Q5dE09LS1wQXFWVlYzakRpS285Umg0NmlyeGpnPT0%3D--1597927825c9db174cf87dd7241c2624bd6ba6ac;
55
53
  path=/; HttpOnly
56
54
  body:
57
55
  encoding: UTF-8
58
- string: '{"id":2,"state":"active","reference":"222224","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-05-11T13:09:47+09:30","updated_at":"2016-01-01T13:00:37+10:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":25000,"nett_in_cents":25000,"gross_in_cents":25000,"commission_in_cents":0,"balance_in_cents":25000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"deposit_relevant":false,"deposit_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00+09:30"},"balance_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00+09:30"},"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"complete":true,"reason_not_complete":"","first_reason_not_complete":"","discardable_in":60,"inactivatable_in":10,"notices":{},"client":null,"passenger_ids":[3,4],"vehicle_ids":[],"reservation_ids":[4,5],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":3,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":1},{"id":4,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":4,"booking_id":2,"description":"","comment":"","active":true,"service_ids":[58],"resource_id":12,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":14,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":7,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
59
- Cruise","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"duration_units":"Days","date_start_label":"Start
56
+ string: '{"id":2,"state":"active","reference":"222224","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"drop_off_option_id":null,"drop_off_location_id":null,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-05-11T13:09:47.000+09:30","updated_at":"2016-01-01T13:02:16.000+10:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":25000,"nett_in_cents":25000,"gross_in_cents":25000,"commission_in_cents":0,"balance_in_cents":25000,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":null,"deposit_relevant":false,"deposit_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00.000+09:30"},"balance_due_on":{"_type":"Date","_value":"2016-09-02T00:00:00.000+09:30"},"due":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"complete":true,"reason_not_complete":"","first_reason_not_complete":"","unprintable_luggage_tags":false,"discardable_in":60,"inactivatable_in":10,"notices":{},"client":null,"passenger_ids":[3,4],"vehicle_ids":[],"reservation_ids":[4,5],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[{"id":3,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":1},{"id":4,"title":null,"first_name":null,"last_name":null,"passenger_type_id":1,"age":30,"gender":null,"position":2}],"vehicles_attributes":[],"reservations_attributes":[{"id":4,"booking_id":2,"description":"","comment":"","active":true,"service_ids":[58],"resource_id":12,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":14,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":null,"fare_basis_pointer_id":7,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
57
+ Cruise","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"span":1,"duration_units":"Days","date_start_label":"Start
60
58
  Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
61
- Priced as: Rack Rate","gross_including_packaged_item_in_cents":25000,"pre_adjusted_gross_including_packaged_item_in_cents":25000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":20000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":6000,"sub_items_gross_in_cents":5000,"rules":[],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":5,"booking_id":2,"description":"","comment":null,"active":true,"service_ids":[62],"resource_id":13,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":16,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":"","fare_basis_pointer_id":8,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
62
- Cruise Window","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"duration_units":"Days","date_start_label":"Start
59
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":25000,"pre_adjusted_gross_including_packaged_item_in_cents":25000,"gross_in_cents":20000,"pre_adjusted_gross_in_cents":20000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":6000,"sub_items_gross_in_cents":5000,"rules":[],"package":false,"sub_reservation_depth":0,"sub_reservations_attributes":[{"id":5,"booking_id":2,"description":"","comment":null,"active":true,"service_ids":[62],"resource_id":13,"quantity":null,"adjustments_attributes":[],"complete":true,"reason_not_complete":"","first_reason_not_complete":"","enough_time_before_travel_to_edit":true,"product_type_id":9,"itinerary_footer":false,"fare_basis_set_id":16,"manually_priced":false,"manually_assigned_fare_basis_set":false,"has_fare_basis":true,"fare_basis_season_name":null,"fare_basis_pointer_id":8,"pick_up_info":null,"drop_off_info":null,"selection_name":"Dinner
60
+ Cruise Window","product_name_underscore":"cruise","resource_class_name_underscore":"generic_resource","resource_class_name":"GenericResource","has_ticket_template":false,"first_travel_date":{"_type":"Date","_value":"2016-09-02"},"last_travel_date":{"_type":"Date","_value":"2016-09-02"},"durational":false,"duration":1,"span":1,"duration_units":"Days","date_start_label":"Start
63
61
  Date:","date_end_label":"End Date:","expires":false,"expiry":"*NA*","has_skipped_reservation_groups":false,"editable_reservation_groups":[],"tariff_level_name":"Auto
64
- Priced as: Rack Rate","gross_including_packaged_item_in_cents":5000,"pre_adjusted_gross_including_packaged_item_in_cents":5000,"gross_in_cents":5000,"pre_adjusted_gross_in_cents":5000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":0,"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,4],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":3,"consumer_splittable_id":5,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T16:58:08+09:30","gross_in_cents":2500,"id":17,"updated_at":"2016-05-11T16:58:08+09:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":4,"consumer_splittable_id":5,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T16:58:08+09:30","gross_in_cents":2500,"id":18,"updated_at":"2016-05-11T16:58:08+09:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":2500,"4":2500}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,4],"passenger_splits":[{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":3,"consumer_splittable_id":4,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T13:10:20+09:30","gross_in_cents":10000,"id":15,"updated_at":"2016-05-11T13:10:20+09:30"},{"commission_in_cents":0,"commission_percentage":"0.0","consumer_id":4,"consumer_splittable_id":4,"consumer_splittable_type":"Reservation","created_at":"2016-05-11T13:10:20+09:30","gross_in_cents":10000,"id":16,"updated_at":"2016-05-11T13:10:20+09:30"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":10000,"4":10000}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":2,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"MasterCard","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
65
- made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":"2013-03-01T00:00:03+10:30","updated_at":"2013-03-01T00:00:03+10:30","credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
62
+ Priced as: Rack Rate","gross_including_packaged_item_in_cents":5000,"pre_adjusted_gross_including_packaged_item_in_cents":5000,"gross_in_cents":5000,"pre_adjusted_gross_in_cents":5000,"pre_adjusted_commission_in_cents":0,"cost_in_cents":0,"rules":[],"package":false,"sub_reservation_depth":1,"extra_pick":null,"child_resource":true,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,4],"passenger_splits":[{"id":17,"consumer_id":3,"consumer_splittable_id":5,"gross_in_cents":2500,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"},{"id":18,"consumer_id":4,"consumer_splittable_id":5,"gross_in_cents":2500,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":2500,"4":2500}}],"extra_pick":null,"child_resource":null,"pending_confirmation":false,"confirmation_request_fields":[],"report_reservation_changes":false,"vendor_pnr":null,"pick_up_information":null,"drop_off_information":null,"vendor_staff":null,"notes_for_vendor":null,"passenger_ids":[3,3],"passenger_splits":[{"id":15,"consumer_id":3,"consumer_splittable_id":4,"gross_in_cents":10000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"},{"id":16,"consumer_id":3,"consumer_splittable_id":4,"gross_in_cents":10000,"commission_in_cents":0,"consumer_splittable_type":"Reservation","created_at":null,"updated_at":null,"commission_percentage":"0.0","length_multiplier":"1.0"}],"vehicle_ids":[],"vehicle_splits":[],"consumer_grosses":{"3":20000}}],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":4,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
63
+ made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":10,"name":"Opal
64
+ Pay","description":"Opal Payments","transaction_fee":"0.0","active":true,"position":9,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"opal_pay","gateway":null,"on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":false,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
66
65
  http_version:
67
- recorded_at: Tue, 20 Jun 2017 06:46:16 GMT
66
+ recorded_at: Wed, 21 Mar 2018 04:40:23 GMT
68
67
  - request:
69
68
  method: put
70
69
  uri: http://test.qt.sealink.com.au:8080/api/bookings/2/cancel
@@ -83,22 +82,20 @@ http_interactions:
83
82
  - CP="IDC DSP CAO COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"
84
83
  Content-Type:
85
84
  - application/json; charset=utf-8
86
- X-Ua-Compatible:
87
- - IE=Edge,chrome=1
88
85
  Etag:
89
- - '"7363e85fe9edee6f053a4b319588c086"'
86
+ - W/"c955e57777ec0d73639dca6748560d00"
90
87
  Cache-Control:
91
88
  - max-age=0, private, must-revalidate
92
89
  X-Request-Id:
93
- - 9e6570c0c769ae2ec54b467445a7aa73
90
+ - 64a14b7f-455e-4cb0-93b4-cc9639a03c71
94
91
  X-Runtime:
95
- - '0.832948'
96
- Vary:
97
- - Origin
92
+ - '1.037714'
98
93
  Date:
99
- - Fri, 01 Jan 2016 02:30:39 GMT
94
+ - Fri, 01 Jan 2016 02:32:18 GMT
100
95
  X-Rack-Cache:
101
96
  - invalidate, pass
97
+ Vary:
98
+ - Origin
102
99
  X-Content-Type-Options:
103
100
  - nosniff
104
101
  X-Download-Options:
@@ -116,11 +113,11 @@ http_interactions:
116
113
  Connection:
117
114
  - Keep-Alive
118
115
  Set-Cookie:
119
- - _session_id=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJWU3ODQ0MzdiMzk0YTc1ZGYwODQ5MDNjOGI3MGJhYzljBjsAVEkiCXVzZXIGOwBGaQY%3D--2380c5a5b97863f99f5cb3a66fd58943746417e2;
116
+ - _session_id=NGhqOUpEYUM1OGMyY0RoMndVNWtBZ3Vyb0xmTkpuNG1tTG5BdHFCcERabGtiU3RCT1djNjI1K2dIa1AwU0JMb2lXNkExcmJNVGUzYmxoV1ZJMWRhNUQrZGd2SGNMSTRGdTFWMzRBTlZVNFU9LS0yV2J4MkxWc2prUTQ5YXNRamNwTlZ3PT0%3D--a56fb8a0fbbba9932df997c5b5e12588d64548a4;
120
117
  path=/; HttpOnly
121
118
  body:
122
119
  encoding: UTF-8
123
120
  string: '{"success":true}'
124
121
  http_version:
125
- recorded_at: Tue, 20 Jun 2017 06:46:17 GMT
126
- recorded_with: VCR 3.0.3
122
+ recorded_at: Wed, 21 Mar 2018 04:40:24 GMT
123
+ 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
- - '"afa19294ce581b12a7d0e15ce637bad6"'
22
+ - W/"e2526231b7030e523541a77df03c8ff8"
25
23
  Cache-Control:
26
24
  - max-age=0, private, must-revalidate
27
25
  X-Request-Id:
28
- - 621484dead0768bcfc0d321701459f6d
26
+ - 622385b3-22be-4860-baf9-b3ab408c7e3d
29
27
  X-Runtime:
30
- - '0.698917'
31
- Vary:
32
- - Origin
28
+ - '0.868063'
33
29
  Date:
34
- - Fri, 01 Jan 2016 02:32:30 GMT
30
+ - Fri, 01 Jan 2016 02:32:06 GMT
35
31
  X-Rack-Cache:
36
32
  - invalidate, pass
33
+ Vary:
34
+ - Origin
37
35
  X-Content-Type-Options:
38
36
  - nosniff
39
37
  X-Download-Options:
@@ -47,17 +45,18 @@ http_interactions:
47
45
  Server:
48
46
  - WEBrick/1.3.1 (Ruby/2.2.5/2016-04-26)
49
47
  Content-Length:
50
- - '2320'
48
+ - '3271'
51
49
  Connection:
52
50
  - Keep-Alive
53
51
  Set-Cookie:
54
- - _quick_travel_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFVEkiJTI0OGYzMzViZDJmMGRiMDBlNzY3MTc0YWM5ZGE3NDRmBjsAVEkiCXVzZXIGOwBGaQY%3D--4742e81433d01108c362eb5142e789034feccae5;
52
+ - _session_id=QkMrd1poYWp0Q0ZaOWxnRWpUZU90MFMxZXlMLzVzbHN5a3h3azdpV1M0cWNuZDdnM3ducmYwZnVINXpRTnp6cjJ4ZmQ2QmwwM0lsMzJmUzBicmxxZEFEY2h0TDNyOERTbUJtRjZ6NnFJSk09LS1XVVlKTTlEMkV2K0RYR2VYZ0g1Tml3PT0%3D--bcc625f85c9aeaee86f2743c3d5d2e73c8ab45ba;
55
53
  path=/; HttpOnly
56
54
  body:
57
55
  encoding: UTF-8
58
- string: '{"id":3,"state":"new","reference":"222226","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-01-01T13:02:29+10:30","updated_at":"2016-01-01T13:02:29+10:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":0,"nett_in_cents":0,"gross_in_cents":0,"commission_in_cents":0,"balance_in_cents":0,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":"SeaLink","deposit_relevant":false,"deposit_due_on":null,"balance_due_on":null,"first_travel_date":{"_type":"Date","_value":"2016-01-01"},"last_travel_date":null,"complete":true,"reason_not_complete":"","first_reason_not_complete":"","discardable_in":60,"inactivatable_in":10,"notices":{"currency":["Currency
59
- has changed to currency AUD. Please set currency as appropriate."]},"client":null,"passenger_ids":[],"vehicle_ids":[],"reservation_ids":[],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[],"vehicles_attributes":[],"reservations_attributes":[],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":5,"name":"master","description":"master","payment_method":"credit_card","gateway":"braintree","credit_card_brand":"MasterCard","transaction_fee":"0.0","active":true,"position":2,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"internal":false,"redirect":false},{"id":4,"name":"visa","description":"visa","payment_method":"credit_card","gateway":"braintree","credit_card_brand":"Visa","transaction_fee":"0.0","active":true,"position":3,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"internal":false,"redirect":false},{"id":7,"name":"PayPal","description":"Payments
60
- made via PayPal account","payment_method":"paypal","gateway":"braintree","credit_card_brand":null,"transaction_fee":"0.0","active":true,"position":6,"surchargeable":false,"for_frequent_traveller_redemption":false,"comment_required":false,"internal":false,"redirect":false}],"issued_tickets_attributes":[]}'
56
+ string: '{"id":3,"state":"new","reference":"222226","public_comments":null,"internal_comments":null,"customer_contact_name":null,"customer_contact_phone":null,"customer_contact_mobile":null,"customer_contact_email":null,"currency_iso_code":"AUD","country_id":14,"drop_off_option_id":null,"drop_off_location_id":null,"post_code":null,"referral_code_id":1,"external_identifier":null,"created_at":"2016-01-01T13:02:06.000+10:30","updated_at":"2016-01-01T13:02:06.000+10:30","promo_code":null,"promo_code_id":null,"insurance_offered":false,"total_adjustments_in_cents":0,"pre_adjusted_gross_in_cents":0,"nett_in_cents":0,"gross_in_cents":0,"commission_in_cents":0,"balance_in_cents":0,"paid_in_cents":0,"surcharge_in_cents":0,"deposit_in_cents":0,"web_site_name":"SeaLink","deposit_relevant":false,"deposit_due_on":null,"balance_due_on":null,"due":true,"first_travel_date":{"_type":"Date","_value":"2016-01-01"},"last_travel_date":null,"complete":true,"reason_not_complete":"","first_reason_not_complete":"","unprintable_luggage_tags":false,"discardable_in":60,"inactivatable_in":10,"notices":{"currency":["Currency
57
+ has changed to currency AUD. Please set currency as appropriate."]},"client":null,"passenger_ids":[],"vehicle_ids":[],"reservation_ids":[],"adjustment_ids":[],"todo_items":[],"confirmation_requests":[],"passengers_attributes":[],"vehicles_attributes":[],"reservations_attributes":[],"adjustments_attributes":[],"payments_attributes":[],"payment_types_attributes":[{"id":4,"name":"visa","description":"visa","transaction_fee":"0.0","active":true,"position":3,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":"Visa","payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":5,"name":"master","description":"master","transaction_fee":"0.0","active":true,"position":4,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"credit_card","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":7,"name":"PayPal","description":"Payments
58
+ made via PayPal account","transaction_fee":"0.0","active":true,"position":6,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"paypal","gateway":"braintree","on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":true,"creditlink":false,"surchargeable":false},{"id":10,"name":"Opal
59
+ Pay","description":"Opal Payments","transaction_fee":"0.0","active":true,"position":9,"for_frequent_traveller_redemption":false,"comment_required":false,"created_at":null,"updated_at":null,"credit_card_brand":null,"payment_method":"opal_pay","gateway":null,"on_account":false,"ticket_holding":false,"requires_staff":false,"internal":false,"redirect":false,"background":false,"creditlink":false,"surchargeable":false}],"issued_tickets_attributes":[]}'
61
60
  http_version:
62
- recorded_at: Fri, 28 Oct 2016 05:28:06 GMT
63
- recorded_with: VCR 3.0.3
61
+ recorded_at: Wed, 21 Mar 2018 04:40:13 GMT
62
+ recorded_with: VCR 4.0.0