Class PromotionOrderEntryConsumedModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CODE

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

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

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

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

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

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

        public static final java.lang.String ORDERENTRYNUMBERWITHFALLBACK
        Generated constant - Attribute key of PromotionOrderEntryConsumed.orderEntryNumberWithFallback attribute defined at extension promotions.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 Detail

      • getAdjustedUnitPrice

        @Accessor(qualifier="adjustedUnitPrice",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.Long value)
        Generated method - Setter of PromotionOrderEntryConsumed.quantity attribute defined at extension promotions.
        Parameters:
        value - the quantity - The quantity.