Class ProductListItemPurchase
A record of the purchase of an item contained in a product list.
| Property | Description |
|---|---|
item: ProductListItem (read-only) | Returns the item that was purchased. |
orderNo: String (read-only) | Returns the number of the order in which the product list item was purchased. |
purchaseDate: Date (read-only) | Returns the date on which the product list item was purchased. |
purchaserName: String (read-only) | Returns the name of the purchaser of the product list item. |
quantity: Quantity (read-only) | Returns the quantity of the product list item that was purchased. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getItem() | Returns the item that was purchased. |
| getOrderNo() | Returns the number of the order in which the product list item was purchased. |
| getPurchaseDate() | Returns the date on which the product list item was purchased. |
| getPurchaserName() | Returns the name of the purchaser of the product list item. |
| getQuantity() | Returns the quantity of the product list item that was purchased. |
getCreationDate, getLastModified, getUUID
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
- item: ProductListItem
(read-only) Returns the item that was purchased.
- orderNo: String
(read-only) Returns the number of the order in which the product list item was purchased.
- purchaseDate: Date
(read-only) Returns the date on which the product list item was purchased.
- purchaserName: String
(read-only) Returns the name of the purchaser of the product list item.
- quantity: Quantity
(read-only) Returns the quantity of the product list item that was purchased.
- getItem(): ProductListItem
Returns the item that was purchased.
Returns:
- the item that was purchased.
- getOrderNo(): String
Returns the number of the order in which the product list item was purchased.
Returns:
- the number of the order in which the product list item was purchased.
- getPurchaseDate(): Date
Returns the date on which the product list item was purchased.
Returns:
- the date on which the product list item was purchased.
- getPurchaserName(): String
Returns the name of the purchaser of the product list item.
Returns:
- the name of the purchaser of the product list item.
- getQuantity(): Quantity
Returns the quantity of the product list item that was purchased.
Returns:
- the quantity of the product list item that was purchased.