Class OrderAppliedVouchersPopulator
- java.lang.Object
-
- de.hybris.platform.commercefacades.voucher.converters.populator.OrderAppliedVouchersPopulator
-
- All Implemented Interfaces:
Populator<AbstractOrderModel,AbstractOrderData>
public class OrderAppliedVouchersPopulator extends java.lang.Object implements Populator<AbstractOrderModel,AbstractOrderData>
Populate theAbstractOrderDatawith the vouchers applied toAbstractOrderModel
-
-
Constructor Summary
Constructors Constructor Description OrderAppliedVouchersPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoucherServicegetVoucherService()voidpopulate(AbstractOrderModel source, AbstractOrderData target)Populate the target instance with values from the source instance.voidsetVoucherService(VoucherService voucherService)
-
-
-
Method Detail
-
populate
public void populate(AbstractOrderModel source, AbstractOrderData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderModel,AbstractOrderData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
getVoucherService
public VoucherService getVoucherService()
-
setVoucherService
public void setVoucherService(VoucherService voucherService)
-
-