Class PromotionOrderEntryConsumedModel

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

public class PromotionOrderEntryConsumedModel extends ItemModel
Generated model class for type PromotionOrderEntryConsumed 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 PromotionOrderEntryConsumed.adjustedUnitPrice attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionOrderEntryConsumed.code attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntry attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntryNumber attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntryNumberWithFallback attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions.
    static final String
    Generated constant - Attribute key of PromotionOrderEntryConsumed.quantity 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
    PromotionOrderEntryConsumedModel(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 PromotionOrderEntryConsumed.adjustedUnitPrice attribute defined at extension promotions.
    Generated method - Getter of the PromotionOrderEntryConsumed.code attribute defined at extension promotions.
    Generated method - Getter of the PromotionOrderEntryConsumed.orderEntry attribute defined at extension promotions.
    Generated method - Getter of the PromotionOrderEntryConsumed.orderEntryNumber attribute defined at extension promotions.
    Generated method - Getter of the PromotionOrderEntryConsumed.orderEntryNumberWithFallback dynamic attribute defined at extension promotions.
    Generated method - Getter of the PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions.
    Generated method - Getter of the PromotionOrderEntryConsumed.quantity attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionOrderEntryConsumed.adjustedUnitPrice attribute defined at extension promotions.
    void
    setCode(String value)
    Generated method - Setter of PromotionOrderEntryConsumed.code attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionOrderEntryConsumed.orderEntry attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionOrderEntryConsumed.orderEntryNumber attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions.
    void
    Generated method - Setter of PromotionOrderEntryConsumed.quantity 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:
    • CODE

      public static final String CODE
      Generated constant - Attribute key of PromotionOrderEntryConsumed.code attribute defined at extension promotions.
      See Also:
    • PROMOTIONRESULT

      public static final String PROMOTIONRESULT
      Generated constant - Attribute key of PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions.
      See Also:
    • QUANTITY

      public static final String QUANTITY
      Generated constant - Attribute key of PromotionOrderEntryConsumed.quantity attribute defined at extension promotions.
      See Also:
    • ADJUSTEDUNITPRICE

      public static final String ADJUSTEDUNITPRICE
      Generated constant - Attribute key of PromotionOrderEntryConsumed.adjustedUnitPrice attribute defined at extension promotions.
      See Also:
    • ORDERENTRY

      public static final String ORDERENTRY
      Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntry attribute defined at extension promotions.
      See Also:
    • ORDERENTRYNUMBER

      public static final String ORDERENTRYNUMBER
      Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntryNumber attribute defined at extension promotions.
      See Also:
    • ORDERENTRYNUMBERWITHFALLBACK

      public static final String ORDERENTRYNUMBERWITHFALLBACK
      Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntryNumberWithFallback attribute defined at extension promotions.
      See Also:
  • Constructor Details

    • PromotionOrderEntryConsumedModel

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

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

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

    • getAdjustedUnitPrice

      @Accessor(qualifier="adjustedUnitPrice", type=GETTER) public Double getAdjustedUnitPrice()
      Generated method - Getter of the PromotionOrderEntryConsumed.adjustedUnitPrice attribute defined at extension promotions.
      Returns:
      the adjustedUnitPrice - The quantity.
    • getCode

      @Accessor(qualifier="code", type=GETTER) public String getCode()
      Generated method - Getter of the PromotionOrderEntryConsumed.code attribute defined at extension promotions.
      Returns:
      the code - The code for this consumed entry
    • getOrderEntry

      @Accessor(qualifier="orderEntry", type=GETTER) public AbstractOrderEntryModel getOrderEntry()
      Generated method - Getter of the PromotionOrderEntryConsumed.orderEntry attribute defined at extension promotions.
      Returns:
      the orderEntry - The order entry.
    • getOrderEntryNumber

      @Accessor(qualifier="orderEntryNumber", type=GETTER) public Integer getOrderEntryNumber()
      Generated method - Getter of the PromotionOrderEntryConsumed.orderEntryNumber attribute defined at extension promotions.
      Returns:
      the orderEntryNumber - The order entry number.
    • getOrderEntryNumberWithFallback

      @Accessor(qualifier="orderEntryNumberWithFallback", type=GETTER) public Integer getOrderEntryNumberWithFallback()
      Generated method - Getter of the PromotionOrderEntryConsumed.orderEntryNumberWithFallback dynamic attribute defined at extension promotions.
      Returns:
      the orderEntryNumberWithFallback
    • getPromotionResult

      @Accessor(qualifier="promotionResult", type=GETTER) public PromotionResultModel getPromotionResult()
      Generated method - Getter of the PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions.
      Returns:
      the promotionResult - The promotion result.
    • getQuantity

      @Accessor(qualifier="quantity", type=GETTER) public Long getQuantity()
      Generated method - Getter of the PromotionOrderEntryConsumed.quantity attribute defined at extension promotions.
      Returns:
      the quantity - The quantity.
    • setAdjustedUnitPrice

      @Accessor(qualifier="adjustedUnitPrice", type=SETTER) public void setAdjustedUnitPrice(Double value)
      Generated method - Setter of PromotionOrderEntryConsumed.adjustedUnitPrice attribute defined at extension promotions.
      Parameters:
      value - the adjustedUnitPrice - The quantity.
    • setCode

      @Accessor(qualifier="code", type=SETTER) public void setCode(String value)
      Generated method - Setter of PromotionOrderEntryConsumed.code attribute defined at extension promotions.
      Parameters:
      value - the code - The code for this consumed entry
    • setOrderEntry

      @Accessor(qualifier="orderEntry", type=SETTER) public void setOrderEntry(AbstractOrderEntryModel value)
      Generated method - Setter of PromotionOrderEntryConsumed.orderEntry attribute defined at extension promotions.
      Parameters:
      value - the orderEntry - The order entry.
    • setOrderEntryNumber

      @Accessor(qualifier="orderEntryNumber", type=SETTER) public void setOrderEntryNumber(Integer value)
      Generated method - Setter of PromotionOrderEntryConsumed.orderEntryNumber attribute defined at extension promotions.
      Parameters:
      value - the orderEntryNumber - The order entry number.
    • setPromotionResult

      @Accessor(qualifier="promotionResult", type=SETTER) public void setPromotionResult(PromotionResultModel value)
      Generated method - Setter of PromotionOrderEntryConsumed.promotionResult attribute defined at extension promotions.
      Parameters:
      value - the promotionResult - The promotion result.
    • setQuantity

      @Accessor(qualifier="quantity", type=SETTER) public void setQuantity(Long value)
      Generated method - Setter of PromotionOrderEntryConsumed.quantity attribute defined at extension promotions.
      Parameters:
      value - the quantity - The quantity.