Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Web Red Apps
- Web Modules
- Examples
- com.sabre.redapp.example3.web.wf.extension.hotel Sample
com.sabre.redapp.example3.web.wf.extension.hotel Sample
The com.sabre.redapp.example3.web.wf.extension.hotel sample includes the following functionality:
-
This sample shows how to use CSL Hotel extension points in the Sabre Red 360
-
The sample uses 7 Hotel extension points:
-
BeforeHotelShoppingExtension
-
AfterHotelShoppingExtension
-
BeforeHotelDetailsExtension
-
AfterHotelDetailsExtension
-
BeforeHotelBookExtension
-
AfterHotelBookExtension
-
AfterHotelModifyExtension
-
BeforeHotelBookInputExtension
-
-
Start the hotel flow by using the graphical interface Hotel Search option

-
The sample is triggered when: shopping for hotels, showing hotel details, booking a hotel or modifing pnr. It shows modal with name of extension point. User can click Continue or Cancel button. Click Cancel button to stop workflow. Click Continue button to move to next step.

Extension point | Action & trigger condition | Expected Result | |
---|---|---|---|
Hotel Shopping |
BeforeHotelShoppingExtension |
Search for a hotel in any location or in JFK location. |
Modal with extension point name is open. If you choose JFK, location has been replaced to DFW. |
Hotel Shopping |
AfterHotelShoppingExtension |
Search for any hotel. |
Modal with extension point name is open. |
View Rates |
BeforeHotelDetailsExtension |
Perform View rates for a hotel. |
Modal with extension point name is open. If you set GuestCount to 3 in hotel search, this value will be changed to 4. |
View Rates |
AfterHotelDetailsExtension |
Perform View rates for a hotel. |
Modal with extension point name is open. |
Hotel Sell |
BeforeHotelBookExtension |
Book any hotel. |
Modal with extension point name is open. If you set SupplementalInformation to "foo" in book form, this value will be changed to "bar". |
Hotel Sell |
AfterHotelBookExtension |
Book any hotel. |
Modal with extension point name is open. |
PNR |
AfterHotelModifyExtension |
Click modify in PNR. |
Modal with extension point name is open. |