Class SubscriptionPricePlanOneTimeChargePopulator<SOURCE extends SubscriptionPricePlanModel,TARGET extends SubscriptionPricePlanData>
- java.lang.Object
-
- de.hybris.platform.subscriptionfacades.product.converters.populator.SubscriptionPricePlanOneTimeChargePopulator<SOURCE,TARGET>
-
- Type Parameters:
SOURCE- source classTARGET- target class
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class SubscriptionPricePlanOneTimeChargePopulator<SOURCE extends SubscriptionPricePlanModel,TARGET extends SubscriptionPricePlanData> extends java.lang.Object implements Populator<SOURCE,TARGET>
Populate DTOSubscriptionPricePlanData.oneTimeChargeEntries with data fromSubscriptionPricePlanModel#_oneTimeChargeEntries.
-
-
Constructor Summary
Constructors Constructor Description SubscriptionPricePlanOneTimeChargePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Converter<OneTimeChargeEntryModel,OneTimeChargeEntryData>getOneTimeChargeEntryConverter()voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.voidsetOneTimeChargeEntryConverter(Converter<OneTimeChargeEntryModel,OneTimeChargeEntryData> oneTimeChargeEntryConverter)
-
-
-
Method Detail
-
populate
public void populate(SOURCE source, TARGET target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends SubscriptionPricePlanModel,TARGET extends SubscriptionPricePlanData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getOneTimeChargeEntryConverter
protected Converter<OneTimeChargeEntryModel,OneTimeChargeEntryData> getOneTimeChargeEntryConverter()
-
setOneTimeChargeEntryConverter
public void setOneTimeChargeEntryConverter(Converter<OneTimeChargeEntryModel,OneTimeChargeEntryData> oneTimeChargeEntryConverter)
-
-