dw.order
Class AbstractItem
Object
dw.object.Extensible
dw.order.AbstractItem
An item which references, or in other words is based upon, an OrderItem. Provides methods to access the OrderItem, the order LineItem which has been extended, and the Order. In addition it defines methods to access item level prices and the item id. Supports custom-properties.
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.
orderItemID  :  String  (Read Only)
The order-item-id used for referencing the OrderItem
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.
getItemID() : String
The item-id used for referencing between items
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
getTax() : Money
Total tax for item.
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
Method Detail
getGrossPrice
getGrossPrice() : Money
Gross price of item.
Returns:
Gross price of item.

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

getNetPrice
getNetPrice() : Money
Net price of item.
Returns:
Net price of 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

getTax
getTax() : Money
Total tax for item.
Returns:
Total tax for item.

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: