Interface OrderCreateHandler
- All Known Implementing Classes:
DefaultOrderCreateBasicInformationHandler,DefaultOrderCreateOrderEntriesHandler,DefaultOrderCreatePaymentInfoHandler,DefaultOrderCreatePaymentTransactionHandler
public interface OrderCreateHandler
The ndc 18.2 Order Create Handler interface.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Map<String, List<NDCOfferData>> ndcOfferDataMap, OrderModel order, IATAOrderCreateRQ orderCreateRQ) Handler method for creating an orderModel from a list of ndcOfferData.
-
Method Details
-
handle
void handle(Map<String, List<NDCOfferData>> ndcOfferDataMap, OrderModel order, IATAOrderCreateRQ orderCreateRQ) throws NDCExceptionHandler method for creating an orderModel from a list of ndcOfferData. These offers could be either NDCCarrierOfferData or NDCAlaCarteOfferData.- Parameters:
ndcOfferDataMap- the map of NdcOfferData type and list of offers of that type.order- the orderorderCreateRQ- the orderCreateRQ- Throws:
NDCException
-