Interface MGTransactionRecord
public interface MGTransactionRecord
Interface containing data related to any transaction
-
Method Summary
Modifier and TypeMethodDescriptiondoubleDeprecated.since 6.12boolean
-
Method Details
-
getDigitalCardId
String getDigitalCardId()Deprecated.since 6.12- Returns:
- The unique identifier of the digital card.
The digitized card ID that is shared by the HCE platform components. This is different from the token ID.
-
getTransactionDate
String getTransactionDate()- Returns:
- Transaction date and time.
MasterCard and Pure: ISO 8601 extended format (
YYYY-MM-DDThh:mm:ss[.sss]ZorYYYY-MM-DDThh:mm:ss[.sss]±hh:mm), where[.sss]represents optional fractional seconds (1–3 digits).Visa: ISO 8601 UTC format
YYYY-MM-DDTHH:MM:SSZ.
-
getTransactionType
TransactionType getTransactionType()- Returns:
- The type of the transaction.
-
getTransactionStatus
TransactionStatus getTransactionStatus()- Returns:
- The status of the transaction.
-
getTransactionId
String getTransactionId()- Returns:
- The optional ID of the transaction which is dependent on the scheme used.
-
getCurrencyCode
String getCurrencyCode()- Returns:
- The 3-letter currency code in ISO 4217 format.
-
getAmount
double getAmount()- Returns:
- The transaction amount. In the event of a refund, the transaction amount may be negative (optional).
-
getDisplayAmount
String getDisplayAmount()- Returns:
- The amount in ISO 4217 format (optional).
-
getMerchantName
String getMerchantName()- Returns:
- The merchant name (optional).
-
getMerchantType
String getMerchantType()- Returns:
- The category Code (MCC) (optional).
-
getMerchantPostalCode
String getMerchantPostalCode()- Returns:
- The postal code (optional).
-
getTerminalId
String getTerminalId()- Returns:
- The unique identifier of the terminal.
-
getMerchantId
String getMerchantId()- Returns:
- The unique identifier of the merchant.
-
isAuxiliaryTransaction
boolean isAuxiliaryTransaction()- Returns:
- A flag to indicate this record belongs to auxiliary card ('true') or main card ('false')
-