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 Object
implements Populator<SOURCE,TARGET>
Populate DTO
SubscriptionPricePlanData.oneTimeChargeEntries with data from
SubscriptionPricePlanModel#_oneTimeChargeEntries.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidPopulate the target instance with values from the source instance.voidsetOneTimeChargeEntryConverter(Converter<OneTimeChargeEntryModel, OneTimeChargeEntryData> oneTimeChargeEntryConverter)
-
Constructor Details
-
SubscriptionPricePlanOneTimeChargePopulator
public SubscriptionPricePlanOneTimeChargePopulator()
-
-
Method Details
-
populate
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)
-