Interface TmaAbstractOrderPriceBuilder
- All Known Implementing Classes:
DefaultTmaAbstractOrderCartPriceBuilder,DefaultTmaAbstractOrderDiscountPriceBuilder,DefaultTmaAbstractOrderPriceBuilder
public interface TmaAbstractOrderPriceBuilder
Builder for creating
TmaAbstractOrderPriceModel to be set on the order- Since:
- 1907
-
Method Summary
Modifier and TypeMethodDescriptionbuildPrice(Double price, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes, TmaAbstractOrderPriceType priceType) Builds aTmaAbstractOrderPriceModelfor the given param.
-
Method Details
-
buildPrice
TmaAbstractOrderPriceModel buildPrice(Double price, AbstractOrderModel order, List<de.hybris.platform.util.TaxValue> taxes, TmaAbstractOrderPriceType priceType) Builds aTmaAbstractOrderPriceModelfor the given param.- Parameters:
price- the price value to be set on the order priceorder- the order for which the price is createdtaxes- the taxes to be applied on the order pricepriceType- the price type to be set on the order price- Returns:
- created and populated order price
-