Package com.thalesgroup.gemalto.d1.d1pay
Interface TransactionData
public interface TransactionData
Interface to provide detailed information of a transaction.
- Since:
- 2.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondoubleRetrieves the amount of the transaction.Retrieves the transaction currency alpha code according to the numeric one specified in the ISO-4217 standard.intRetrieves the transaction currency code as specified in the ISO-4217 standard.getDate()Retrieves the transaction date (in format yymmdd).Retrieves the number of payments left before a replenishment is required.Retrieves the card scheme used for this transaction.getType()Retrieves the transaction type.Retrieves the status if a replenishment is required before executing next transaction.voidwipe()Wipes the sensitive data of the object.
-
Method Details
-
getAmount
double getAmount()Retrieves the amount of the transaction.- Returns:
- The transaction amount.
-
getCurrencyCode
int getCurrencyCode()Retrieves the transaction currency code as specified in the ISO-4217 standard.- Returns:
- Transaction currency 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.
-
getDate
Retrieves the transaction date (in format yymmdd).- Returns:
- The transaction date.
-
getScheme
Retrieves the card scheme used for this transaction.- Returns:
- The card scheme.
-
getType
Retrieves the transaction type.- Returns:
- The transaction type.
-
getNumberOfPaymentLeft
Retrieves the number of payments left before a replenishment is required.- Returns:
- The number of payments left before the next replenishment, or
nullif it is not available.
-
isReplenishmentRequired
Retrieves the status if a replenishment is required before executing next transaction.- Returns:
- The replenishment status or
nullif it is not available.
-
wipe
void wipe()Wipes the sensitive data of the object.
-