Class PerUnitUsageChargePopulator<SOURCE extends PerUnitUsageChargeModel,TARGET extends PerUnitUsageChargeData>
java.lang.Object
de.hybris.platform.subscriptionfacades.product.converters.populator.AbstractUsageChargePopulator<SOURCE,TARGET>
de.hybris.platform.subscriptionfacades.product.converters.populator.PerUnitUsageChargePopulator<SOURCE,TARGET>
- Type Parameters:
SOURCE- source classTARGET- target class
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class PerUnitUsageChargePopulator<SOURCE extends PerUnitUsageChargeModel,TARGET extends PerUnitUsageChargeData>
extends AbstractUsageChargePopulator<SOURCE,TARGET>
Populate DTO
PerUnitUsageChargeData with data from PerUnitUsageChargeModel.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Converter<UsageChargeType,UsageChargeTypeData> voidPopulate the target instance with values from the source instance.voidsetUsageChargeTypeConverter(Converter<UsageChargeType, UsageChargeTypeData> usageChargeTypeConverter) Methods inherited from class de.hybris.platform.subscriptionfacades.product.converters.populator.AbstractUsageChargePopulator
getOverageUsageChargeEntryConverter, getTierUsageChargeEntryConverter, getUsageUnitConverter, setOverageUsageChargeEntryConverter, setTierUsageChargeEntryConverter, setUsageUnitConverter
-
Constructor Details
-
PerUnitUsageChargePopulator
public PerUnitUsageChargePopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends PerUnitUsageChargeModel,TARGET extends PerUnitUsageChargeData> - Overrides:
populatein classAbstractUsageChargePopulator<SOURCE extends PerUnitUsageChargeModel,TARGET extends PerUnitUsageChargeData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getUsageChargeTypeConverter
-
setUsageChargeTypeConverter
public void setUsageChargeTypeConverter(Converter<UsageChargeType, UsageChargeTypeData> usageChargeTypeConverter)
-