Class CouponRaoPopulator
java.lang.Object
de.hybris.platform.couponservices.converters.populator.CouponRaoPopulator
- All Implemented Interfaces:
Populator<AbstractOrderModel,CartRAO>
Populates CartRAO.coupons from AbstractOrderModel.appliedCouponCodes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CouponRAOgetCouponRAO(String couponCode) protected CouponServicevoidpopulate(AbstractOrderModel cartModel, CartRAO cartRao) Populate the target instance with values from the source instance.voidsetCouponService(CouponService couponService) protected CouponRAOtoCouponRAO(AbstractCouponModel couponModel)
-
Constructor Details
-
CouponRaoPopulator
public CouponRaoPopulator()
-
-
Method Details
-
populate
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AbstractOrderModel,CartRAO> - Parameters:
cartModel- the source objectcartRao- the target to fill
-
getCouponRAO
-
toCouponRAO
-
getCouponService
-
setCouponService
-