Classes
Overview
Members-Overview
Methods-Overview
- cardCountryCode() → {Number}
- isDomestic() → {Boolean}
- needsAction() → {timapi.constants.Action}
- terminalCountryCode() → {Number}
- toString() → {String}
- wasDcc() → {Boolean}
- wasPartialApproval() → {Boolean}
- wasTip() → {Boolean}
Member-List
amountTip :timapi.Amount
Tip amount.
This parameter is only used if com.six.timapi.constants.Guides#GASTRO is enabled.
Methods
cardCountryCode() → {Number}
Card country code if present.
Returns:
Country code on the card.
Type: Number
isDomestic() → {Boolean}
Determines if transaction has been domestic. Returns true if card country code
and terminal country code are both set and are equal.
Returns:
True if the transaction was performed with a domestic card.
Type: Boolean
needsAction() → {timapi.constants.Action}
Transaction requires an action.
Returns:
The action (e.g. signing) that is required.
Type: timapi.constants.Action
terminalCountryCode() → {Number}
Terminal country code if present.
Returns:
Country code of the terminal.
Type: Number
toString() → {String}
String representation for debugging purpose.
Returns:
String representation
Type: String
wasDcc() → {Boolean}
Transaction has been using DCC.
Returns:
True for DCC transactions.
Type: Boolean
wasPartialApproval() → {Boolean}
Transaction has been partially approved.
Returns:
True if the transaction was only partially approved.
Type: Boolean
wasTip() → {Boolean}
Transaction has been using TIP.
Returns:
True for transactions with tip.
Type: Boolean