Class CouponRuleParameterValueMapper
java.lang.Object
de.hybris.platform.couponservices.rule.strategies.impl.mappers.CouponRuleParameterValueMapper
- All Implemented Interfaces:
RuleParameterValueMapper<AbstractCouponModel>
public class CouponRuleParameterValueMapper
extends Object
implements RuleParameterValueMapper<AbstractCouponModel>
Performs mapping between AbstractCouponModel and a String representation of it instance.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Maps the String representation to the specific object.protected AbstractCouponModelgetCouponById(String couponId) protected CouponDaovoidsetCouponDao(CouponDao couponDao) toString(AbstractCouponModel value) Maps the object to its String representation.
-
Constructor Details
-
CouponRuleParameterValueMapper
public CouponRuleParameterValueMapper()
-
-
Method Details
-
fromString
Description copied from interface:RuleParameterValueMapperMaps the String representation to the specific object.- Specified by:
fromStringin interfaceRuleParameterValueMapper<AbstractCouponModel>- Parameters:
value- - String representation- Returns:
- mapped object
-
getCouponById
-
toString
Description copied from interface:RuleParameterValueMapperMaps the object to its String representation.- Specified by:
toStringin interfaceRuleParameterValueMapper<AbstractCouponModel>- Parameters:
value- - object to map- Returns:
- String representation
-
getCouponDao
-
setCouponDao
-