Class: ItemStock

inventory.ItemStock()

new ItemStock()

Source:

Methods

(static) ItemStock#getItem() → {base.Reference}

Get the field value Reference to an item
Source:
Returns:
Type
base.Reference

(static) ItemStock#getModifiedTime() → {Null|Number}

Get the field value
Source:
Returns:
must be a long integer
Type
Null | Number

(static) ItemStock#getQuantity() → {Number}

Get the field value Current count of this item in stock.
Source:
Returns:
must be a double
Type
Number

(static) ItemStock#getStockCount() → {Null|Number}

Get the field value Deprecated, use quantity instead.
Source:
Returns:
must be a long integer
Type
Null | Number

(static) ItemStock#setItem(item)

Set the field value Reference to an item
Parameters:
Name Type Description
item base.Reference
Source:

(static) ItemStock#setModifiedTime(modifiedTime)

Set the field value
Parameters:
Name Type Description
modifiedTime Null | Number must be a long integer
Source:

(static) ItemStock#setQuantity(quantity)

Set the field value Current count of this item in stock.
Parameters:
Name Type Description
quantity Number must be a double
Source:

(static) ItemStock#setStockCount(stockCount)

Set the field value Deprecated, use quantity instead.
Parameters:
Name Type Description
stockCount Null | Number must be a long integer
Source: