dw.order
Class AbstractItemCtnr
Basis for item-based objects stemming from a single Order, with these common
properties (Invoice is used as an example):
- The object has been created from an Order accessible using getOrder()
- Contains a collection of items, each item related to exactly one OrderItem which in turn represents an extension to one of the order ProductLineItem or one ShippingLineItem. Example: an Invoice has InvoiceItems
- The items hold various prices which are summed, resulting in a product-subtotal, a service-subtotal and a grand-total, each represented by a SumItem.
- The object is customizable using custom properties
All Known Subclasses
Properties
createdBy
:
String
(Read Only)
Created by this user.
creationDate
:
Date
(Read Only)
The time of creation.
grandTotal
:
SumItem
(Read Only)
The sum-item representing the grandtotal for all items.
items
:
FilteringCollection
(Read Only)
The unsorted collection of items
lastModified
:
Date
(Read Only)
The last modification time.
modifiedBy
:
String
(Read Only)
Last modified by this user.
productSubtotal
:
SumItem
(Read Only)
The sum-item representing the subtotal for product items.
serviceSubtotal
:
SumItem
(Read Only)
The sum-item representing the subtotal for service items such as
shipping.
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
getCreatedBy()
:
String
Created by this user.
getCreationDate()
:
Date
The time of creation.
getGrandTotal()
:
SumItem
Returns the sum-item representing the grandtotal for all items.
getItems()
:
FilteringCollection
Returns the unsorted collection of items
getLastModified()
:
Date
The last modification time.
getModifiedBy()
:
String
Last modified by this user.
getProductSubtotal()
:
SumItem
Returns the sum-item representing the subtotal for product items.
getServiceSubtotal()
:
SumItem
Returns the sum-item representing the subtotal for service items such as shipping.
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
getGrandTotal
getGrandTotal()
:
SumItem
Returns the sum-item representing the grandtotal for all items.
Returns:
sum-item for all items
getItems
getItems()
:
FilteringCollection
Returns the unsorted collection of items
Returns:
the unsorted collection of items
getLastModified
getLastModified()
:
Date
The last modification time.
Returns:
last modification time..
getModifiedBy
getModifiedBy()
:
String
Last modified by this user.
Returns:
Last modified by this user
getOrder
getOrder()
:
Order
Returns the Order this object was created for.
Returns:
the Order this object was created for.
getProductSubtotal
getProductSubtotal()
:
SumItem
Returns the sum-item representing the subtotal for product items.
Returns:
sum-item for product items
getServiceSubtotal
getServiceSubtotal()
:
SumItem
Returns the sum-item representing the subtotal for service items such as
shipping.
Returns:
sum-item for service items such as shipping