Class GeneratedProductPercentageDiscountPromotion

    • Field Detail

      • PERCENTAGEDISCOUNT

        public static final java.lang.String PERCENTAGEDISCOUNT
        Qualifier of the ProductPercentageDiscountPromotion.percentageDiscount attribute
        See Also:
        Constant Field Values
      • MESSAGEFIRED

        public static final java.lang.String MESSAGEFIRED
        Qualifier of the ProductPercentageDiscountPromotion.messageFired 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

      • GeneratedProductPercentageDiscountPromotion

        public GeneratedProductPercentageDiscountPromotion()
    • Method Detail

      • getMessageFired

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

        public java.lang.Double getPercentageDiscount​(SessionContext ctx)
        Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Returns:
        the percentageDiscount - Percentage discount.
      • getPercentageDiscount

        public java.lang.Double getPercentageDiscount()
        Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Returns:
        the percentageDiscount - Percentage discount.
      • getPercentageDiscountAsPrimitive

        public double getPercentageDiscountAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Returns:
        the percentageDiscount - Percentage discount.
      • getPercentageDiscountAsPrimitive

        public double getPercentageDiscountAsPrimitive()
        Generated method - Getter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Returns:
        the percentageDiscount - Percentage discount.
      • setPercentageDiscount

        public void setPercentageDiscount​(SessionContext ctx,
                                          java.lang.Double value)
        Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Parameters:
        value - the percentageDiscount - Percentage discount.
      • setPercentageDiscount

        public void setPercentageDiscount​(java.lang.Double value)
        Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Parameters:
        value - the percentageDiscount - Percentage discount.
      • setPercentageDiscount

        public void setPercentageDiscount​(SessionContext ctx,
                                          double value)
        Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Parameters:
        value - the percentageDiscount - Percentage discount.
      • setPercentageDiscount

        public void setPercentageDiscount​(double value)
        Generated method - Setter of the ProductPercentageDiscountPromotion.percentageDiscount attribute.
        Parameters:
        value - the percentageDiscount - Percentage discount.