dw.order
Class AbstractItem
Properties
grossPrice
:
Money
(Read Only)
Gross price of item.
itemID
:
String
(Read Only)
The item-id used for referencing between items
lineItem
:
LineItem
(Read Only)
The Order Product- or Shipping- LineItem associated with this item. Should never return null.
netPrice
:
Money
(Read Only)
Net price of item.
orderItem
:
OrderItem
(Read Only)
The order item extensions related to this item. Should never return null.
tax
:
Money
(Read Only)
Total tax for item.
taxBasis
:
Money
(Read Only)
Price of entire item on which tax calculation is based. Same as getNetPrice()
or getGrossPrice() depending on whether the order is based on net or gross prices.
taxItems
:
Collection
(Read Only)
Tax items representing a tax breakdown
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
To get an instance of this class, use one of the subclass constructors.
Method Summary
getGrossPrice()
:
Money
Gross price of item.
getLineItem()
:
LineItem
Returns the Order Product- or Shipping- LineItem associated with this item.
getNetPrice()
:
Money
Net price of item.
getOrderItem()
:
OrderItem
Returns the order item extensions related to this item.
getOrderItemID()
:
String
The order-item-id used for referencing the OrderItem
getTaxBasis()
:
Money
Price of entire item on which tax calculation is based.
getTaxItems()
:
Collection
Tax items representing a tax breakdown
Methods inherited from class
Extensible
Methods inherited from class
Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Method Detail
getItemID
getItemID()
:
String
The item-id used for referencing between items
Returns:
the item-id used for referencing between items
getLineItem
getLineItem()
:
LineItem
Returns the Order Product- or Shipping- LineItem associated with this item. Should never return null.
Returns:
the Order Product- or Shipping- LineItem associated with this item
getOrderItem
getOrderItem()
:
OrderItem
Returns the order item extensions related to this item. Should never return null.
Returns:
the order item extensions related to this item
getOrderItemID
getOrderItemID()
:
String
The order-item-id used for referencing the OrderItem
Returns:
the order-item-id used for referencing the OrderItem
getTaxBasis
getTaxBasis()
:
Money
Price of entire item on which tax calculation is based. Same as getNetPrice()
or getGrossPrice() depending on whether the order is based on net or gross prices.
Returns:
Price of entire item on which tax calculation is based
getTaxItems
getTaxItems()
:
Collection
Tax items representing a tax breakdown
Returns:
tax items representing a tax breakdown
See Also: