Class DefaultAppliedCouponPopulator
- java.lang.Object
-
- de.hybris.platform.coupon.backoffice.cockpitng.editor.tab.populator.DefaultAppliedCouponPopulator
-
- All Implemented Interfaces:
Populator<java.lang.String,AppliedCouponData>
public class DefaultAppliedCouponPopulator extends java.lang.Object implements Populator<java.lang.String,AppliedCouponData>
Populator that provides more details about coupon based on the provided coupon code
-
-
Constructor Summary
Constructors Constructor Description DefaultAppliedCouponPopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CouponServicegetCouponService()voidpopulate(java.lang.String code, AppliedCouponData target)Populate the target instance with values from the source instance.voidsetCouponService(CouponService couponService)
-
-
-
Method Detail
-
populate
public void populate(java.lang.String code, AppliedCouponData target)Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<java.lang.String,AppliedCouponData>- Parameters:
code- the source objecttarget- the target to fill
-
getCouponService
protected CouponService getCouponService()
-
setCouponService
public void setCouponService(CouponService couponService)
-
-