Class PromotionSourceRuleModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class PromotionSourceRuleModel
    extends SourceRuleModel
    Generated model class for type PromotionSourceRule first defined at extension promotionengineservices.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _PROMOTIONGROUP2PROMOTIONSOURCERULERELATION

        public static final java.lang.String _PROMOTIONGROUP2PROMOTIONSOURCERULERELATION
        Generated relation code constant for relation PromotionGroup2PromotionSourceRuleRelation defining source attribute website in extension promotionengineservices.
        See Also:
        Constant Field Values
      • EXCLUDEFROMSTOREFRONTDISPLAY

        public static final java.lang.String EXCLUDEFROMSTOREFRONTDISPLAY
        Generated constant - Attribute key of PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
      • WEBSITE

        public static final java.lang.String WEBSITE
        Generated constant - Attribute key of PromotionSourceRule.website attribute defined at extension promotionengineservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PromotionSourceRuleModel

        public PromotionSourceRuleModel()
        Generated constructor - Default constructor for generic creation.
      • PromotionSourceRuleModel

        public PromotionSourceRuleModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • PromotionSourceRuleModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PromotionSourceRuleModel​(java.lang.String _code)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _code - initial attribute declared by type AbstractRule at extension ruleengineservices
      • PromotionSourceRuleModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public PromotionSourceRuleModel​(java.lang.String _code,
                                        ItemModel _owner,
                                        java.lang.String _uuid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _code - initial attribute declared by type AbstractRule at extension ruleengineservices
        _owner - initial attribute declared by type Item at extension core
        _uuid - initial attribute declared by type AbstractRule at extension ruleengineservices
    • Method Detail

      • getExcludeFromStorefrontDisplay

        @Accessor(qualifier="excludeFromStorefrontDisplay",
                  type=GETTER)
        public java.lang.Boolean getExcludeFromStorefrontDisplay()
        Generated method - Getter of the PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices.
        Returns:
        the excludeFromStorefrontDisplay - flag to indicate whether this promotion will be displayed in the storefront (e.g. product details page etc)
      • getWebsite

        @Accessor(qualifier="website",
                  type=GETTER)
        public PromotionGroupModel getWebsite()
        Generated method - Getter of the PromotionSourceRule.website attribute defined at extension promotionengineservices.
        Returns:
        the website
      • setExcludeFromStorefrontDisplay

        @Accessor(qualifier="excludeFromStorefrontDisplay",
                  type=SETTER)
        public void setExcludeFromStorefrontDisplay​(java.lang.Boolean value)
        Generated method - Setter of PromotionSourceRule.excludeFromStorefrontDisplay attribute defined at extension promotionengineservices.
        Parameters:
        value - the excludeFromStorefrontDisplay - flag to indicate whether this promotion will be displayed in the storefront (e.g. product details page etc)
      • setWebsite

        @Accessor(qualifier="website",
                  type=SETTER)
        public void setWebsite​(PromotionGroupModel value)
        Generated method - Setter of PromotionSourceRule.website attribute defined at extension promotionengineservices.
        Parameters:
        value - the website