Interface MGTransactionRecord
-
public interface MGTransactionRecordInterface containing data related to any transaction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetAmount()java.lang.StringgetCurrencyCode()java.lang.StringgetDigitalCardId()java.lang.StringgetDisplayAmount()java.lang.StringgetMerchantId()java.lang.StringgetMerchantName()java.lang.StringgetMerchantPostalCode()java.lang.StringgetMerchantType()java.lang.StringgetTerminalId()java.lang.StringgetTransactionDate()java.lang.StringgetTransactionId()TransactionStatusgetTransactionStatus()TransactionTypegetTransactionType()
-
-
-
Method Detail
-
getDigitalCardId
java.lang.String getDigitalCardId()
- 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
java.lang.String getTransactionDate()
- Returns:
- The transaction date in ISO 8601 format: YYYY-MM-DDThh:mm:ssTZD.
-
getTransactionType
TransactionType getTransactionType()
- Returns:
- The type of the transaction.
-
getTransactionStatus
TransactionStatus getTransactionStatus()
- Returns:
- The status of the transaction.
-
getTransactionId
java.lang.String getTransactionId()
- Returns:
- The optional ID of the transaction which is dependent on the scheme used.
-
getCurrencyCode
java.lang.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
java.lang.String getDisplayAmount()
- Returns:
- The amount in ISO 4217 format (optional).
-
getMerchantName
java.lang.String getMerchantName()
- Returns:
- The merchant name (optional).
-
getMerchantType
java.lang.String getMerchantType()
- Returns:
- The category Code (MCC) (optional).
-
getMerchantPostalCode
java.lang.String getMerchantPostalCode()
- Returns:
- The postal code (optional).
-
getTerminalId
java.lang.String getTerminalId()
- Returns:
- The unique identifier of the terminal.
-
getMerchantId
java.lang.String getMerchantId()
- Returns:
- The unique identifier of the merchant.
-
-