Class: BasketItem

timapi.BasketItem()

Item of a basket

Overview

Members-Overview

Methods-Overview

Constructor

new BasketItem()

Create empty BasketItem

Member-List

amountGross :timapi.Amount

Gross amount.

amountTax :timapi.Amount

Tax amount.

amountTotal :timapi.Amount

Total amount.

authResult :Number

Acquirers result code, which indicates the result of a restriction request.

itemId :String

Identifies the item.

itemQuantity :timapi.ItemQuantity

Quantity of the product.

loyaltyId :String

Identifies the loyalty type.

prodDescription :String

ProdDescription.

unitAmountDiscount :timapi.Amount

Unit amount discount.

unitAmountGross :timapi.Amount

Unit amount gross.

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

toString() → {String}

Get string representation for debugging purpose.
Returns:
String representation

Type: String