UC07 - Customer Requests a change to an order resulting in a value store
  • 26 Nov 2021
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

UC07 - Customer Requests a change to an order resulting in a value store

  • Dark
    Light
  • PDF

Description

This use case illustrates a passenger requesting a change of date for the outbound flight in an existing Order. The change results in a amount due by airline. The customer selects to let the airline keep the amount due by airline in a value store via dedicated Orderitem representing the Amount due by airline.

Capabilities Demonstrated

  • Order changes through the Seller requiring a re-shop
  • Customer agrees to value store instead of refund

 Preconditions / Assumptions

  • Existing paid order with a round trip containing an order item with  two flight services from London to New York representing a round trip

Descriptive Flow

StepMessageState DiagramDescription

1RQ

OrderRetrieveRQ

State 6.3 → State 6.3


 

 Seller requests retrieval of selected OrderID 

1RQ

OrderViewRS

Airline provides the most recent version of the Order 

2RQ

OrderReshopRQ

State 6.3 →  State 9

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

2RS

OrderReshopRS

Airline responds with different flight reshop offers 

4RQ

OrderQuoteRQ

State 9 →  State 11

Seller Requests Quote for the selected Reshopped Offer 

4RS

OrderReshopRS

Airline responds with Quoted Offer  

5RQ

OrderChangeRQ

State 11 → State 5->State 6

Seller selects the Quoted offer 

5RS

OrderViewRS

Airline responds with the creation of new orderitem and deletion of older orderitem, the unchanged service will be moved to the newly created orderitem . Another new OrderItem corresponding to the value store is stored in the Orders

Post Condition

  • Order is successfully changed with change of date for the outbound flight with the creation of new orderitem and another new OrderItem representing the amount due by airline  is created successfully in the order

Main message Objects

Shop

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

MessageObjectDetails

OrderReshopRQ

ServiceOrder

Send specific outbound Origin and Destination information for intended new dates 

OrderReshopRS

ReshopOffers

A set of Reshopoffers with AddOfferitems containing the flights with the intended dates 

Quote

MessageObjectDetails

OrderQuoteRQ

SelectedOffers

Pass selected reshopped offers  and a la carte offers

OrderReshopRS

QuotedOffer

Return one single Quoted Offer indicating the remaining/additional  amount in the offer

Order

MessageObjectDetails

OrderChangeRQ

AcceptSelectedQuotedOfferList

Pass the QuotedOffer to be added to the Order

OrderViewRS

Order

Order with selected priced Orderitems

 

PaymentProcessingSummary

Contains details of Payment transaction

XML Samples

SequenceMessage

1RQ

OrderRetrieveRQ

1RS

OrderViewRS

2RQ

OrderReshopRQ

2RS

OrderReshopRS

3RQ

OrderQuoteRQ

3RS

OrderReshopRS

4RQ

OrderChangeRQ

4RS

OrderViewRS

Sample 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