dw.order
Class InvoiceItem
Represents a specific item in an Invoice. Invoice items are added to the invoice on its creation, each item references exactly one order-item.

Order post-processing APIs (gillian) are now inactive by default and will throw an exception if accessed. Activation needs preliminary approval by Product Management. Please contact support in this case. Existing customers using these APIs are not affected by this change and can use the APIs until further notice.

Properties
basePrice  :  Money  (Read Only)
Price of a single unit before discount application.
capturedAmount  :  Money
The captured amount for this item.
invoiceNumber  :  String  (Read Only)
The number of the invoice to which this item belongs.
parentItem  :  InvoiceItem
Returns null or the parent item.
quantity  :  Quantity  (Read Only)
The quantity of this item.
refundedAmount  :  Money
The refunded amount for this item.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getBasePrice() : Money
Price of a single unit before discount application.
getCapturedAmount() : Money
Returns the captured amount for this item.
getInvoiceNumber() : String
Returns the number of the invoice to which this item belongs.
getParentItem() : InvoiceItem
Returns null or the parent item.
getQuantity() : Quantity
Returns the quantity of this item.
getRefundedAmount() : Money
Returns the refunded amount for this item.
setCapturedAmount(capturedAmount : Money) : void
Updates the captured amount for this item.
setParentItem(parentItem : InvoiceItem) : void
Set a parent item.
setRefundedAmount(refundedAmount : Money) : void
Updates the refunded amount for this item.
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.
Methods inherited from class Extensible
Method Detail
getBasePrice
getBasePrice() : Money
Price of a single unit before discount application.
Returns:
Price of a single unit before discount application.

getCapturedAmount
getCapturedAmount() : Money
Returns the captured amount for this item.
Returns:
the captured amount for this item

getInvoiceNumber
getInvoiceNumber() : String
Returns the number of the invoice to which this item belongs.
Returns:
the number of the invoice to which this item belongs

getParentItem
getParentItem() : InvoiceItem
Returns null or the parent item.
Returns:
null or the parent item.

getQuantity
getQuantity() : Quantity
Returns the quantity of this item.
Returns:
quantity of this item

getRefundedAmount
getRefundedAmount() : Money
Returns the refunded amount for this item.
Returns:
the refunded amount for this item

setCapturedAmount
setCapturedAmount(capturedAmount : Money) : void
Updates the captured amount for this item.
Parameters:
capturedAmount - the captured amount for this item

setParentItem
setParentItem(parentItem : InvoiceItem) : void
Set a parent item. The parent item must belong to the same Invoice. An infinite parent-child loop is disallowed as is a parent-child depth greater than 10. Setting a parent item indicates a dependency of the child item on the parent item, and can be used to form a parallel structure to that accessed using ProductLineItem.getParent().
Parameters:
parentItem - The parent item, null is allowed

setRefundedAmount
setRefundedAmount(refundedAmount : Money) : void
Updates the refunded amount for this item.
Parameters:
refundedAmount - the refunded amount for this item

β™₯
Notifications pending to read