Class: Basket

timapi.Basket()

Basket

Overview

Members-Overview

Methods-Overview

Constructor

new Basket()

Create empty Basket

Member-List

items :Array.<timapi.BasketItem>

Items.

loyaltyAuthResult :Number

Loyalty auth result. Is set by terminal in the response.

Methods

(static) copy(Basket) → {timapi.Basket}

Creates a copy of a timapi.Basket object.
Parameters:
Name Type Description
Basket timapi.Basket Original
Returns:
Copy of original

Type: timapi.Basket

toString() → {String}

Get string representation for debugging purpose.
Returns:
String representation

Type: String