Interface MGTransactionRecord
-
public interface MGTransactionRecord
Interface containing data related to any transaction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAmount()
java.lang.String
getCurrencyCode()
java.lang.String
getDigitalCardId()
java.lang.String
getDisplayAmount()
java.lang.String
getMerchantName()
java.lang.String
getMerchantPostalCode()
java.lang.String
getMerchantType()
java.lang.String
getTransactionDate()
java.lang.String
getTransactionId()
TransactionStatus
getTransactionStatus()
TransactionType
getTransactionType()
-
-
-
Method Detail
-
getDigitalCardId
java.lang.String getDigitalCardId()
- Returns:
- Unique identifier of the digital card.
Digitized card ID shared by the HCE platform components (Different than token ID)
-
getTransactionDate
java.lang.String getTransactionDate()
- Returns:
- Transaction date ISO 8601 YYYY-MM-DDThh:mm:ssTZD
-
getTransactionType
TransactionType getTransactionType()
- Returns:
- Type of the transaction
-
getTransactionStatus
TransactionStatus getTransactionStatus()
- Returns:
- Status of the transaction
-
getTransactionId
java.lang.String getTransactionId()
- Returns:
- Id of the transaction. It is scheme dependent (Optional)
-
getCurrencyCode
java.lang.String getCurrencyCode()
- Returns:
- 3-character ISO 4217 currency code (Alphabetic Code)
-
getAmount
double getAmount()
- Returns:
- Amount of transaction. Number negative is possible (in case of refund) (Optional)
-
getDisplayAmount
java.lang.String getDisplayAmount()
- Returns:
- String representation of Amount in ISO 4217 format. ie with the correct number of digits after the decimal separator.(Optional)
-
getMerchantName
java.lang.String getMerchantName()
- Returns:
- The merchant name (Optional)
-
getMerchantType
java.lang.String getMerchantType()
- Returns:
- Category Code (MCC). (Optional)
-
getMerchantPostalCode
java.lang.String getMerchantPostalCode()
- Returns:
- The postal code (Optional)
-
-