Class DefaultOneOrderOSINPriceTypeHandler
java.lang.Object
de.hybris.platform.oneorderfacades.handlers.osin.impl.DefaultOneOrderOSINPriceTypeHandler
- All Implemented Interfaces:
OneOrderOSINOrderItemHandler
public class DefaultOneOrderOSINPriceTypeHandler
extends Object
implements OneOrderOSINOrderItemHandler
The One Order Item Type implementation of
OneOrderOSINOrderItemHandler interface. This handler populates the price type in
the order item type attribute.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TaxTypecreateTaxType(Map.Entry<String, Double> tax, String currency) Creates a taxType.voidhandle(List<AbstractOrderEntryModel> transportOrderEntryList, Integer entryGroupNumber, OrderItemType orderItemType) Handler which populates the price type in the order item type attribute in Order Sales Information Notification message.
-
Constructor Details
-
DefaultOneOrderOSINPriceTypeHandler
public DefaultOneOrderOSINPriceTypeHandler()
-
-
Method Details
-
handle
public void handle(List<AbstractOrderEntryModel> transportOrderEntryList, Integer entryGroupNumber, OrderItemType orderItemType) Handler which populates the price type in the order item type attribute in Order Sales Information Notification message.- Specified by:
handlein interfaceOneOrderOSINOrderItemHandler- Parameters:
transportOrderEntryList- the list of transportOrderEntriesorderItemType- the orderItemType
-
createTaxType
Creates a taxType.- Parameters:
tax- the taxcurrency- the currency- Returns:
- the taxType
-