Package com.thalesgroup.gemalto.d1.d1pay
Interface TransactionData
-
public interface TransactionData
Interface to provide detail information of a transaction- Since:
- 2.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TransactionData.Type
Type of a transaction
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAmount()
Retrieve the amount of the transactionint
getCurrencyCode()
Retrieve the transaction currency code in the ISO-4217 Standard.String
getDate()
Retrieve the transaction date (in format yymmdd).Integer
getNumberOfPaymentLeft()
Retrieve the number of payment left until a replenishment is requiredScheme
getScheme()
Retrieve the card scheme used for this transactionTransactionData.Type
getType()
Retrieve the transaction typeBoolean
isReplenishmentRequired()
Retrieve the status if a replenishment is required before executing next transactionvoid
wipe()
Wipe the sensitive data of the object
-
-
-
Method Detail
-
getAmount
double getAmount()
Retrieve the amount of the transaction- Returns:
- The transaction amount
-
getCurrencyCode
int getCurrencyCode()
Retrieve the transaction currency code in the ISO-4217 Standard.- Returns:
- Transaction currency code in ISO-4217 Standard.
-
getDate
@NonNull String getDate()
Retrieve the transaction date (in format yymmdd).- Returns:
- The transaction date.
-
getScheme
@NonNull Scheme getScheme()
Retrieve the card scheme used for this transaction- Returns:
- The card scheme
-
getType
@NonNull TransactionData.Type getType()
Retrieve the transaction type- Returns:
- The transaction type
-
getNumberOfPaymentLeft
@Nullable Integer getNumberOfPaymentLeft()
Retrieve the number of payment left until a replenishment is required- Returns:
- The number of payment left until the next replenishment or
null
if not available
-
isReplenishmentRequired
@Nullable Boolean isReplenishmentRequired()
Retrieve the status if a replenishment is required before executing next transaction- Returns:
- The replenishment status or
null
if not available
-
wipe
void wipe()
Wipe the sensitive data of the object
-
-