Class GeneratedProductMultiBuyPromotion

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

public abstract class GeneratedProductMultiBuyPromotion extends ProductPromotion
Generated class for type ProductMultiBuyPromotion.
See Also:
  • Field Details

    • QUALIFYINGCOUNT

      public static final String QUALIFYINGCOUNT
      Qualifier of the ProductMultiBuyPromotion.qualifyingCount attribute
      See Also:
    • BUNDLEPRICES

      public static final String BUNDLEPRICES
      Qualifier of the ProductMultiBuyPromotion.bundlePrices attribute
      See Also:
    • MESSAGEFIRED

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

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

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

    • GeneratedProductMultiBuyPromotion

      public GeneratedProductMultiBuyPromotion()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<PromotionPriceRow> getBundlePrices(SessionContext ctx)
      Generated method - Getter of the ProductMultiBuyPromotion.bundlePrices attribute.
      Returns:
      the bundlePrices - Fixed price for whole multi-buy bundle in specific currencies.
    • getBundlePrices

      public Collection<PromotionPriceRow> getBundlePrices()
      Generated method - Getter of the ProductMultiBuyPromotion.bundlePrices attribute.
      Returns:
      the bundlePrices - Fixed price for whole multi-buy bundle in specific currencies.
    • setBundlePrices

      public void setBundlePrices(SessionContext ctx, Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductMultiBuyPromotion.bundlePrices attribute.
      Parameters:
      value - the bundlePrices - Fixed price for whole multi-buy bundle in specific currencies.
    • setBundlePrices

      public void setBundlePrices(Collection<PromotionPriceRow> value)
      Generated method - Setter of the ProductMultiBuyPromotion.bundlePrices attribute.
      Parameters:
      value - the bundlePrices - Fixed price for whole multi-buy bundle in specific currencies.
    • getMessageCouldHaveFired

      public String getMessageCouldHaveFired(SessionContext ctx)
      Generated method - Getter of the ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.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 ProductMultiBuyPromotion.messageFired attribute.
      Returns:
      the messageFired - The message to show when the promotion has fired.
    • getMessageFired

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

      public Integer getQualifyingCount(SessionContext ctx)
      Generated method - Getter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Returns:
      the qualifyingCount - The number of products required to qualify for the promotion.
    • getQualifyingCount

      public Integer getQualifyingCount()
      Generated method - Getter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Returns:
      the qualifyingCount - The number of products required to qualify for the promotion.
    • getQualifyingCountAsPrimitive

      public int getQualifyingCountAsPrimitive(SessionContext ctx)
      Generated method - Getter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Returns:
      the qualifyingCount - The number of products required to qualify for the promotion.
    • getQualifyingCountAsPrimitive

      public int getQualifyingCountAsPrimitive()
      Generated method - Getter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Returns:
      the qualifyingCount - The number of products required to qualify for the promotion.
    • setQualifyingCount

      public void setQualifyingCount(SessionContext ctx, Integer value)
      Generated method - Setter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Parameters:
      value - the qualifyingCount - The number of products required to qualify for the promotion.
    • setQualifyingCount

      public void setQualifyingCount(Integer value)
      Generated method - Setter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Parameters:
      value - the qualifyingCount - The number of products required to qualify for the promotion.
    • setQualifyingCount

      public void setQualifyingCount(SessionContext ctx, int value)
      Generated method - Setter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Parameters:
      value - the qualifyingCount - The number of products required to qualify for the promotion.
    • setQualifyingCount

      public void setQualifyingCount(int value)
      Generated method - Setter of the ProductMultiBuyPromotion.qualifyingCount attribute.
      Parameters:
      value - the qualifyingCount - The number of products required to qualify for the promotion.