Overview
Members-Overview
|
:Number |
|
:Number |
|
:String |
Methods-Overview
- toString() → {String}
- copy(itemQuantity) → {timapi.ItemQuantity}
Constructor
new ItemQuantity(quantity, exponent, quantityType)
Create basket item quantity
Parameters:
Name | Type | Description |
---|---|---|
quantity |
Number | Quantity of product |
exponent |
Number | Exponent of quantity of the product. |
quantityType |
String | Type of quantity of the product. |
Member-List
Methods
toString() → {String}
Get string representation for debugging purpose.
Returns:
String representation
Type: String
(static) copy(itemQuantity) → {timapi.ItemQuantity}
Creates a copy of a timapi.ItemQuantity object.
Parameters:
Name | Type | Description |
---|---|---|
itemQuantity |
timapi.ItemQuantity | Original |
Returns:
Copy of original
Type: timapi.ItemQuantity