Class AccountActivityRetrieveTransactionResponse.CardTransaction
-
- All Implemented Interfaces:
public final class AccountActivityRetrieveTransactionResponse.CardTransactionBase class for all transaction types in the ledger service
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAccountActivityRetrieveTransactionResponse.CardTransaction.BuilderA builder for CardTransaction.
public final classAccountActivityRetrieveTransactionResponse.CardTransaction.TransactionFamilyTypespublic final classAccountActivityRetrieveTransactionResponse.CardTransaction.TransactionStatusThe status of the transaction
-
Method Summary
Modifier and Type Method Description final TransactiontoTransaction()final Stringtoken()Globally unique identifier. final StringaccountToken()The token for the account associated with this transaction. final Optional<Long>acquirerFee()Fee assessed by the merchant and paid for by the cardholder in the smallest unit of the currency. final Optional<String>acquirerReferenceNumber()Unique identifier assigned to a transaction by the acquirer that can be used in dispute and chargeback filing. final Longamount()When the transaction is pending, this represents the authorization amount of the transaction in the anticipated settlement currency. final Transaction.TransactionAmountsamounts()final Optional<Long>authorizationAmount()The authorization amount of the transaction in the anticipated settlement currency. final Optional<String>authorizationCode()A fixed-width 6-digit numeric identifier that can be used to identify a transaction with networks. final Optional<Transaction.Avs>avs()final StringcardToken()Token for the card used in this transaction. final Optional<Transaction.CardholderAuthentication>cardholderAuthentication()final OffsetDateTimecreated()Date and time when the transaction first occurred. final Transaction.Merchantmerchant()final Optional<Long>merchantAmount()Analogous to the 'amount', but in the merchant currency. final Optional<Long>merchantAuthorizationAmount()Analogous to the 'authorization_amount', but in the merchant currency. final StringmerchantCurrency()3-character alphabetic ISO 4217 code for the local currency of the transaction. final Optional<Transaction.Network>network()Card network of the authorization. final Optional<Long>networkRiskScore()Network-provided score assessing risk level associated with a given authorization. final Transaction.Pospos()final Transaction.DeclineResultresult()final LongsettledAmount()The settled amount of the transaction in the settlement currency. final Transaction.Statusstatus()Status of the transaction. final Optional<Transaction.TokenInfo>tokenInfo()final OffsetDateTimeupdated()Date and time when the transaction last updated. final Optional<List<Transaction.TransactionEvent>>events()final AccountActivityRetrieveTransactionResponse.CardTransaction.TransactionFamilyTypesfamily()final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<String>_accountToken()Returns the raw JSON value of accountToken. final JsonField<Long>_acquirerFee()Returns the raw JSON value of acquirerFee. final JsonField<String>_acquirerReferenceNumber()Returns the raw JSON value of acquirerReferenceNumber. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<Transaction.TransactionAmounts>_amounts()Returns the raw JSON value of amounts. final JsonField<Long>_authorizationAmount()Returns the raw JSON value of authorizationAmount. final JsonField<String>_authorizationCode()Returns the raw JSON value of authorizationCode. final JsonField<Transaction.Avs>_avs()Returns the raw JSON value of avs. final JsonField<String>_cardToken()Returns the raw JSON value of cardToken. final JsonField<Transaction.CardholderAuthentication>_cardholderAuthentication()Returns the raw JSON value of cardholderAuthentication. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<Transaction.Merchant>_merchant()Returns the raw JSON value of merchant. final JsonField<Long>_merchantAmount()Returns the raw JSON value of merchantAmount. final JsonField<Long>_merchantAuthorizationAmount()Returns the raw JSON value of merchantAuthorizationAmount. final JsonField<String>_merchantCurrency()Returns the raw JSON value of merchantCurrency. final JsonField<Transaction.Network>_network()Returns the raw JSON value of network. final JsonField<Long>_networkRiskScore()Returns the raw JSON value of networkRiskScore. final JsonField<Transaction.Pos>_pos()Returns the raw JSON value of pos. final JsonField<Transaction.DeclineResult>_result()Returns the raw JSON value of result. final JsonField<Long>_settledAmount()Returns the raw JSON value of settledAmount. final JsonField<Transaction.Status>_status()Returns the raw JSON value of status. final JsonField<Transaction.TokenInfo>_tokenInfo()Returns the raw JSON value of tokenInfo. final JsonField<OffsetDateTime>_updated()Returns the raw JSON value of updated. final JsonField<List<Transaction.TransactionEvent>>_events()Returns the raw JSON value of events. final JsonField<AccountActivityRetrieveTransactionResponse.CardTransaction.TransactionFamilyTypes>_family()Returns the raw JSON value of family. final Map<String, JsonValue>_additionalProperties()final AccountActivityRetrieveTransactionResponse.CardTransaction.BuildertoBuilder()final AccountActivityRetrieveTransactionResponse.CardTransactionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AccountActivityRetrieveTransactionResponse.CardTransaction.Builderbuilder()Returns a mutable builder for constructing an instance of CardTransaction. -
-
Method Detail
-
toTransaction
final Transaction toTransaction()
-
accountToken
final String accountToken()
The token for the account associated with this transaction.
-
acquirerFee
final Optional<Long> acquirerFee()
Fee assessed by the merchant and paid for by the cardholder in the smallest unit of the currency. Will be zero if no fee is assessed. Rebates may be transmitted as a negative value to indicate credited fees.
-
acquirerReferenceNumber
@Deprecated(message = "deprecated") final Optional<String> acquirerReferenceNumber()
Unique identifier assigned to a transaction by the acquirer that can be used in dispute and chargeback filing. This field has been deprecated in favor of the
acquirer_reference_numberthat resides in the event-levelnetwork_info.
-
amount
@Deprecated(message = "deprecated") final Long amount()
When the transaction is pending, this represents the authorization amount of the transaction in the anticipated settlement currency. Once the transaction has settled, this field represents the settled amount in the settlement currency.
-
amounts
final Transaction.TransactionAmounts amounts()
-
authorizationAmount
@Deprecated(message = "deprecated") final Optional<Long> authorizationAmount()
The authorization amount of the transaction in the anticipated settlement currency.
-
authorizationCode
final Optional<String> authorizationCode()
A fixed-width 6-digit numeric identifier that can be used to identify a transaction with networks.
-
avs
final Optional<Transaction.Avs> avs()
-
cardholderAuthentication
final Optional<Transaction.CardholderAuthentication> cardholderAuthentication()
-
created
final OffsetDateTime created()
Date and time when the transaction first occurred. UTC time zone.
-
merchant
final Transaction.Merchant merchant()
-
merchantAmount
@Deprecated(message = "deprecated") final Optional<Long> merchantAmount()
Analogous to the 'amount', but in the merchant currency.
-
merchantAuthorizationAmount
@Deprecated(message = "deprecated") final Optional<Long> merchantAuthorizationAmount()
Analogous to the 'authorization_amount', but in the merchant currency.
-
merchantCurrency
@Deprecated(message = "deprecated") final String merchantCurrency()
3-character alphabetic ISO 4217 code for the local currency of the transaction.
-
network
final Optional<Transaction.Network> network()
Card network of the authorization. Value is
UNKNOWNwhen Lithic cannot determine the network code from the upstream provider.
-
networkRiskScore
final Optional<Long> networkRiskScore()
Network-provided score assessing risk level associated with a given authorization. Scores are on a range of 0-999, with 0 representing the lowest risk and 999 representing the highest risk. For Visa transactions, where the raw score has a range of 0-99, Lithic will normalize the score by multiplying the raw score by 10x.
-
pos
final Transaction.Pos pos()
-
result
final Transaction.DeclineResult result()
-
settledAmount
@Deprecated(message = "deprecated") final Long settledAmount()
The settled amount of the transaction in the settlement currency.
-
status
final Transaction.Status status()
Status of the transaction.
-
tokenInfo
final Optional<Transaction.TokenInfo> tokenInfo()
-
updated
final OffsetDateTime updated()
Date and time when the transaction last updated. UTC time zone.
-
events
final Optional<List<Transaction.TransactionEvent>> events()
-
family
final AccountActivityRetrieveTransactionResponse.CardTransaction.TransactionFamilyTypes family()
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_accountToken
final JsonField<String> _accountToken()
Returns the raw JSON value of accountToken.
Unlike accountToken, this method doesn't throw if the JSON field has an unexpected type.
-
_acquirerFee
final JsonField<Long> _acquirerFee()
Returns the raw JSON value of acquirerFee.
Unlike acquirerFee, this method doesn't throw if the JSON field has an unexpected type.
-
_acquirerReferenceNumber
@Deprecated(message = "deprecated") final JsonField<String> _acquirerReferenceNumber()
Returns the raw JSON value of acquirerReferenceNumber.
Unlike acquirerReferenceNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_amount
@Deprecated(message = "deprecated") final JsonField<Long> _amount()
Returns the raw JSON value of amount.
Unlike amount, this method doesn't throw if the JSON field has an unexpected type.
-
_amounts
final JsonField<Transaction.TransactionAmounts> _amounts()
Returns the raw JSON value of amounts.
Unlike amounts, this method doesn't throw if the JSON field has an unexpected type.
-
_authorizationAmount
@Deprecated(message = "deprecated") final JsonField<Long> _authorizationAmount()
Returns the raw JSON value of authorizationAmount.
Unlike authorizationAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_authorizationCode
final JsonField<String> _authorizationCode()
Returns the raw JSON value of authorizationCode.
Unlike authorizationCode, this method doesn't throw if the JSON field has an unexpected type.
-
_avs
final JsonField<Transaction.Avs> _avs()
Returns the raw JSON value of avs.
Unlike avs, this method doesn't throw if the JSON field has an unexpected type.
-
_cardToken
final JsonField<String> _cardToken()
Returns the raw JSON value of cardToken.
Unlike cardToken, this method doesn't throw if the JSON field has an unexpected type.
-
_cardholderAuthentication
final JsonField<Transaction.CardholderAuthentication> _cardholderAuthentication()
Returns the raw JSON value of cardholderAuthentication.
Unlike cardholderAuthentication, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<OffsetDateTime> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_merchant
final JsonField<Transaction.Merchant> _merchant()
Returns the raw JSON value of merchant.
Unlike merchant, this method doesn't throw if the JSON field has an unexpected type.
-
_merchantAmount
@Deprecated(message = "deprecated") final JsonField<Long> _merchantAmount()
Returns the raw JSON value of merchantAmount.
Unlike merchantAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_merchantAuthorizationAmount
@Deprecated(message = "deprecated") final JsonField<Long> _merchantAuthorizationAmount()
Returns the raw JSON value of merchantAuthorizationAmount.
Unlike merchantAuthorizationAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_merchantCurrency
@Deprecated(message = "deprecated") final JsonField<String> _merchantCurrency()
Returns the raw JSON value of merchantCurrency.
Unlike merchantCurrency, this method doesn't throw if the JSON field has an unexpected type.
-
_network
final JsonField<Transaction.Network> _network()
Returns the raw JSON value of network.
Unlike network, this method doesn't throw if the JSON field has an unexpected type.
-
_networkRiskScore
final JsonField<Long> _networkRiskScore()
Returns the raw JSON value of networkRiskScore.
Unlike networkRiskScore, this method doesn't throw if the JSON field has an unexpected type.
-
_pos
final JsonField<Transaction.Pos> _pos()
Returns the raw JSON value of pos.
Unlike pos, this method doesn't throw if the JSON field has an unexpected type.
-
_result
final JsonField<Transaction.DeclineResult> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_settledAmount
@Deprecated(message = "deprecated") final JsonField<Long> _settledAmount()
Returns the raw JSON value of settledAmount.
Unlike settledAmount, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<Transaction.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_tokenInfo
final JsonField<Transaction.TokenInfo> _tokenInfo()
Returns the raw JSON value of tokenInfo.
Unlike tokenInfo, this method doesn't throw if the JSON field has an unexpected type.
-
_updated
final JsonField<OffsetDateTime> _updated()
Returns the raw JSON value of updated.
Unlike updated, this method doesn't throw if the JSON field has an unexpected type.
-
_events
final JsonField<List<Transaction.TransactionEvent>> _events()
Returns the raw JSON value of events.
Unlike events, this method doesn't throw if the JSON field has an unexpected type.
-
_family
final JsonField<AccountActivityRetrieveTransactionResponse.CardTransaction.TransactionFamilyTypes> _family()
Returns the raw JSON value of family.
Unlike family, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AccountActivityRetrieveTransactionResponse.CardTransaction.Builder toBuilder()
-
validate
final AccountActivityRetrieveTransactionResponse.CardTransaction validate()
-
builder
final static AccountActivityRetrieveTransactionResponse.CardTransaction.Builder builder()
Returns a mutable builder for constructing an instance of CardTransaction.
The following fields are required:
.token() .accountToken() .acquirerFee() .acquirerReferenceNumber() .amount() .amounts() .authorizationAmount() .authorizationCode() .avs() .cardToken() .cardholderAuthentication() .created() .merchant() .merchantAmount() .merchantAuthorizationAmount() .merchantCurrency() .network() .networkRiskScore() .pos() .result() .settledAmount() .status() .tokenInfo() .updated() .family()
-
-
-
-