Class GeneratedProductThresholdPriceDiscountPromotion

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

public abstract class GeneratedProductThresholdPriceDiscountPromotion extends ProductPromotion
Generated class for type ProductThresholdPriceDiscountPromotion.
See Also:
  • Field Details

    • PRODUCTTHRESHOLDPRICE

      public static final String PRODUCTTHRESHOLDPRICE
      Qualifier of the ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute
      See Also:
    • PRODUCTPRICEDISCOUNT

      public static final String PRODUCTPRICEDISCOUNT
      Qualifier of the ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute
      See Also:
    • MESSAGEFIRED

      public static final String MESSAGEFIRED
      Qualifier of the ProductThresholdPriceDiscountPromotion.messageFired attribute
      See Also:
    • MESSAGECOULDHAVEFIRED

      public static final String MESSAGECOULDHAVEFIRED
      Qualifier of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedProductThresholdPriceDiscountPromotion

      public GeneratedProductThresholdPriceDiscountPromotion()
  • Method Details

    • getDefaultAttributeModes

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

      public String getMessageCouldHaveFired(SessionContext ctx)
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Returns:
      the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getMessageCouldHaveFired

      public String getMessageCouldHaveFired()
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Returns:
      the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getAllMessageCouldHaveFired

      public Map<Language,String> getAllMessageCouldHaveFired(SessionContext ctx)
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Returns:
      the localized messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getAllMessageCouldHaveFired

      public Map<Language,String> getAllMessageCouldHaveFired()
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Returns:
      the localized messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setMessageCouldHaveFired

      public void setMessageCouldHaveFired(SessionContext ctx, String value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setMessageCouldHaveFired

      public void setMessageCouldHaveFired(String value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setAllMessageCouldHaveFired

      public void setAllMessageCouldHaveFired(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • setAllMessageCouldHaveFired

      public void setAllMessageCouldHaveFired(Map<Language,String> value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.messageCouldHaveFired attribute.
      Parameters:
      value - the messageCouldHaveFired - The message to show when the promotion could have potentially fire.
    • getMessageFired

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

      public String getMessageFired()
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.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 ProductThresholdPriceDiscountPromotion.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 ProductThresholdPriceDiscountPromotion.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 ProductThresholdPriceDiscountPromotion.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 ProductThresholdPriceDiscountPromotion.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 ProductThresholdPriceDiscountPromotion.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 ProductThresholdPriceDiscountPromotion.messageFired attribute.
      Parameters:
      value - the messageFired - The message to show when the promotion has fired.
    • getProductPriceDiscount

      public Collection<PromotionPriceRow> getProductPriceDiscount(SessionContext ctx)
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute.
      Returns:
      the productPriceDiscount - Fixed price for discount in specific currencies.
    • getProductPriceDiscount

      public Collection<PromotionPriceRow> getProductPriceDiscount()
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute.
      Returns:
      the productPriceDiscount - Fixed price for discount in specific currencies.
    • setProductPriceDiscount

      public void setProductPriceDiscount(SessionContext ctx, Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute.
      Parameters:
      value - the productPriceDiscount - Fixed price for discount in specific currencies.
    • setProductPriceDiscount

      public void setProductPriceDiscount(Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.productPriceDiscount attribute.
      Parameters:
      value - the productPriceDiscount - Fixed price for discount in specific currencies.
    • getProductThresholdPrice

      public Collection<PromotionPriceRow> getProductThresholdPrice(SessionContext ctx)
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute.
      Returns:
      the productThresholdPrice - The cart total value threshold in specific currencies.
    • getProductThresholdPrice

      public Collection<PromotionPriceRow> getProductThresholdPrice()
      Generated method - Getter of the ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute.
      Returns:
      the productThresholdPrice - The cart total value threshold in specific currencies.
    • setProductThresholdPrice

      public void setProductThresholdPrice(SessionContext ctx, Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute.
      Parameters:
      value - the productThresholdPrice - The cart total value threshold in specific currencies.
    • setProductThresholdPrice

      public void setProductThresholdPrice(Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductThresholdPriceDiscountPromotion.productThresholdPrice attribute.
      Parameters:
      value - the productThresholdPrice - The cart total value threshold in specific currencies.