Class Transaction.TransactionEvent.Builder
-
- All Implemented Interfaces:
public final class Transaction.TransactionEvent.BuilderA builder for TransactionEvent.
-
-
Method Summary
-
-
Method Detail
-
token
final Transaction.TransactionEvent.Builder token(String token)
Transaction event identifier.
-
token
final Transaction.TransactionEvent.Builder token(JsonField<String> token)
Transaction event identifier.
-
amount
@Deprecated(message = "deprecated") final Transaction.TransactionEvent.Builder amount(Long amount)
Amount of the event in the settlement currency.
-
amount
@Deprecated(message = "deprecated") final Transaction.TransactionEvent.Builder amount(JsonField<Long> amount)
Amount of the event in the settlement currency.
-
amounts
final Transaction.TransactionEvent.Builder amounts(Transaction.TransactionEvent.TransactionEventAmounts amounts)
-
amounts
final Transaction.TransactionEvent.Builder amounts(JsonField<Transaction.TransactionEvent.TransactionEventAmounts> amounts)
-
created
final Transaction.TransactionEvent.Builder created(OffsetDateTime created)
RFC 3339 date and time this event entered the system. UTC time zone.
-
created
final Transaction.TransactionEvent.Builder created(JsonField<OffsetDateTime> created)
RFC 3339 date and time this event entered the system. UTC time zone.
-
detailedResults
final Transaction.TransactionEvent.Builder detailedResults(List<Transaction.TransactionEvent.DetailedResult> detailedResults)
-
detailedResults
final Transaction.TransactionEvent.Builder detailedResults(JsonField<List<Transaction.TransactionEvent.DetailedResult>> detailedResults)
-
addDetailedResult
final Transaction.TransactionEvent.Builder addDetailedResult(Transaction.TransactionEvent.DetailedResult detailedResult)
-
effectivePolarity
final Transaction.TransactionEvent.Builder effectivePolarity(Transaction.TransactionEvent.EffectivePolarity effectivePolarity)
Indicates whether the transaction event is a credit or debit to the account.
-
effectivePolarity
final Transaction.TransactionEvent.Builder effectivePolarity(JsonField<Transaction.TransactionEvent.EffectivePolarity> effectivePolarity)
Indicates whether the transaction event is a credit or debit to the account.
-
networkInfo
final Transaction.TransactionEvent.Builder networkInfo(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.
-
networkInfo
final Transaction.TransactionEvent.Builder networkInfo(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.
-
networkInfo
final Transaction.TransactionEvent.Builder networkInfo(JsonField<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.Builder result(Transaction.TransactionEvent.DeclineResult result)
-
result
final Transaction.TransactionEvent.Builder result(JsonField<Transaction.TransactionEvent.DeclineResult> result)
-
ruleResults
final Transaction.TransactionEvent.Builder ruleResults(List<Transaction.TransactionEvent.RuleResult> ruleResults)
-
ruleResults
final Transaction.TransactionEvent.Builder ruleResults(JsonField<List<Transaction.TransactionEvent.RuleResult>> ruleResults)
-
addRuleResult
final Transaction.TransactionEvent.Builder addRuleResult(Transaction.TransactionEvent.RuleResult ruleResult)
-
type
final Transaction.TransactionEvent.Builder type(Transaction.TransactionEvent.Type type)
Type of transaction event
-
type
final Transaction.TransactionEvent.Builder type(JsonField<Transaction.TransactionEvent.Type> type)
Type of transaction event
-
additionalProperties
final Transaction.TransactionEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Transaction.TransactionEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Transaction.TransactionEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Transaction.TransactionEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Transaction.TransactionEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Transaction.TransactionEvent build()
-
-
-
-