Class OrderAppliedVouchersPopulator
java.lang.Object
de.hybris.platform.commercefacades.voucher.converters.populator.OrderAppliedVouchersPopulator
- All Implemented Interfaces:
Populator<AbstractOrderModel,AbstractOrderData>
public class OrderAppliedVouchersPopulator
extends Object
implements Populator<AbstractOrderModel,AbstractOrderData>
Populate the
AbstractOrderData with the vouchers applied to
AbstractOrderModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(AbstractOrderModel source, AbstractOrderData target) Populate the target instance with values from the source instance.voidsetVoucherService(VoucherService voucherService)
-
Constructor Details
-
OrderAppliedVouchersPopulator
public OrderAppliedVouchersPopulator()
-
-
Method Details
-
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
-
setVoucherService
-