Overview
Members-Overview
Methods-Overview
- copy(basketItem) → {timapi.BasketItem}
- discountId()
- toString() → {String}
Constructor
new BasketItem()
Create empty BasketItem
Member-List
Methods
(static) copy(basketItem) → {timapi.BasketItem}
Creates a copy of a timapi.BasketItem object.
Parameters:
Name | Type | Description |
---|---|---|
basketItem |
timapi.BasketItem | Original |
Returns:
Copy of original
Type: timapi.BasketItem
discountId()
Discount ID if AmountDiscount. Returns undefined if amount discount is undefined.
toString() → {String}
Get string representation for debugging purpose.
Returns:
String representation
Type: String