Class Transaction.TransactionEvent
-
- All Implemented Interfaces:
public final class Transaction.TransactionEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransaction.TransactionEvent.BuilderA builder for TransactionEvent.
public final classTransaction.TransactionEvent.TransactionEventAmountspublic final classTransaction.TransactionEvent.DetailedResultpublic final classTransaction.TransactionEvent.EffectivePolarityIndicates whether the transaction event is a credit or debit to the account.
public final classTransaction.TransactionEvent.NetworkInfoInformation provided by the card network in each event. This includes common identifiers shared between you, Lithic, the card network and in some cases the acquirer. These identifiers often link together events within the same transaction lifecycle and can be used to locate a particular transaction, such as during processing of disputes. Not all fields are available in all events, and the presence of these fields is dependent on the card network and the event type. If the field is populated by the network, we will pass it through as is unless otherwise specified. Please consult the official network documentation for more details about these fields and how to use them.
public final classTransaction.TransactionEvent.DeclineResultpublic final classTransaction.TransactionEvent.RuleResultpublic final classTransaction.TransactionEvent.TypeType of transaction event
public final classTransaction.TransactionEvent.AccountTypepublic final classTransaction.TransactionEvent.NetworkSpecificData
-
Method Summary
-
-
Method Detail
-
amount
@Deprecated(message = "deprecated") final Long amount()
Amount of the event in the settlement currency.
-
amounts
final Transaction.TransactionEvent.TransactionEventAmounts amounts()
-
created
final OffsetDateTime created()
RFC 3339 date and time this event entered the system. UTC time zone.
-
detailedResults
final List<Transaction.TransactionEvent.DetailedResult> detailedResults()
-
effectivePolarity
final Transaction.TransactionEvent.EffectivePolarity effectivePolarity()
Indicates whether the transaction event is a credit or debit to the account.
-
networkInfo
final Optional<Transaction.TransactionEvent.NetworkInfo> networkInfo()
Information provided by the card network in each event. This includes common identifiers shared between you, Lithic, the card network and in some cases the acquirer. These identifiers often link together events within the same transaction lifecycle and can be used to locate a particular transaction, such as during processing of disputes. Not all fields are available in all events, and the presence of these fields is dependent on the card network and the event type. If the field is populated by the network, we will pass it through as is unless otherwise specified. Please consult the official network documentation for more details about these fields and how to use them.
-
result
final Transaction.TransactionEvent.DeclineResult result()
-
ruleResults
final List<Transaction.TransactionEvent.RuleResult> ruleResults()
-
type
final Transaction.TransactionEvent.Type type()
Type of transaction event
-
accountType
final Optional<Transaction.TransactionEvent.AccountType> accountType()
-
networkSpecificData
final Optional<Transaction.TransactionEvent.NetworkSpecificData> networkSpecificData()
-
_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.
-
_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.TransactionEvent.TransactionEventAmounts> _amounts()
Returns the raw JSON value of amounts.
Unlike amounts, 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.
-
_detailedResults
final JsonField<List<Transaction.TransactionEvent.DetailedResult>> _detailedResults()
Returns the raw JSON value of detailedResults.
Unlike detailedResults, this method doesn't throw if the JSON field has an unexpected type.
-
_effectivePolarity
final JsonField<Transaction.TransactionEvent.EffectivePolarity> _effectivePolarity()
Returns the raw JSON value of effectivePolarity.
Unlike effectivePolarity, this method doesn't throw if the JSON field has an unexpected type.
-
_networkInfo
final JsonField<Transaction.TransactionEvent.NetworkInfo> _networkInfo()
Returns the raw JSON value of networkInfo.
Unlike networkInfo, this method doesn't throw if the JSON field has an unexpected type.
-
_result
final JsonField<Transaction.TransactionEvent.DeclineResult> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_ruleResults
final JsonField<List<Transaction.TransactionEvent.RuleResult>> _ruleResults()
Returns the raw JSON value of ruleResults.
Unlike ruleResults, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<Transaction.TransactionEvent.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_accountType
final JsonField<Transaction.TransactionEvent.AccountType> _accountType()
Returns the raw JSON value of accountType.
Unlike accountType, this method doesn't throw if the JSON field has an unexpected type.
-
_networkSpecificData
final JsonField<Transaction.TransactionEvent.NetworkSpecificData> _networkSpecificData()
Returns the raw JSON value of networkSpecificData.
Unlike networkSpecificData, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Transaction.TransactionEvent.Builder toBuilder()
-
validate
final Transaction.TransactionEvent validate()
-
builder
final static Transaction.TransactionEvent.Builder builder()
Returns a mutable builder for constructing an instance of TransactionEvent.
The following fields are required:
.token() .amount() .amounts() .created() .detailedResults() .effectivePolarity() .networkInfo() .result() .ruleResults() .type()
-
-
-
-