Class: LoyaltyItem

timapi.LoyaltyItem()

Container for loyalty item information.

Overview

Members-Overview

Methods-Overview

Constructor

new LoyaltyItem()

Create empty loyalty item.

Member-List

amountTotal :timapi.Amount

Total amount.

displayProductInfo (readonly) :timapi.DisplayProductInfo

DisplayProductInfo or undefined if not used.

itemId :String

Identifies the item.

itemQuantity :timapi.ItemQuantity

Quantity of the product.

loyaltyCoupons (readonly) :Array.<timapi.LoyaltyCoupon>

List of loyalty coupons.

loyaltyDiscounts (readonly) :Array.<timapi.LoyaltyDiscount>

List of loyalty discounts.

prodDescription :String

Product description.

Methods

(static) copy(loyaltyItem) → {timapi.LoyaltyItem}

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

Type: timapi.LoyaltyItem

toString() → {String}

String representation for debugging purpose.
Returns:
String representation

Type: String