Class CMSSAPOfferRecoComponentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSSAPOfferRecoComponentModel
    extends SimpleCMSComponentModel
    Generated model class for type CMSSAPOfferRecoComponent first defined at extension sapymktrecommendation.

    Represents offer recommendations for given context from SAP Marketing.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String RECOTYPE
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.recotype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • LEADINGITEMTYPE

        public static final java.lang.String LEADINGITEMTYPE
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.leadingitemtype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • LEADINGITEMDSTYPE

        public static final java.lang.String LEADINGITEMDSTYPE
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • CARTITEMDSTYPE

        public static final java.lang.String CARTITEMDSTYPE
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.cartitemdstype attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • CONTENTPOSITION

        public static final java.lang.String CONTENTPOSITION
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.contentposition attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • INCLUDECART

        public static final java.lang.String INCLUDECART
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.includecart attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
      • INCLUDERECENT

        public static final java.lang.String INCLUDERECENT
        Generated constant - Attribute key of CMSSAPOfferRecoComponent.includerecent attribute defined at extension sapymktrecommendation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSSAPOfferRecoComponentModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSSAPOfferRecoComponentModel​(CatalogVersionModel _catalogVersion,
                                             java.lang.String _uid)
        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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • CMSSAPOfferRecoComponentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSSAPOfferRecoComponentModel​(CatalogVersionModel _catalogVersion,
                                             ItemModel _owner,
                                             java.lang.String _uid)
        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:
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getCartitemdstype

        @Accessor(qualifier="cartitemdstype",
                  type=GETTER)
        public java.lang.String getCartitemdstype()
        Generated method - Getter of the CMSSAPOfferRecoComponent.cartitemdstype attribute defined at extension sapymktrecommendation.
        Returns:
        the cartitemdstype - Attribute that stores the cart data source type to be used
      • getContentposition

        @Accessor(qualifier="contentposition",
                  type=GETTER)
        public java.lang.String getContentposition()
        Generated method - Getter of the CMSSAPOfferRecoComponent.contentposition attribute defined at extension sapymktrecommendation.
        Returns:
        the contentposition - Attribute that stores position of offer on page
      • getLeadingitemdstype

        @Accessor(qualifier="leadingitemdstype",
                  type=GETTER)
        public java.lang.String getLeadingitemdstype()
        Generated method - Getter of the CMSSAPOfferRecoComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.
        Returns:
        the leadingitemdstype - Attribute that stores the leading item data source type to be used
      • getLeadingitemtype

        @Accessor(qualifier="leadingitemtype",
                  type=GETTER)
        public java.lang.String getLeadingitemtype()
        Generated method - Getter of the CMSSAPOfferRecoComponent.leadingitemtype attribute defined at extension sapymktrecommendation.
        Returns:
        the leadingitemtype - Attribute that stores the item type to be used
      • getRecotype

        @Accessor(qualifier="recotype",
                  type=GETTER)
        public java.lang.String getRecotype()
        Generated method - Getter of the CMSSAPOfferRecoComponent.recotype attribute defined at extension sapymktrecommendation.
        Returns:
        the recotype - Attribute that stores the recommendation scenario to be used
      • isIncludecart

        @Accessor(qualifier="includecart",
                  type=GETTER)
        public boolean isIncludecart()
        Generated method - Getter of the CMSSAPOfferRecoComponent.includecart attribute defined at extension sapymktrecommendation.
        Returns:
        the includecart - Include the basket items as leading items
      • isIncluderecent

        @Accessor(qualifier="includerecent",
                  type=GETTER)
        public boolean isIncluderecent()
        Generated method - Getter of the CMSSAPOfferRecoComponent.includerecent attribute defined at extension sapymktrecommendation.
        Returns:
        the includerecent - Include the recently visited products as leading items
      • setCartitemdstype

        @Accessor(qualifier="cartitemdstype",
                  type=SETTER)
        public void setCartitemdstype​(java.lang.String value)
        Generated method - Setter of CMSSAPOfferRecoComponent.cartitemdstype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the cartitemdstype - Attribute that stores the cart data source type to be used
      • setContentposition

        @Accessor(qualifier="contentposition",
                  type=SETTER)
        public void setContentposition​(java.lang.String value)
        Generated method - Setter of CMSSAPOfferRecoComponent.contentposition attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the contentposition - Attribute that stores position of offer on page
      • setIncludecart

        @Accessor(qualifier="includecart",
                  type=SETTER)
        public void setIncludecart​(boolean value)
        Generated method - Setter of CMSSAPOfferRecoComponent.includecart attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the includecart - Include the basket items as leading items
      • setIncluderecent

        @Accessor(qualifier="includerecent",
                  type=SETTER)
        public void setIncluderecent​(boolean value)
        Generated method - Setter of CMSSAPOfferRecoComponent.includerecent attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the includerecent - Include the recently visited products as leading items
      • setLeadingitemdstype

        @Accessor(qualifier="leadingitemdstype",
                  type=SETTER)
        public void setLeadingitemdstype​(java.lang.String value)
        Generated method - Setter of CMSSAPOfferRecoComponent.leadingitemdstype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the leadingitemdstype - Attribute that stores the leading item data source type to be used
      • setLeadingitemtype

        @Accessor(qualifier="leadingitemtype",
                  type=SETTER)
        public void setLeadingitemtype​(java.lang.String value)
        Generated method - Setter of CMSSAPOfferRecoComponent.leadingitemtype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the leadingitemtype - Attribute that stores the item type to be used
      • setRecotype

        @Accessor(qualifier="recotype",
                  type=SETTER)
        public void setRecotype​(java.lang.String value)
        Generated method - Setter of CMSSAPOfferRecoComponent.recotype attribute defined at extension sapymktrecommendation.
        Parameters:
        value - the recotype - Attribute that stores the recommendation scenario to be used