Class PromotionSourceRuleModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _PROMOTIONGROUP2PROMOTIONSOURCERULERELATION

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

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

      public static final String WEBSITE
      Generated constant - Attribute key of PromotionSourceRule.website attribute defined at extension promotionengineservices.
      See Also:
  • Constructor Details

    • 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(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(String _code, ItemModel _owner, 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 Details

    • getExcludeFromStorefrontDisplay

      @Accessor(qualifier="excludeFromStorefrontDisplay", type=GETTER) public 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(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