Skip to content

Commit

Permalink
fix: update examples (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtayeh authored Nov 27, 2024
1 parent cf6126f commit 6c9c358
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 135 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import com.expediagroup.sdk.rapid.examples.scenarios.geography.ParseRegionWithMultiPolygonCoordinatesScenario;
import com.expediagroup.sdk.rapid.examples.scenarios.managebooking.CancelHeldBookingScenario;
import com.expediagroup.sdk.rapid.examples.scenarios.managebooking.ChangeRoomDetailsScenario;
import com.expediagroup.sdk.rapid.examples.scenarios.managebooking.CommitHardChangeScenario;
import com.expediagroup.sdk.rapid.examples.scenarios.managebooking.DeleteRoomScenario;
import com.expediagroup.sdk.rapid.examples.scenarios.shopping.GetAdditionalAvailabilityOfPropertyScenario;
import com.expediagroup.sdk.rapid.examples.scenarios.shopping.GetPaymentOptionsOfRoomScenario;
Expand Down Expand Up @@ -137,20 +136,6 @@ public static void main(String[] args) throws ExecutionException, InterruptedExc
deleteRoomScenario.setProfile(new DefaultRapidPartnerProfile());
deleteRoomScenario.run();

/* Run Commit Change Room With Refund Scenario using the default profile
This scenario demonstrates the following:
1. Shopping for properties
2. Checking room prices for the property
3. Booking two rooms in the property
4. Retrieve itinerary by itinerary id
5. Check if booking is eligible for hard change
6. Delete first room in booking
7. Retrieve updated itinerary
*/
CommitHardChangeScenario commitHardChangeScenario = new CommitHardChangeScenario();
commitHardChangeScenario.setProfile(new DefaultRapidPartnerProfile());
commitHardChangeScenario.run();

logger.info("=============================== End of Manage Booking Scenarios ===========================");

logger.info("=============================== Running Property Content Scenarios ===========================");
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ public Response<Nothing> changeRoomDetails(Itinerary itinerary, int roomIndex) {
ChangeRoomDetailsRequest.builder()
.givenName("Jane")
.familyName("Doe")
.smoking(true)
.build());

return rapidClient.execute(changeRoomDetailsOperation);
Expand Down

0 comments on commit 6c9c358

Please sign in to comment.