Class GeneratedProductPercentageDiscountPromotion

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

public abstract class GeneratedProductPercentageDiscountPromotion extends ProductPromotion
Generated class for type ProductPercentageDiscountPromotion.
See Also:
  • Field Details

    • PERCENTAGEDISCOUNT

      public static final String PERCENTAGEDISCOUNT
      Qualifier of the ProductPercentageDiscountPromotion.percentageDiscount attribute
      See Also:
    • MESSAGEFIRED

      public static final String MESSAGEFIRED
      Qualifier of the ProductPercentageDiscountPromotion.messageFired attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedProductPercentageDiscountPromotion

      public GeneratedProductPercentageDiscountPromotion()
  • Method Details

    • getDefaultAttributeModes

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

      public String getMessageFired(SessionContext ctx)
      Generated method - Getter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Returns:
      the messageFired - The message to show when the promotion has fired.
    • getMessageFired

      public String getMessageFired()
      Generated method - Getter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Returns:
      the messageFired - The message to show when the promotion has fired.
    • getAllMessageFired

      public Map<Language,String> getAllMessageFired(SessionContext ctx)
      Generated method - Getter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Returns:
      the localized messageFired - The message to show when the promotion has fired.
    • getAllMessageFired

      public Map<Language,String> getAllMessageFired()
      Generated method - Getter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Returns:
      the localized messageFired - The message to show when the promotion has fired.
    • setMessageFired

      public void setMessageFired(SessionContext ctx, String value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • setMessageFired

      public void setMessageFired(String value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • setAllMessageFired

      public void setAllMessageFired(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • setAllMessageFired

      public void setAllMessageFired(Map<Language,String> value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • getPercentageDiscount

      public Double getPercentageDiscount(SessionContext ctx)
      Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Returns:
      the percentageDiscount - Percentage discount.
    • getPercentageDiscount

      public Double getPercentageDiscount()
      Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Returns:
      the percentageDiscount - Percentage discount.
    • getPercentageDiscountAsPrimitive

      public double getPercentageDiscountAsPrimitive(SessionContext ctx)
      Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Returns:
      the percentageDiscount - Percentage discount.
    • getPercentageDiscountAsPrimitive

      public double getPercentageDiscountAsPrimitive()
      Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Returns:
      the percentageDiscount - Percentage discount.
    • setPercentageDiscount

      public void setPercentageDiscount(SessionContext ctx, Double value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Parameters:
      value - the percentageDiscount - Percentage discount.
    • setPercentageDiscount

      public void setPercentageDiscount(Double value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Parameters:
      value - the percentageDiscount - Percentage discount.
    • setPercentageDiscount

      public void setPercentageDiscount(SessionContext ctx, double value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Parameters:
      value - the percentageDiscount - Percentage discount.
    • setPercentageDiscount

      public void setPercentageDiscount(double value)
      Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
      Parameters:
      value - the percentageDiscount - Percentage discount.