Interface OrderCreatePaymentTransactionStrategy<T extends NDCOfferData>

All Known Implementing Classes:
DefaultNDCAlaCarteOfferDataPaymentTransactionStrategy, DefaultNDCCarrierOfferDataPaymentTransactionStrategy

public interface OrderCreatePaymentTransactionStrategy<T extends NDCOfferData>
The ndc 18.2 Order Create Payment Transaction Strategy
  • Method Details

    • retrieveOrderEntriesAssociatedToPaymentInfo

      List<AbstractOrderEntryModel> retrieveOrderEntriesAssociatedToPaymentInfo(OrderModel order, T ndcOfferData)
      Retrieves the order entries linked to the specific ndcOfferData. If the offer is a NdcCarrierOfferData, it retrieves all the order entries having same originDestRefNumber and orderEntryGroupNumber list not empty. If the offer is an NdcAlaCarteOfferData, it retrieves all the order entries having same originDestRefNumber, same product code and empty orderEntryGroupNumber.
      Parameters:
      order - the order
      ndcOfferData - the ndcOfferData
      Returns:
      the list of order entries