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.StringgetMerchantName()java.lang.StringgetMerchantPostalCode()java.lang.StringgetMerchantType()java.lang.StringgetTransactionDate()java.lang.StringgetTransactionId()TransactionStatusgetTransactionStatus()TransactionTypegetTransactionType()
-
-
-
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)
-
-