Class GeneratedOrderThresholdFreeVoucherPromotion

    • Field Detail

      • THRESHOLDTOTALS

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

        public static final java.lang.String FREEVOUCHER
        Qualifier of the OrderThresholdFreeVoucherPromotion.freeVoucher attribute
        See Also:
        Constant Field Values
      • MESSAGEFIRED

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

        public static final java.lang.String MESSAGECOULDHAVEFIRED
        Qualifier of the OrderThresholdFreeVoucherPromotion.messageCouldHaveFired 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

      • GeneratedOrderThresholdFreeVoucherPromotion

        public GeneratedOrderThresholdFreeVoucherPromotion()
    • Method Detail

      • getFreeVoucher

        public Voucher getFreeVoucher​(SessionContext ctx)
        Generated method - Getter of the OrderThresholdFreeVoucherPromotion.freeVoucher attribute.
        Returns:
        the freeVoucher - The voucher.
      • getFreeVoucher

        public Voucher getFreeVoucher()
        Generated method - Getter of the OrderThresholdFreeVoucherPromotion.freeVoucher attribute.
        Returns:
        the freeVoucher - The voucher.
      • setFreeVoucher

        public void setFreeVoucher​(SessionContext ctx,
                                   Voucher value)
        Generated method - Setter of the OrderThresholdFreeVoucherPromotion.freeVoucher attribute.
        Parameters:
        value - the freeVoucher - The voucher.
      • setFreeVoucher

        public void setFreeVoucher​(Voucher value)
        Generated method - Setter of the OrderThresholdFreeVoucherPromotion.freeVoucher attribute.
        Parameters:
        value - the freeVoucher - The voucher.
      • getMessageCouldHaveFired

        public java.lang.String getMessageCouldHaveFired​(SessionContext ctx)
        Generated method - Getter of the OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.messageFired attribute.
        Parameters:
        value - the messageFired - The message to show when the promotion has fired.
      • getThresholdTotals

        public java.util.Collection<PromotionPriceRow> getThresholdTotals​(SessionContext ctx)
        Generated method - Getter of the OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.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 OrderThresholdFreeVoucherPromotion.thresholdTotals attribute.
        Parameters:
        value - the thresholdTotals - The cart total value threshold in specific currencies.