Class CardTransactionRecord.Amount

java.lang.Object
com.thalesgroup.gemalto.d1.card.cardservice.CardTransactionRecord.Amount
Enclosing class:
CardTransactionRecord

public static class CardTransactionRecord.Amount extends Object
The amount and currency code for the transaction.
Since:
4.0.0
  • Constructor Details

  • Method Details

    • getAmount

      public long getAmount()
      Retrieves the transaction amount. The transaction amount is obtained by multiplying the nominal amount value by 10 to the power of n, where n is the currency exponent of the currency code received in the currencyCode. The last n digits are used for decimals. For example, an amount displayed as US$ 99,999.99 will be received as 9999999.
    • getCurrencyCode

      @NonNull public String getCurrencyCode()
      The currency code of the transaction in ISO 4217 alpha code format.