Class: ItemQuantity

timapi.ItemQuantity(quantity, exponent, quantityType)

Describes the quantity of a basket-item

Overview

Members-Overview

Methods-Overview

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

exponent :Number

Exponent of quantity of the product.

quantity :Number

Quantity of product

quantityType :String

Type of quantity of the product.

Methods

(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

toString() → {String}

Get string representation for debugging purpose.
Returns:
String representation

Type: String