Class ProductVolumePricesPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
java.lang.Object
de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator<SOURCE,TARGET>
de.hybris.platform.commercefacades.product.converters.populator.ProductVolumePricesPopulator<SOURCE,TARGET>
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
- Direct Known Subclasses:
ProductVolumePricesPopulator
public class ProductVolumePricesPopulator<SOURCE extends ProductModel,TARGET extends ProductData>
extends AbstractProductPopulator<SOURCE,TARGET>
Populator for product volume prices.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PriceDatacreatePriceData(PriceDataType priceType, PriceInformation priceInfo) createPrices(SOURCE productModel, List<PriceInformation> pricesInfos) protected LonggetMinQuantity(PriceInformation priceInfo) protected PriceDataFactoryprotected PriceServiceprotected PriceDataTypegetPriceType(ProductModel productModel) voidPopulate the target instance with values from the source instance.voidsetPriceDataFactory(PriceDataFactory priceDataFactory) voidsetPriceService(PriceService priceService) Methods inherited from class de.hybris.platform.commercefacades.product.converters.populator.AbstractProductPopulator
getModelService, getProductAttribute, safeToString, setModelService
-
Constructor Details
-
ProductVolumePricesPopulator
public ProductVolumePricesPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Parameters:
productModel- the source objectproductData- the target to fill
-
createPrices
-
getPriceType
-
getMinQuantity
-
createPriceData
-
getPriceService
-
setPriceService
-
getPriceDataFactory
-
setPriceDataFactory
-