public static interface CardReaderHandler.CardReaderTransactionInfoCallback
Modifier and Type | Method and Description |
---|---|
void |
useTransactionInfo(java.math.BigDecimal amount,
CurrencyCode currencyCode,
long accountId)
The callback function that must be executed when onTransactionInfoRequested() is called by the SDK.
|
void useTransactionInfo(java.math.BigDecimal amount, CurrencyCode currencyCode, long accountId)
Example: callback.useTransactionInfo(new BigDecimal("21.61"), CurrencyCode.USD, 1234567);
amount
- the amount for the transaction. For USD amounts, there can be a maximum of two places after the decimal point.currencyCode
- the currency code for the transaction. e.g. CurrencyCode.USD.accountId
- the WePay account id of the merchant.