Class GeneratedPromotionBillingTimeRestriction

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

public abstract class GeneratedPromotionBillingTimeRestriction extends AbstractPromotionRestriction
Generated class for type PromotionBillingTimeRestriction.
See Also:
  • Field Details

    • POSITIVE

      public static final String POSITIVE
      Qualifier of the PromotionBillingTimeRestriction.positive attribute
      See Also:
    • BILLINGTIMES

      public static final String BILLINGTIMES
      Qualifier of the PromotionBillingTimeRestriction.billingTimes attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedPromotionBillingTimeRestriction

      public GeneratedPromotionBillingTimeRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<BillingTime> getBillingTimes(SessionContext ctx)
      Generated method - Getter of the PromotionBillingTimeRestriction.billingTimes attribute.
      Returns:
      the billingTimes - The billing frequencies/events the promotion is not applied for
    • getBillingTimes

      public Collection<BillingTime> getBillingTimes()
      Generated method - Getter of the PromotionBillingTimeRestriction.billingTimes attribute.
      Returns:
      the billingTimes - The billing frequencies/events the promotion is not applied for
    • setBillingTimes

      public void setBillingTimes(SessionContext ctx, Collection<BillingTime> value)
      Generated method - Setter of the PromotionBillingTimeRestriction.billingTimes attribute.
      Parameters:
      value - the billingTimes - The billing frequencies/events the promotion is not applied for
    • setBillingTimes

      public void setBillingTimes(Collection<BillingTime> value)
      Generated method - Setter of the PromotionBillingTimeRestriction.billingTimes attribute.
      Parameters:
      value - the billingTimes - The billing frequencies/events the promotion is not applied for
    • isPositive

      public Boolean isPositive(SessionContext ctx)
      Generated method - Getter of the PromotionBillingTimeRestriction.positive attribute.
      Returns:
      the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • isPositive

      public Boolean isPositive()
      Generated method - Getter of the PromotionBillingTimeRestriction.positive attribute.
      Returns:
      the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • isPositiveAsPrimitive

      public boolean isPositiveAsPrimitive(SessionContext ctx)
      Generated method - Getter of the PromotionBillingTimeRestriction.positive attribute.
      Returns:
      the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • isPositiveAsPrimitive

      public boolean isPositiveAsPrimitive()
      Generated method - Getter of the PromotionBillingTimeRestriction.positive attribute.
      Returns:
      the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • setPositive

      public void setPositive(SessionContext ctx, Boolean value)
      Generated method - Setter of the PromotionBillingTimeRestriction.positive attribute.
      Parameters:
      value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • setPositive

      public void setPositive(Boolean value)
      Generated method - Setter of the PromotionBillingTimeRestriction.positive attribute.
      Parameters:
      value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • setPositive

      public void setPositive(SessionContext ctx, boolean value)
      Generated method - Setter of the PromotionBillingTimeRestriction.positive attribute.
      Parameters:
      value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.
    • setPositive

      public void setPositive(boolean value)
      Generated method - Setter of the PromotionBillingTimeRestriction.positive attribute.
      Parameters:
      value - the positive - Specifies if this restriction is a positive (true) or negative (false) one.