Class VoucherPopulator
java.lang.Object
de.hybris.platform.commercefacades.voucher.converters.populator.VoucherPopulator
- All Implemented Interfaces:
Populator<VoucherModel,VoucherData>
Populator implementation for
VoucherModel as source and
VoucherData as target type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(VoucherModel source, VoucherData target) Populate the target instance with values from the source instance.voidsetCurrencyConverter(AbstractConverter<CurrencyModel, CurrencyData> currencyConverter)
-
Constructor Details
-
VoucherPopulator
public VoucherPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<VoucherModel,VoucherData> - Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getCurrencyConverter
-
setCurrencyConverter
-