Class GeneratedCustomerCouponForPromotionSourceRule

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
CustomerCouponForPromotionSourceRule

public abstract class GeneratedCustomerCouponForPromotionSourceRule extends GenericItem
Generated class for type CustomerCouponForPromotionSourceRule.
See Also:
  • Field Details

    • CUSTOMERCOUPONCODE

      public static final String CUSTOMERCOUPONCODE
      Qualifier of the CustomerCouponForPromotionSourceRule.customerCouponCode attribute
      See Also:
    • RULE

      public static final String RULE
      Qualifier of the CustomerCouponForPromotionSourceRule.rule attribute
      See Also:
    • PROMOTION

      public static final String PROMOTION
      Qualifier of the CustomerCouponForPromotionSourceRule.promotion attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedCustomerCouponForPromotionSourceRule

      public GeneratedCustomerCouponForPromotionSourceRule()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • getCustomerCouponCode

      public String getCustomerCouponCode(SessionContext ctx)
      Generated method - Getter of the CustomerCouponForPromotionSourceRule.customerCouponCode attribute.
      Returns:
      the customerCouponCode
    • getCustomerCouponCode

      public String getCustomerCouponCode()
      Generated method - Getter of the CustomerCouponForPromotionSourceRule.customerCouponCode attribute.
      Returns:
      the customerCouponCode
    • setCustomerCouponCode

      protected void setCustomerCouponCode(SessionContext ctx, String value)
      Generated method - Setter of the CustomerCouponForPromotionSourceRule.customerCouponCode attribute.
      Parameters:
      value - the customerCouponCode
    • setCustomerCouponCode

      protected void setCustomerCouponCode(String value)
      Generated method - Setter of the CustomerCouponForPromotionSourceRule.customerCouponCode attribute.
      Parameters:
      value - the customerCouponCode
    • getPromotion

      public RuleBasedPromotion getPromotion(SessionContext ctx)
      Generated method - Getter of the CustomerCouponForPromotionSourceRule.promotion attribute.
      Returns:
      the promotion
    • getPromotion

      public RuleBasedPromotion getPromotion()
      Generated method - Getter of the CustomerCouponForPromotionSourceRule.promotion attribute.
      Returns:
      the promotion
    • setPromotion

      protected void setPromotion(SessionContext ctx, RuleBasedPromotion value)
      Generated method - Setter of the CustomerCouponForPromotionSourceRule.promotion attribute.
      Parameters:
      value - the promotion
    • setPromotion

      protected void setPromotion(RuleBasedPromotion value)
      Generated method - Setter of the CustomerCouponForPromotionSourceRule.promotion attribute.
      Parameters:
      value - the promotion
    • getRule

      public PromotionSourceRule getRule(SessionContext ctx)
      Generated method - Getter of the CustomerCouponForPromotionSourceRule.rule attribute.
      Returns:
      the rule
    • getRule

      public PromotionSourceRule getRule()
      Generated method - Getter of the CustomerCouponForPromotionSourceRule.rule attribute.
      Returns:
      the rule
    • setRule

      protected void setRule(SessionContext ctx, PromotionSourceRule value)
      Generated method - Setter of the CustomerCouponForPromotionSourceRule.rule attribute.
      Parameters:
      value - the rule
    • setRule

      protected void setRule(PromotionSourceRule value)
      Generated method - Setter of the CustomerCouponForPromotionSourceRule.rule attribute.
      Parameters:
      value - the rule