Class DiscountRowModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
All Implemented Interfaces:
Serializable

public class DiscountRowModel extends AbstractDiscountRowModel
Generated model class for type DiscountRow first defined at extension europe1.
See Also:
  • Field Details

    • _TYPECODE

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

      public static final String _PRODUCT2OWNEUROPE1DISCOUNTS
      Generated relation code constant for relation Product2OwnEurope1Discounts defining source attribute product in extension europe1.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of DiscountRow.catalogVersion attribute defined at extension europe1.
      See Also:
    • ASTARGETPRICE

      public static final String ASTARGETPRICE
      Generated constant - Attribute key of DiscountRow.asTargetPrice attribute defined at extension europe1.
      See Also:
  • Constructor Details

    • DiscountRowModel

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

      public DiscountRowModel(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
    • DiscountRowModel

      @Deprecated(since="4.1.1", forRemoval=true) public DiscountRowModel(DiscountModel _discount)
      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:
      _discount - initial attribute declared by type AbstractDiscountRow at extension europe1
    • DiscountRowModel

      @Deprecated(since="4.1.1", forRemoval=true) public DiscountRowModel(DiscountModel _discount, ItemModel _owner, ProductDiscountGroup _pg, ProductModel _product, String _productId)
      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:
      _discount - initial attribute declared by type AbstractDiscountRow at extension europe1
      _owner - initial attribute declared by type Item at extension core
      _pg - initial attribute declared by type AbstractDiscountRow at extension europe1
      _product - initial attribute declared by type DiscountRow at extension europe1
      _productId - initial attribute declared by type PDTRow at extension europe1
  • Method Details

    • getAsTargetPrice

      @Accessor(qualifier="asTargetPrice", type=GETTER) public Boolean getAsTargetPrice()
      Generated method - Getter of the DiscountRow.asTargetPrice attribute defined at extension europe1.
      Returns:
      the asTargetPrice
    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the DiscountRow.catalogVersion attribute defined at extension europe1.
      Returns:
      the catalogVersion
    • setAsTargetPrice

      @Accessor(qualifier="asTargetPrice", type=SETTER) public void setAsTargetPrice(Boolean value)
      Generated method - Setter of DiscountRow.asTargetPrice attribute defined at extension europe1.
      Parameters:
      value - the asTargetPrice
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of DiscountRow.catalogVersion attribute defined at extension europe1.
      Parameters:
      value - the catalogVersion
    • setProduct

      @Accessor(qualifier="product", type=SETTER) public void setProduct(ProductModel value)
      Generated method - Initial setter of PDTRow.product attribute defined at extension europe1 and redeclared at extension europe1. Can only be used at creation of model - before first save. Will only accept values of type ProductModel.
      Overrides:
      setProduct in class PDTRowModel
      Parameters:
      value - the product