Class OrderViewOrderItemPriceTypeHandler

java.lang.Object
de.hybris.platform.ndc182shoppingfacades.facades.order.handlers.impl.OrderViewOrderItemPriceTypeHandler
All Implemented Interfaces:
OrderViewOrderItemHandler

public class OrderViewOrderItemPriceTypeHandler extends Object implements OrderViewOrderItemHandler
The Order View Item Type implementation of OrderViewOrderItemHandler interface. This handler populates the price type in the order item type attribute.
  • Constructor Details

    • OrderViewOrderItemPriceTypeHandler

      public OrderViewOrderItemPriceTypeHandler()
  • Method Details

    • handle

      public void handle(AbstractOrderEntryModel orderEntryModel, OrderItemType orderItemType)
      Handler which populates the price type in the order item type attribute.
      Specified by:
      handle in interface OrderViewOrderItemHandler
      Parameters:
      orderEntryModel - the orderEntryModel
      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