Class GeneratedProductForPromotionSourceRule

    • Field Detail

      • PRODUCTCODE

        public static final java.lang.String PRODUCTCODE
        Qualifier of the ProductForPromotionSourceRule.productCode attribute
        See Also:
        Constant Field Values
      • RULE

        public static final java.lang.String RULE
        Qualifier of the ProductForPromotionSourceRule.rule attribute
        See Also:
        Constant Field Values
      • PROMOTION

        public static final java.lang.String PROMOTION
        Qualifier of the ProductForPromotionSourceRule.promotion attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedProductForPromotionSourceRule

        public GeneratedProductForPromotionSourceRule()
    • Method Detail

      • getProductCode

        public java.lang.String getProductCode​(SessionContext ctx)
        Generated method - Getter of the ProductForPromotionSourceRule.productCode attribute.
        Returns:
        the productCode - product code used in the given PromotionSourceRule
      • getProductCode

        public java.lang.String getProductCode()
        Generated method - Getter of the ProductForPromotionSourceRule.productCode attribute.
        Returns:
        the productCode - product code used in the given PromotionSourceRule
      • setProductCode

        protected void setProductCode​(SessionContext ctx,
                                      java.lang.String value)
        Generated method - Setter of the ProductForPromotionSourceRule.productCode attribute.
        Parameters:
        value - the productCode - product code used in the given PromotionSourceRule
      • setProductCode

        protected void setProductCode​(java.lang.String value)
        Generated method - Setter of the ProductForPromotionSourceRule.productCode attribute.
        Parameters:
        value - the productCode - product code used in the given PromotionSourceRule
      • getPromotion

        public RuleBasedPromotion getPromotion​(SessionContext ctx)
        Generated method - Getter of the ProductForPromotionSourceRule.promotion attribute.
        Returns:
        the promotion - RuleBasedPromotion related to the rule
      • getPromotion

        public RuleBasedPromotion getPromotion()
        Generated method - Getter of the ProductForPromotionSourceRule.promotion attribute.
        Returns:
        the promotion - RuleBasedPromotion related to the rule
      • setPromotion

        protected void setPromotion​(SessionContext ctx,
                                    RuleBasedPromotion value)
        Generated method - Setter of the ProductForPromotionSourceRule.promotion attribute.
        Parameters:
        value - the promotion - RuleBasedPromotion related to the rule
      • setPromotion

        protected void setPromotion​(RuleBasedPromotion value)
        Generated method - Setter of the ProductForPromotionSourceRule.promotion attribute.
        Parameters:
        value - the promotion - RuleBasedPromotion related to the rule
      • getRule

        public PromotionSourceRule getRule​(SessionContext ctx)
        Generated method - Getter of the ProductForPromotionSourceRule.rule attribute.
        Returns:
        the rule - PromotionSourceRule containing the product code
      • getRule

        public PromotionSourceRule getRule()
        Generated method - Getter of the ProductForPromotionSourceRule.rule attribute.
        Returns:
        the rule - PromotionSourceRule containing the product code
      • setRule

        protected void setRule​(SessionContext ctx,
                               PromotionSourceRule value)
        Generated method - Setter of the ProductForPromotionSourceRule.rule attribute.
        Parameters:
        value - the rule - PromotionSourceRule containing the product code
      • setRule

        protected void setRule​(PromotionSourceRule value)
        Generated method - Setter of the ProductForPromotionSourceRule.rule attribute.
        Parameters:
        value - the rule - PromotionSourceRule containing the product code