Class GeneratedOrderThresholdPerfectPartnerPromotion

    • Field Detail

      • THRESHOLDTOTALS

        public static final java.lang.String THRESHOLDTOTALS
        Qualifier of the OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute
        See Also:
        Constant Field Values
      • DISCOUNTPRODUCT

        public static final java.lang.String DISCOUNTPRODUCT
        Qualifier of the OrderThresholdPerfectPartnerPromotion.discountProduct attribute
        See Also:
        Constant Field Values
      • PRODUCTPRICES

        public static final java.lang.String PRODUCTPRICES
        Qualifier of the OrderThresholdPerfectPartnerPromotion.productPrices attribute
        See Also:
        Constant Field Values
      • INCLUDEDISCOUNTEDPRICEINTHRESHOLD

        public static final java.lang.String INCLUDEDISCOUNTEDPRICEINTHRESHOLD
        Qualifier of the OrderThresholdPerfectPartnerPromotion.includeDiscountedPriceInThreshold attribute
        See Also:
        Constant Field Values
      • MESSAGEFIRED

        public static final java.lang.String MESSAGEFIRED
        Qualifier of the OrderThresholdPerfectPartnerPromotion.messageFired attribute
        See Also:
        Constant Field Values
      • MESSAGECOULDHAVEFIRED

        public static final java.lang.String MESSAGECOULDHAVEFIRED
        Qualifier of the OrderThresholdPerfectPartnerPromotion.messageCouldHaveFired attribute
        See Also:
        Constant Field Values
      • MESSAGEPRODUCTNOTHRESHOLD

        public static final java.lang.String MESSAGEPRODUCTNOTHRESHOLD
        Qualifier of the OrderThresholdPerfectPartnerPromotion.messageProductNoThreshold attribute
        See Also:
        Constant Field Values
      • MESSAGETHRESHOLDNOPRODUCT

        public static final java.lang.String MESSAGETHRESHOLDNOPRODUCT
        Qualifier of the OrderThresholdPerfectPartnerPromotion.messageThresholdNoProduct attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedOrderThresholdPerfectPartnerPromotion

        public GeneratedOrderThresholdPerfectPartnerPromotion()
    • Method Detail

      • 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 java.lang.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 java.lang.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,
                                                         java.lang.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​(java.lang.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 java.lang.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 java.lang.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 java.util.Map<Language,​java.lang.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 java.util.Map<Language,​java.lang.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,
                                             java.lang.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​(java.lang.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,
                                                java.util.Map<Language,​java.lang.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​(java.util.Map<Language,​java.lang.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 java.lang.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 java.lang.String getMessageFired()
        Generated method - Getter of the OrderThresholdPerfectPartnerPromotion.messageFired attribute.
        Returns:
        the messageFired - The message to show when the promotion has fired.
      • getAllMessageFired

        public java.util.Map<Language,​java.lang.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 java.util.Map<Language,​java.lang.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,
                                    java.lang.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​(java.lang.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,
                                       java.util.Map<Language,​java.lang.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​(java.util.Map<Language,​java.lang.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 java.lang.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 java.lang.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 java.util.Map<Language,​java.lang.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 java.util.Map<Language,​java.lang.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,
                                                 java.lang.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​(java.lang.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,
                                                    java.util.Map<Language,​java.lang.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​(java.util.Map<Language,​java.lang.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 java.lang.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 java.lang.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 java.util.Map<Language,​java.lang.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 java.util.Map<Language,​java.lang.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,
                                                 java.lang.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​(java.lang.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,
                                                    java.util.Map<Language,​java.lang.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​(java.util.Map<Language,​java.lang.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 java.util.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 java.util.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,
                                     java.util.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​(java.util.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 java.util.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 java.util.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,
                                       java.util.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​(java.util.Collection<PromotionPriceRow> value)
        Generated method - Setter of the OrderThresholdPerfectPartnerPromotion.thresholdTotals attribute.
        Parameters:
        value - the thresholdTotals - The cart total value threshold in specific currencies.