Class PromotionOrderAddFreeGiftActionModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.AbstractPromotionActionModel
de.hybris.platform.promotions.model.PromotionOrderAddFreeGiftActionModel
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CachedPromotionOrderAddFreeGiftActionModel

public class PromotionOrderAddFreeGiftActionModel extends AbstractPromotionActionModel
Generated model class for type PromotionOrderAddFreeGiftAction first defined at extension promotions.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String FREEPRODUCT
      Generated constant - Attribute key of PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.
      See Also:
  • Constructor Details

    • PromotionOrderAddFreeGiftActionModel

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

      public PromotionOrderAddFreeGiftActionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • PromotionOrderAddFreeGiftActionModel

      @Deprecated(since="4.1.1", forRemoval=true) public PromotionOrderAddFreeGiftActionModel(ProductModel _freeProduct)
      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:
      _freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions
    • PromotionOrderAddFreeGiftActionModel

      @Deprecated(since="4.1.1", forRemoval=true) public PromotionOrderAddFreeGiftActionModel(ProductModel _freeProduct, ItemModel _owner)
      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:
      _freeProduct - initial attribute declared by type PromotionOrderAddFreeGiftAction at extension promotions
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getFreeProduct

      @Accessor(qualifier="freeProduct", type=GETTER) public ProductModel getFreeProduct()
      Generated method - Getter of the PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.
      Returns:
      the freeProduct - The product given away as a gift
    • setFreeProduct

      @Accessor(qualifier="freeProduct", type=SETTER) public void setFreeProduct(ProductModel value)
      Generated method - Setter of PromotionOrderAddFreeGiftAction.freeProduct attribute defined at extension promotions.
      Parameters:
      value - the freeProduct - The product given away as a gift