I 62 Add or remove elements from a pre booking - UnionInternationalCheminsdeFer/OSDM GitHub Wiki

I-62: Add or Remove Elements From a Pre-Booking

Description

Add support for adding or removing elements to/from a pre-booking ("cart functionality"). More specifically, the following actions on a non-paid booking should be possible:

  • adding trip-offers;
  • adding ancillaries;
  • removing trip-offers;
  • removing ancillaries;
  • removing passengers (nice to have).

Owner

  • Sverker Östman - Samtrafiken
  • Marek Tuul - Turnit

Business Value

For the sales tool users, the required functionality provides more flexibility in composing the booking. Probably the most value comes from the option to purchase multiple journeys within one booking, instead of composing multiple bookings and going through separate payment processes.

Reduces the need for every retailer to "invent their own basket functionality".

Business Outcomes

The biggest benefit would be the time-saving in the purchase process of a more complex booking.

To do

Leading Indicators

To do

Nonfunctional Requirements

Nonfunctional requirements (NFRs) associated with the epic.

To do

Specification Effort

MEDIUM

Initial Analysis

  • Rename Cart to BookingPart

  • Add the placeSelections on the BookingPart level to reservation

  • Don't add the following attributes to the Cart level to usedPaymentMethods, requestedFullmentType or usedPaymentMethods.

  • remove promotionCodes from BookingPatchRequest