Class CxPromotionActionModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

      public static final String PROMOTIONID
      Generated constant - Attribute key of CxPromotionAction.promotionId attribute defined at extension personalizationpromotions.
      See Also:
  • Constructor Details

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

    • getPromotionId

      @Accessor(qualifier="promotionId", type=GETTER) public 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(String value)
      Generated method - Setter of CxPromotionAction.promotionId attribute defined at extension personalizationpromotions.
      Parameters:
      value - the promotionId - Target promotion