Class 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:
  • 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(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.