Class Transaction
-
- All Implemented Interfaces:
public final class Transaction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransaction.BuilderA builder for Transaction.
public final classTransaction.TransactionAmountspublic final classTransaction.Avspublic final classTransaction.CardholderAuthenticationpublic final classTransaction.Merchantpublic final classTransaction.NetworkCard network of the authorization. Can be
INTERLINK,MAESTRO,MASTERCARD,VISA, orUNKNOWN. Value isUNKNOWNwhen Lithic cannot determine the network code from the upstream provider.public final classTransaction.Pospublic final classTransaction.DeclineResultpublic final classTransaction.StatusStatus of the transaction.
public final classTransaction.TokenInfopublic final classTransaction.TransactionEvent
-
Method Summary
Modifier and Type Method Description 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 JsonField<String>_token()Globally unique identifier. final JsonField<String>_accountToken()The token for the account associated with this transaction. final JsonField<Long>_acquirerFee()Fee assessed by the merchant and paid for by the cardholder in the smallest unit of the currency. final JsonField<String>_acquirerReferenceNumber()Unique identifier assigned to a transaction by the acquirer that can be used in dispute and chargeback filing. final JsonField<Long>_amount()When the transaction is pending, this represents the authorization amount of the transaction in the anticipated settlement currency. final JsonField<Transaction.TransactionAmounts>_amounts()final JsonField<Long>_authorizationAmount()The authorization amount of the transaction in the anticipated settlement currency. final JsonField<String>_authorizationCode()A fixed-width 6-digit numeric identifier that can be used to identify a transaction with networks. final JsonField<Transaction.Avs>_avs()final JsonField<String>_cardToken()Token for the card used in this transaction. final JsonField<Transaction.CardholderAuthentication>_cardholderAuthentication()final JsonField<OffsetDateTime>_created()Date and time when the transaction first occurred. final JsonField<Transaction.Merchant>_merchant()final JsonField<Long>_merchantAmount()Analogous to the 'amount', but in the merchant currency. final JsonField<Long>_merchantAuthorizationAmount()Analogous to the 'authorization_amount', but in the merchant currency. final JsonField<String>_merchantCurrency()3-character alphabetic ISO 4217 code for the local currency of the transaction. final JsonField<Transaction.Network>_network()Card network of the authorization. final JsonField<Long>_networkRiskScore()Network-provided score assessing risk level associated with a given authorization. final JsonField<Transaction.Pos>_pos()final JsonField<Transaction.DeclineResult>_result()final JsonField<Long>_settledAmount()The settled amount of the transaction in the settlement currency. final JsonField<Transaction.Status>_status()Status of the transaction. final JsonField<Transaction.TokenInfo>_tokenInfo()final JsonField<OffsetDateTime>_updated()Date and time when the transaction last updated. final JsonField<List<Transaction.TransactionEvent>>_events()final Map<String, JsonValue>_additionalProperties()final Transactionvalidate()final Transaction.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Transaction.Builderbuilder()Returns a mutable builder for constructing an instance of Transaction. -
-
Method Detail
-
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.
-
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. Can be
INTERLINK,MAESTRO,MASTERCARD,VISA, orUNKNOWN. Value isUNKNOWNwhen 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()
-
_accountToken
final JsonField<String> _accountToken()
The token for the account associated with this transaction.
-
_acquirerFee
final JsonField<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 JsonField<String> _acquirerReferenceNumber()
Unique identifier assigned to a transaction by the acquirer that can be used in dispute and chargeback filing.
-
_amount
@Deprecated(message = "deprecated") final JsonField<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 JsonField<Transaction.TransactionAmounts> _amounts()
-
_authorizationAmount
@Deprecated(message = "deprecated") final JsonField<Long> _authorizationAmount()
The authorization amount of the transaction in the anticipated settlement currency.
-
_authorizationCode
final JsonField<String> _authorizationCode()
A fixed-width 6-digit numeric identifier that can be used to identify a transaction with networks.
-
_avs
final JsonField<Transaction.Avs> _avs()
-
_cardToken
final JsonField<String> _cardToken()
Token for the card used in this transaction.
-
_cardholderAuthentication
final JsonField<Transaction.CardholderAuthentication> _cardholderAuthentication()
-
_created
final JsonField<OffsetDateTime> _created()
Date and time when the transaction first occurred. UTC time zone.
-
_merchant
final JsonField<Transaction.Merchant> _merchant()
-
_merchantAmount
@Deprecated(message = "deprecated") final JsonField<Long> _merchantAmount()
Analogous to the 'amount', but in the merchant currency.
-
_merchantAuthorizationAmount
@Deprecated(message = "deprecated") final JsonField<Long> _merchantAuthorizationAmount()
Analogous to the 'authorization_amount', but in the merchant currency.
-
_merchantCurrency
@Deprecated(message = "deprecated") final JsonField<String> _merchantCurrency()
3-character alphabetic ISO 4217 code for the local currency of the transaction.
-
_network
final JsonField<Transaction.Network> _network()
Card network of the authorization. Can be
INTERLINK,MAESTRO,MASTERCARD,VISA, orUNKNOWN. Value isUNKNOWNwhen Lithic cannot determine the network code from the upstream provider.
-
_networkRiskScore
final JsonField<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 JsonField<Transaction.Pos> _pos()
-
_result
final JsonField<Transaction.DeclineResult> _result()
-
_settledAmount
@Deprecated(message = "deprecated") final JsonField<Long> _settledAmount()
The settled amount of the transaction in the settlement currency.
-
_status
final JsonField<Transaction.Status> _status()
Status of the transaction.
-
_tokenInfo
final JsonField<Transaction.TokenInfo> _tokenInfo()
-
_updated
final JsonField<OffsetDateTime> _updated()
Date and time when the transaction last updated. UTC time zone.
-
_events
final JsonField<List<Transaction.TransactionEvent>> _events()
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Transaction validate()
-
toBuilder
final Transaction.Builder toBuilder()
-
builder
final static Transaction.Builder builder()
Returns a mutable builder for constructing an instance of Transaction.
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()
-
-
-
-