Class PromotionPriceRowModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.promotions.model.PromotionPriceRowModel
All Implemented Interfaces:
Serializable

public class PromotionPriceRowModel extends ItemModel
Generated model class for type PromotionPriceRow first defined at extension promotions.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of PromotionPriceRow.currency attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionPriceRow.price attribute defined at extension promotions.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    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
    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
    PromotionPriceRowModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the PromotionPriceRow.currency attribute defined at extension promotions.
    Generated method - Getter of the PromotionPriceRow.price attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionPriceRow.currency attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionPriceRow.price attribute defined at extension promotions.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

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

      public static final String CURRENCY
      Generated constant - Attribute key of PromotionPriceRow.currency attribute defined at extension promotions.
      See Also:
    • PRICE

      public static final String PRICE
      Generated constant - Attribute key of PromotionPriceRow.price attribute defined at extension promotions.
      See Also:
  • Constructor Details

    • PromotionPriceRowModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public PromotionPriceRowModel(CurrencyModel _currency)
      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:
      _currency - initial attribute declared by type PromotionPriceRow at extension promotions
    • PromotionPriceRowModel

      @Deprecated(since="4.1.1", forRemoval=true) public PromotionPriceRowModel(CurrencyModel _currency, 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:
      _currency - initial attribute declared by type PromotionPriceRow at extension promotions
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getCurrency

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the PromotionPriceRow.currency attribute defined at extension promotions.
      Returns:
      the currency
    • getPrice

      @Accessor(qualifier="price", type=GETTER) public Double getPrice()
      Generated method - Getter of the PromotionPriceRow.price attribute defined at extension promotions.
      Returns:
      the price
    • setCurrency

      @Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
      Generated method - Setter of PromotionPriceRow.currency attribute defined at extension promotions.
      Parameters:
      value - the currency
    • setPrice

      @Accessor(qualifier="price", type=SETTER) public void setPrice(Double value)
      Generated method - Setter of PromotionPriceRow.price attribute defined at extension promotions.
      Parameters:
      value - the price