Class AbstractChargeEntryPopulator<SOURCE extends ChargeEntryModel,TARGET extends ChargeEntryData>
java.lang.Object
de.hybris.platform.subscriptionfacades.product.converters.populator.AbstractChargeEntryPopulator<SOURCE,TARGET>
- Type Parameters:
SOURCE- source classTARGET- target class
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
- Direct Known Subclasses:
AbstractUsageChargeEntryPopulator,OneTimeChargeEntryPopulator,RecurringChargeEntryPopulator
public abstract class AbstractChargeEntryPopulator<SOURCE extends ChargeEntryModel,TARGET extends ChargeEntryData>
extends Object
implements Populator<SOURCE,TARGET>
Populate DTO
UsageChargeEntryData with data from UsageChargeEntryModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CommonI18NServiceprotected PriceDataFactoryvoidPopulate the target instance with values from the source instance.voidsetCommonI18NService(CommonI18NService commonI18NService) voidsetPriceDataFactory(PriceDataFactory priceDataFactory)
-
Constructor Details
-
AbstractChargeEntryPopulator
public AbstractChargeEntryPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends ChargeEntryModel,TARGET extends ChargeEntryData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getPriceDataFactory
-
setPriceDataFactory
-
getCommonI18NService
-
setCommonI18NService
-