Interface NDCOrderFacade
- All Known Implementing Classes:
DefaultNDCOrderFacade
public interface NDCOrderFacade
The ndc 18.2 order facade interface.
-
Method Summary
Modifier and TypeMethodDescriptionordercancelresponse.IATAOrderCancelRScancelOrder(ordercancelrequest.IATAOrderCancelRQ orderCancelRQ) Cancel order iata order cancel rs.changeOrder(IATAOrderChangeRQ orderChangeRQ) Retrieves the original order and calculates the difference between this and the new one and places the amended order.createOrder(IATAOrderCreateRQ orderCreateRQ) Creates an order from an OrderCreateRQ message.retrieveOrder(IATAOrderRetrieveRQ orderRetrieveRQ) Retrieves the order from the booking reference specified in the OrderRetrieveRQ.
-
Method Details
-
createOrder
IATAOrderViewRS createOrder(IATAOrderCreateRQ orderCreateRQ) throws NDCException, MerchandisingRequestException Creates an order from an OrderCreateRQ message.- Parameters:
orderCreateRQ- the orderCreateRQ- Returns:
- the orderViewRS
- Throws:
NDCExceptionMerchandisingRequestException
-
changeOrder
IATAOrderViewRS changeOrder(IATAOrderChangeRQ orderChangeRQ) throws NDCException, MerchandisingRequestException Retrieves the original order and calculates the difference between this and the new one and places the amended order.- Parameters:
orderChangeRQ- the orderChangeRQ- Returns:
- the orderViewRS
- Throws:
NDCException- the ndc exceptionMerchandisingRequestException
-
retrieveOrder
Retrieves the order from the booking reference specified in the OrderRetrieveRQ.- Parameters:
orderRetrieveRQ- the order retrieve rq- Returns:
- the orderViewRS
- Throws:
NDCException- the ndc exception
-
cancelOrder
ordercancelresponse.IATAOrderCancelRS cancelOrder(ordercancelrequest.IATAOrderCancelRQ orderCancelRQ) throws NDCException Cancel order iata order cancel rs.- Parameters:
orderCancelRQ- the order cancel rq- Returns:
- the iata order cancel rs
- Throws:
NDCException- the ndc exception
-