Class CxPromotionActionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CxPromotionActionModel
    extends CxAbstractActionModel
    Generated model class for type CxPromotionAction first defined at extension personalizationpromotions.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String PROMOTIONID
        Generated constant - Attribute key of CxPromotionAction.promotionId attribute defined at extension personalizationpromotions.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CxPromotionActionModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxPromotionActionModel​(CatalogVersionModel _catalogVersion,
                                      java.lang.String _code,
                                      java.lang.String _promotionId,
                                      java.lang.String _target,
                                      ActionType _type)
        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 CxAbstractAction at extension personalizationservices
        _code - initial attribute declared by type AbstractAction at extension processing
        _promotionId - initial attribute declared by type CxPromotionAction at extension personalizationpromotions
        _target - initial attribute declared by type AbstractAction at extension processing
        _type - initial attribute declared by type AbstractAction at extension processing
      • CxPromotionActionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxPromotionActionModel​(CatalogVersionModel _catalogVersion,
                                      java.lang.String _code,
                                      ItemModel _owner,
                                      java.lang.String _promotionId,
                                      java.lang.String _target,
                                      ActionType _type)
        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 CxAbstractAction at extension personalizationservices
        _code - initial attribute declared by type AbstractAction at extension processing
        _owner - initial attribute declared by type Item at extension core
        _promotionId - initial attribute declared by type CxPromotionAction at extension personalizationpromotions
        _target - initial attribute declared by type AbstractAction at extension processing
        _type - initial attribute declared by type AbstractAction at extension processing
    • Method Detail

      • getPromotionId

        @Accessor(qualifier="promotionId",
                  type=GETTER)
        public java.lang.String getPromotionId()
        Generated method - Getter of the CxPromotionAction.promotionId attribute defined at extension personalizationpromotions.
        Returns:
        the promotionId - Target promotion
      • setPromotionId

        @Accessor(qualifier="promotionId",
                  type=SETTER)
        public void setPromotionId​(java.lang.String value)
        Generated method - Setter of CxPromotionAction.promotionId attribute defined at extension personalizationpromotions.
        Parameters:
        value - the promotionId - Target promotion