Class GeneratedProductBOGOFPromotion

    • Field Detail

      • QUALIFYINGCOUNT

        public static final java.lang.String QUALIFYINGCOUNT
        Qualifier of the ProductBOGOFPromotion.qualifyingCount attribute
        See Also:
        Constant Field Values
      • FREECOUNT

        public static final java.lang.String FREECOUNT
        Qualifier of the ProductBOGOFPromotion.freeCount attribute
        See Also:
        Constant Field Values
      • MESSAGEFIRED

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

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

      • GeneratedProductBOGOFPromotion

        public GeneratedProductBOGOFPromotion()
    • Method Detail

      • getFreeCount

        public java.lang.Integer getFreeCount​(SessionContext ctx)
        Generated method - Getter of the ProductBOGOFPromotion.freeCount attribute.
        Returns:
        the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • getFreeCount

        public java.lang.Integer getFreeCount()
        Generated method - Getter of the ProductBOGOFPromotion.freeCount attribute.
        Returns:
        the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • getFreeCountAsPrimitive

        public int getFreeCountAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the ProductBOGOFPromotion.freeCount attribute.
        Returns:
        the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • getFreeCountAsPrimitive

        public int getFreeCountAsPrimitive()
        Generated method - Getter of the ProductBOGOFPromotion.freeCount attribute.
        Returns:
        the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • setFreeCount

        public void setFreeCount​(SessionContext ctx,
                                 java.lang.Integer value)
        Generated method - Setter of the ProductBOGOFPromotion.freeCount attribute.
        Parameters:
        value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • setFreeCount

        public void setFreeCount​(java.lang.Integer value)
        Generated method - Setter of the ProductBOGOFPromotion.freeCount attribute.
        Parameters:
        value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • setFreeCount

        public void setFreeCount​(SessionContext ctx,
                                 int value)
        Generated method - Setter of the ProductBOGOFPromotion.freeCount attribute.
        Parameters:
        value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • setFreeCount

        public void setFreeCount​(int value)
        Generated method - Setter of the ProductBOGOFPromotion.freeCount attribute.
        Parameters:
        value - the freeCount - The number of products within the cart to give away free. (For standard BOGOF this is 1).
      • getMessageCouldHaveFired

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

        public java.lang.Integer getQualifyingCount​(SessionContext ctx)
        Generated method - Getter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Returns:
        the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • getQualifyingCount

        public java.lang.Integer getQualifyingCount()
        Generated method - Getter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Returns:
        the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • getQualifyingCountAsPrimitive

        public int getQualifyingCountAsPrimitive​(SessionContext ctx)
        Generated method - Getter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Returns:
        the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • getQualifyingCountAsPrimitive

        public int getQualifyingCountAsPrimitive()
        Generated method - Getter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Returns:
        the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • setQualifyingCount

        public void setQualifyingCount​(SessionContext ctx,
                                       java.lang.Integer value)
        Generated method - Setter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Parameters:
        value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • setQualifyingCount

        public void setQualifyingCount​(java.lang.Integer value)
        Generated method - Setter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Parameters:
        value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • setQualifyingCount

        public void setQualifyingCount​(SessionContext ctx,
                                       int value)
        Generated method - Setter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Parameters:
        value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).
      • setQualifyingCount

        public void setQualifyingCount​(int value)
        Generated method - Setter of the ProductBOGOFPromotion.qualifyingCount attribute.
        Parameters:
        value - the qualifyingCount - The number of products required in the cart to activate the promotion. (For standard BOGOF this is 2).