Class ProductListItemPurchase

A record of the purchase of an item contained in a product list.

Property Summary 

PropertyDescription
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.

Constructor Summary 

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

Method Summary 

MethodDescription
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.

Methods inherited from class ExtensibleObject 

describe, getCustom

Methods inherited from class PersistentObject 

getCreationDate, getLastModified, getUUID

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

Property Details 

item 

item: ProductListItem (read-only)

Returns the item that was purchased.


orderNo 

orderNo: String (read-only)

Returns the number of the order in which the product list item was purchased.


purchaseDate 

purchaseDate: Date (read-only)

Returns the date on which the product list item was purchased.


purchaserName 

purchaserName: String (read-only)

Returns the name of the purchaser of the product list item.


quantity 

quantity: Quantity (read-only)

Returns the quantity of the product list item that was purchased.


Method Details 

getItem() 

getItem(): ProductListItem

Returns the item that was purchased.

Returns:

  • the item that was purchased.

getOrderNo() 

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() 

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() 

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() 

getQuantity(): Quantity

Returns the quantity of the product list item that was purchased.

Returns:

  • the quantity of the product list item that was purchased.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!