Order Closing Example
Description
This use case illustrates a shopping flow for one single adult passenger, including the steps between flight shopping by origin/destination and order creation with payment followed by delivery of the services and closing Order once all services have a delivered final status. Changes of the Order , OrderItem and Service Delivery statuses are in line with Order.
Capabilities
Shop for flights
Price a flight offer
Order creation with payment
Delivery of the services on outbound portion
Delivery of the services on inbound portion and closing of the Order
Preconditions
None.
Main Flow
Step | Message | Description |
1 | AirShoppingRQ | Seller requests flight offers to airline, providing origins, destinations and dates. |
2 | AirShoppingRS | Airline responds with one or more offers. |
3 | OfferPriceRQ | Seller selects one offer and asks for a corresponding priced offer. |
4 | OfferPriceRS | Airline responds with a priced offer corresponding to the request (and, optionally, with additional offers). |
5 | OrderCreateRQ | Seller requests creation of the order with the selected priced offer. |
6 | OrderViewRS | Airline responds with the created order. |
7 | OrderSalesInformationNotificationRQ | Airline transmits sales information to accounting system. |
8 | Acknowledgement | Accounting confirms reception of sales notification with Acknowledgement. |
9 | OrderSalesInformationNotificationRQ | Airline transmits information about delivery of the several services but not all of them. This means that the Order remains in OPENED status |
10 | Acknowledgement | Accounting confirms reception of sales notification with Acknowledgement. |
11 | OrderSalesInformationNotificationRQ | Airline transmits information about delivery of the remaining e.g. at this stage all services are delivered. This changes the |
12 | Acknowledgement | Accounting confirms reception of sales notification with Acknowledgement. |
Postconditions
Order is closed and not available for further updates.