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 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:
      handle in interface OneOrderOSINOrderItemHandler
      Parameters:
      transportOrderEntryList - the list of transportOrderEntries
      orderItemType - the orderItemType
    • createTaxType

      protected TaxType createTaxType(Map.Entry<String,Double> tax, String currency)
      Creates a taxType.
      Parameters:
      tax - the tax
      currency - the currency
      Returns:
      the taxType