Package com.thalesgroup.gemalto.d1.d1pay
Interface TransactionRecord
public interface TransactionRecord
Contains the digital card's transaction record information.
- Since:
- 2.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumStatus of a transaction record.static enumType of a transaction record. -
Method Summary
Modifier and TypeMethodDescriptiondoubleRetrieves the amount of the transaction record.Retrieves the transaction currency alpha code according to the numeric one specified in the ISO-4217 standard.intRetrieves the transaction currency numeric code as specified in the ISO-4217 standard.getDate()Retrieves the transaction record date (format: ISO 8601 YYYY-MM-DDThh:mm:ssTZD).Retrieves the transaction record amount in ISO 4217 format.getID()Retrieves the transaction record ID which is scheme dependent (Optional).Retrieves the merchant name of the transaction record (Optional).Retrieves the merchant postal code of the transaction record (Optional).Retrieves the merchant type of the transaction record which is Category Code (MCC) (Optional).Retrieves the transaction record status.getType()Retrieves the transaction record type.
-
Method Details
-
getDate
Retrieves the transaction record date (format: ISO 8601 YYYY-MM-DDThh:mm:ssTZD).- Returns:
- The transaction record date.
-
getType
Retrieves the transaction record type.- Returns:
- The transaction record type.
-
getStatus
Retrieves the transaction record status.- Returns:
- The transaction record status.
-
getID
Retrieves the transaction record ID which is scheme dependent (Optional).- Returns:
- The transaction record ID.
-
getCurrencyCode
int getCurrencyCode()Retrieves the transaction currency numeric code as specified in the ISO-4217 standard.- Returns:
- Transaction currency numeric code as specified in the ISO-4217 standard.
-
getCurrencyAlphaCode
String getCurrencyAlphaCode()Retrieves the transaction currency alpha code according to the numeric one specified in the ISO-4217 standard.- Returns:
- Transaction currency alpha code.
-
getAmount
double getAmount()Retrieves the amount of the transaction record. Number negative is possible (in case of refund) (Optional)- Returns:
- The Amount of transaction record.
-
getDisplayAmount
Retrieves the transaction record amount in ISO 4217 format. ie with the correct number of digits after the decimal separator.(Optional)- Returns:
- The representation of Amount in ISO 4217 format.
-
getMerchantName
Retrieves the merchant name of the transaction record (Optional).- Returns:
- The merchant name of transaction record.
-
getMerchantType
Retrieves the merchant type of the transaction record which is Category Code (MCC) (Optional).- Returns:
- The merchant type of transaction record.
-
getMerchantPostalCode
Retrieves the merchant postal code of the transaction record (Optional).- Returns:
- The merchant postal code of transaction record
-