Class RuleQualifyingCouponsConditionTranslator
- java.lang.Object
-
- de.hybris.platform.couponservices.conditions.RuleQualifyingCouponsConditionTranslator
-
- All Implemented Interfaces:
RuleConditionTranslator
public class RuleQualifyingCouponsConditionTranslator extends java.lang.Object implements RuleConditionTranslator
Creates the intermediate representation of the CouponRAO.couponId condition.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOUPON_RAO_COUPON_ID_ATTRIBUTEstatic java.lang.StringCOUPONS_PARAM
-
Constructor Summary
Constructors Constructor Description RuleQualifyingCouponsConditionTranslator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleIrConditiontranslate(RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData conditionDefinition)Translates a rule condition to the intermediate representation.
-
-
-
Field Detail
-
COUPON_RAO_COUPON_ID_ATTRIBUTE
public static final java.lang.String COUPON_RAO_COUPON_ID_ATTRIBUTE
- See Also:
- Constant Field Values
-
COUPONS_PARAM
public static final java.lang.String COUPONS_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
translate
public RuleIrCondition translate(RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData conditionDefinition)
Description copied from interface:RuleConditionTranslatorTranslates a rule condition to the intermediate representation.- Specified by:
translatein interfaceRuleConditionTranslator- Parameters:
context- - the compiler contextcondition- - the conditionconditionDefinition- - the condition definition- Returns:
- the intermediate representation for the condition
-
-