Class: LoyaltyInformation

timapi.LoyaltyInformation(value, loyaltyInfoType)

Contains loyalty information

Overview

Members-Overview

Methods-Overview

Constructor

new LoyaltyInformation(value, loyaltyInfoType)

Create loyalty information
Parameters:
Name Type Description
value Uint8Array Value as uint8-array. Type depends on loyaltyInfoType.
loyaltyInfoType String Specifies type of loyalty information.

Member-List

loyaltyFunctionType :timapi.constants.LoyaltyFunctionType

Defines what kind of loyalty mode will be used.

loyaltyInfoType :String

Specifies type of loyalty information.

loyaltyNumber :Uint8Array

Holds loyalty number.

value :Uint8Array

Value.

Methods

toString() → {String}

Get string representation for debugging purpose.
Returns:
String representation

Type: String

(static) copy(loyaltyInformation) → {timapi.LoyaltyInformation}

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

Type: timapi.LoyaltyInformation