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
Salesforce Commerce Cloud Courses
Salesforce B2C Commerce Developer - Certification Tests
Why risk failing the SFCC exam? Get 180 real questions, killer content, and everything you need to crush the Salesforce B2C Commerce Developer certification.

Becoming a Salesforce B2C Commerce Developer is your ticket to higher salaries, better job opportunities, and the credibility to stand out from the competition. But let's be honestβ€”passing the certification exam isn't easy. That's where we come in.
Salesforce Javascript Developer I - Certification Tests
Not just another prep courseβ€”this is your shortcut to passing. Master JavaScript for Salesforce and go from 'hoping to pass' to knowing you will. Ready to start?

This isn't just another prep courseβ€”it's your shortcut to mastering the skills and confidence you need to pass. With multiple practice tests covering every section and a final exam simulation designed to mirror the real thing, you'll feel like you've already aced it before test day.
Salesforce B2C Commerce Architect - Certification Tests
Think the Developer exam was hard? Welcome to the next level.

The Salesforce B2C Commerce Architect certification is a whole different gameβ€”complex solutions, elevated difficulty, and skills that set you apart in the eCommerce industry. That's why we're including 11 downloadable PDF guides, packed with best practices and strategies to help you prepare for the exam and build confidence in every topic.
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:

β™₯
Notifications pending to read