Class GeneratedOrderThresholdPerfectPartnerPromotion

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

public abstract class GeneratedOrderThresholdPerfectPartnerPromotion extends OrderPromotion
Generated class for type OrderThresholdPerfectPartnerPromotion.
See Also:
  • Field Details

    • THRESHOLDTOTALS

      public static final String THRESHOLDTOTALS
      Qualifier of the OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute
      See Also:
    • DISCOUNTPRODUCT

      public static final String DISCOUNTPRODUCT
      Qualifier of the OrderThresholdPerfectPartnerPromotion.discountProduct attribute
      See Also:
    • PRODUCTPRICES

      public static final String PRODUCTPRICES
      Qualifier of the OrderThresholdPerfectPartnerPromotion.productPrices attribute
      See Also:
    • INCLUDEDISCOUNTEDPRICEINTHRESHOLD

      public static final String INCLUDEDISCOUNTEDPRICEINTHRESHOLD
      Qualifier of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute
      See Also:
    • MESSAGEFIRED

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

      public static final String MESSAGECOULDHAVEFIRED
      Qualifier of the OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute
      See Also:
    • MESSAGEPRODUCTNOTHRESHOLD

      public static final String MESSAGEPRODUCTNOTHRESHOLD
      Qualifier of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute
      See Also:
    • MESSAGETHRESHOLDNOPRODUCT

      public static final String MESSAGETHRESHOLDNOPRODUCT
      Qualifier of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute
      See Also:
    • DEFAULT_INITIAL_ATTRIBUTES

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

    • GeneratedOrderThresholdPerfectPartnerPromotion

      public GeneratedOrderThresholdPerfectPartnerPromotion()
  • Method Details

    • getDefaultAttributeModes

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

      public Product getDiscountProduct(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.discountProduct attribute.
      Returns:
      the discountProduct - The product to discount if it is in the cart.
    • getDiscountProduct

      public Product getDiscountProduct()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.discountProduct attribute.
      Returns:
      the discountProduct - The product to discount if it is in the cart.
    • setDiscountProduct

      public void setDiscountProduct(SessionContext ctx, Product value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.discountProduct attribute.
      Parameters:
      value - the discountProduct - The product to discount if it is in the cart.
    • setDiscountProduct

      public void setDiscountProduct(Product value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.discountProduct attribute.
      Parameters:
      value - the discountProduct - The product to discount if it is in the cart.
    • isIncludeDiscountedPriceInThreshold

      public Boolean isIncludeDiscountedPriceInThreshold(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Returns:
      the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • isIncludeDiscountedPriceInThreshold

      public Boolean isIncludeDiscountedPriceInThreshold()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Returns:
      the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • isIncludeDiscountedPriceInThresholdAsPrimitive

      public boolean isIncludeDiscountedPriceInThresholdAsPrimitive(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Returns:
      the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • isIncludeDiscountedPriceInThresholdAsPrimitive

      public boolean isIncludeDiscountedPriceInThresholdAsPrimitive()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Returns:
      the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • setIncludeDiscountedPriceInThreshold

      public void setIncludeDiscountedPriceInThreshold(SessionContext ctx, Boolean value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Parameters:
      value - the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • setIncludeDiscountedPriceInThreshold

      public void setIncludeDiscountedPriceInThreshold(Boolean value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Parameters:
      value - the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • setIncludeDiscountedPriceInThreshold

      public void setIncludeDiscountedPriceInThreshold(SessionContext ctx, boolean value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Parameters:
      value - the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • setIncludeDiscountedPriceInThreshold

      public void setIncludeDiscountedPriceInThreshold(boolean value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute.
      Parameters:
      value - the includeDiscountedPriceInThreshold - Flag to indicate if the discounted price of the product is allowed to count towards the threshold, otherwise it does not count towards the threshold.
    • getMessageCouldHaveFired

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

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

      public String getMessageProductNoThreshold(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Returns:
      the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • getMessageProductNoThreshold

      public String getMessageProductNoThreshold()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Returns:
      the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • getAllMessageProductNoThreshold

      public Map<Language,String> getAllMessageProductNoThreshold(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Returns:
      the localized messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • getAllMessageProductNoThreshold

      public Map<Language,String> getAllMessageProductNoThreshold()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Returns:
      the localized messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • setMessageProductNoThreshold

      public void setMessageProductNoThreshold(SessionContext ctx, String value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Parameters:
      value - the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • setMessageProductNoThreshold

      public void setMessageProductNoThreshold(String value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Parameters:
      value - the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • setAllMessageProductNoThreshold

      public void setAllMessageProductNoThreshold(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Parameters:
      value - the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • setAllMessageProductNoThreshold

      public void setAllMessageProductNoThreshold(Map<Language,String> value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute.
      Parameters:
      value - the messageProductNoThreshold - The message to show when there is a partner product but the threshold has not been reached.
    • getMessageThresholdNoProduct

      public String getMessageThresholdNoProduct(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Returns:
      the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • getMessageThresholdNoProduct

      public String getMessageThresholdNoProduct()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Returns:
      the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • getAllMessageThresholdNoProduct

      public Map<Language,String> getAllMessageThresholdNoProduct(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Returns:
      the localized messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • getAllMessageThresholdNoProduct

      public Map<Language,String> getAllMessageThresholdNoProduct()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Returns:
      the localized messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • setMessageThresholdNoProduct

      public void setMessageThresholdNoProduct(SessionContext ctx, String value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Parameters:
      value - the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • setMessageThresholdNoProduct

      public void setMessageThresholdNoProduct(String value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Parameters:
      value - the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • setAllMessageThresholdNoProduct

      public void setAllMessageThresholdNoProduct(SessionContext ctx, Map<Language,String> value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Parameters:
      value - the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • setAllMessageThresholdNoProduct

      public void setAllMessageThresholdNoProduct(Map<Language,String> value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute.
      Parameters:
      value - the messageThresholdNoProduct - The message to show when the threshold is reached, but there is no partner product.
    • getProductPrices

      public Collection<PromotionPriceRow> getProductPrices(SessionContext ctx)
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.productPrices attribute.
      Returns:
      the productPrices - Fixed price for discounted product in specific currencies.
    • getProductPrices

      public Collection<PromotionPriceRow> getProductPrices()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.productPrices attribute.
      Returns:
      the productPrices - Fixed price for discounted product in specific currencies.
    • setProductPrices

      public void setProductPrices(SessionContext ctx, Collection<PromotionPriceRow> value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.productPrices attribute.
      Parameters:
      value - the productPrices - Fixed price for discounted product in specific currencies.
    • setProductPrices

      public void setProductPrices(Collection<PromotionPriceRow> value)
      Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.productPrices attribute.
      Parameters:
      value - the productPrices - Fixed price for discounted product in specific currencies.
    • getThresholdTotals

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

      public Collection<PromotionPriceRow> getThresholdTotals()
      Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute.
      Returns:
      the thresholdTotals - The cart total value threshold in specific currencies.
    • setThresholdTotals

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

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