Class: LoyaltyDiscount

timapi.LoyaltyDiscount

LoyaltyDiscount represents a discount amount in a loyalty use case.

Extends

Overview

Members-Overview

Methods-Overview

Member-List

currency (readonly) :timapi.constants.Currency

Currency of amount.
Overrides:

discountDescription :String

Discount description.

exponent (readonly) :Number

Exponent.
Overrides:

value (readonly) :Number

Amount in minor units as integer value.
Overrides:

Methods

getDecimalValue() → {Number}

Get amount-value in major units as floating point value.
Inherited From:
Returns:
Amount-value in major units as floating point value

Type: Number

toString() → {String}

String representation for debugging purpose.
Overrides:
Returns:
String representation for debugging purpose

Type: String