UC02 - Shop and Order a flight and a seat for a single passenger
  • 26 Nov 2021
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

UC02 - Shop and Order a flight and a seat for a single passenger

  • Dark
    Light
  • PDF

Description

This use case illustrates the creation of an order for a single passenger with frequent flyer number booking for a flight and selecting an extra bag and seat. Payment is not made.

Capabilities Demonstrated

  • Use of Price Classes
  • Describing offer conditions / restrictions
  • Shop for ancillaries
  • Use of Taxonomy
  • Seat map availability and price points
  • Price multiple offers
  • Order creation without payment

Preconditions / Assumptions

  • No preconditions

Descriptive Flow

StepMessageState DiagramDescription

1RQ

AirShoppingRQ

State 0 -> State 1

Seller requests flight offers to airline, providing origins, destinations and dates.

1RS

AirShoppingRS

Airline responds with different flight offers 

2RQ

ServiceListRQ

State 1 -> State 2

Seller requests for additional ancillaries on a selected flight offer 

2RS

ServiceListRS

Airline responds with different a la carte Ancillary offers 

2RQ

SeatAvailabilityRQ

State 2  -> State 2

Seller requests for Seats on a selected flight offer 

2RS

SeatAvailabilityRS

 

Airline responds with seat map and a la carte seat offers  

3RQ

OfferPriceRQ

State 2 -> State 3 

Seller requests the selection of Flight Offer, Extra bag and Seat ancillary services

3RS

OfferPriceRS

Airline responds with a unified priced offer with selected flight service, extra bag and seat ancillary services 

4RQ

OrderCreateRQ

State 3 -> State 6.1

Seller requests creation of the order, with the selected priced offer 

4RS

OrderViewRS

Airline responds with the created order

 Post Condition

  • An unpaid Order is created.

Main Message Objects

Shop

The table below is a non-exhaustive list of some of the functions used to illustrate this use case. 

MessageObjectDetails

AirShoppingRQ


 

FlightRequestOriginDestinationsCriteria

Send specific Origin and Destination information for intended dates 

Pax

Passenger Type code 

AirShoppingRS

Offers

A set of offers 

ServiceListRQ

OfferRequest

Selected Offer on which ancillaries are calculated

ServiceListRS

AlaCarteOffer

A la carte offers are returned by  the arline to represent ancillary services

SeatAvailabilityRQ

SeatAvailOfferRequest

Request seat map on an offer 

SeatAvailabilityRS

AlACarteOffer

SeatMap

AlaCarteOffers for available seats

SeatMap detailing the position of the seat

 

Price

MessageObjectDetails

OfferPriceRQ

PricedOffer

Included selected Offers to get on consolidated priced offer

OfferPriceRS

PricedOffer

Return one single priced offer with selected Offeritems

 Order

MessageObjectDetails

OrderCreateRQ

AcceptSelectedQuotedOfferList

Pass the PricedOffer with Flight OfferItems, selected ancillary offer item to be added to the Order

OrderViewRS

Order

Order with Orderitems corresponding to selected priced Offeritems

 XML Samples 

SequenceMessage

1RQ

AirshoppingRQ

1RS

AirShoppingRS

2RQ

ServiceListRQ

2RQ

ServiceListRS

3RQ

SeatAvailabilityRQ

3RS

SeatAvailabilityRS

4RQ

OfferPriceRQ

4RS

OfferPriceRS

5RQ

OrderCreateRQ

5RS

OrderViewRS

Link to worked XMLs

State diagram

This is the full state diagram describing recommended transitions and flows. Transitions and stated involved in the current use case are highlighted in orange.

 


States:

S0: initial state, no precondition.

S1: received flight offers 

S2: received a la carte offers (seats, services) for a flight offer.

S3: received a priced offer.

S4: received a la carte offers (seats, services) for a priced flight offer.

S5: payment process state. Contains an actual intermediate state (S5.1) only in case of authentication needed (e.g., 3DS, AMOP, …). No intermediate state else (S5 transitions immediately to S6 in that case).

S6: order created. Sub-states S6.1, S6.2 and S6.3 detail the overall order payment status.

S7: received a full order cancellation offer.

S8: accepted a full order cancellation offer, order is cancelled.

S9: received flight re-shop offers (with or without a la carte offers) for an order.

S10: received a la carte offers for an order.

S11: received quoted offers.

S12: received Quoted offers and Ala carte offers for Quoted Offer

S13: received repriced offer from the airline

Transitions:

S0 → S1: shop for flights

S1  S2: shop for seats/services on an offer

S1 or S2 → S3: price offer(s)

S3 → S6: order creation without payment

S3 → S5 → S6: order creation with payment

S6 → S7: request full order cancellation offer

S7 → S8: accept full order cancellation offer

S6 → S9: re-shop for flights

S6 → S10: shop for seats/services on an order

S6→ S13:  reprice existing order resulting in a reprice offer

S9 or S10 → S11: quote re-shop offers and/or a la carte offers on an order 

S11 or S13 → S6: accept a quoted offer on an order, without payment

S11 or S13 → S5→ S6: accept a quoted offer on an order with payment

S11→ S12: shop for seats/services on a quoted re-shop offer

S12→ S11: quote quoted offers and/or a la carte offers on an order