Class AbstractItemCtnr

Basis for item-based objects stemming from a single Order, with these common properties (Invoice is used as an example):

Appeasement, Invoice, Return, ReturnCase, ShippingOrder

PropertyDescription
createdBy: String (read-only)Created by this user.
creationDate: Date (read-only)The time of creation.
grandTotal: SumItem (read-only)Returns the sum-item representing the grandtotal for all items.
items: FilteringCollection (read-only)Returns the unsorted collection of items
lastModified: Date (read-only)The last modification time.
modifiedBy: String (read-only)Last modified by this user.
order: Order (read-only)Returns the Order this object was created for.
productSubtotal: SumItem (read-only)Returns the sum-item representing the subtotal for product items.
serviceSubtotal: SumItem (read-only)Returns the sum-item representing the subtotal for service items such as shipping.

This class does not have a constructor, so you cannot create it directly.

MethodDescription
getCreatedBy()Created by this user.
getCreationDate()The time of creation.
getGrandTotal()Returns the sum-item representing the grandtotal for all items.
getItems()Returns the unsorted collection of items
getLastModified()The last modification time.
getModifiedBy()Last modified by this user.
getOrder()Returns the Order this object was created for.
getProductSubtotal()Returns the sum-item representing the subtotal for product items.
getServiceSubtotal()Returns the sum-item representing the subtotal for service items such as shipping.

describe, getCustom

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

createdBy: String (read-only)

Created by this user.


creationDate: Date (read-only)

The time of creation.


grandTotal: SumItem (read-only)

Returns the sum-item representing the grandtotal for all items.


items: FilteringCollection (read-only)

Returns the unsorted collection of items


lastModified: Date (read-only)

The last modification time.


modifiedBy: String (read-only)

Last modified by this user.


order: Order (read-only)

Returns the Order this object was created for.


productSubtotal: SumItem (read-only)

Returns the sum-item representing the subtotal for product items.


serviceSubtotal: SumItem (read-only)

Returns the sum-item representing the subtotal for service items such as shipping.


getCreatedBy(): String

Created by this user.

Returns:

  • Created by this user

getCreationDate(): Date

The time of creation.

Returns:

  • time of creation.

getGrandTotal(): SumItem

Returns the sum-item representing the grandtotal for all items.

Returns:

  • sum-item for all items

getItems(): FilteringCollection

Returns the unsorted collection of items

Returns:

  • the unsorted collection of items

getLastModified(): Date

The last modification time.

Returns:

  • last modification time..

getModifiedBy(): String

Last modified by this user.

Returns:

  • Last modified by this user

getOrder(): Order

Returns the Order this object was created for.

Returns:

  • the Order this object was created for.

getProductSubtotal(): SumItem

Returns the sum-item representing the subtotal for product items.

Returns:

  • sum-item for product items

getServiceSubtotal(): SumItem

Returns the sum-item representing the subtotal for service items such as shipping.

Returns:

  • sum-item for service items such as shipping