Class FinancialTransaction.FinancialEvent
-
- All Implemented Interfaces:
public final class FinancialTransaction.FinancialEventFinancial Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFinancialTransaction.FinancialEvent.BuilderA builder for FinancialEvent.
public final classFinancialTransaction.FinancialEvent.ResultAPPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.
public final classFinancialTransaction.FinancialEvent.FinancialEventType
-
Method Summary
Modifier and Type Method Description final Optional<String>token()Globally unique identifier. final Optional<Long>amount()Amount of the financial event that has been settled in the currency's smallest unit (e.g., cents). final Optional<OffsetDateTime>created()Date and time when the financial event occurred. final Optional<FinancialTransaction.FinancialEvent.Result>result()APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network. final Optional<FinancialTransaction.FinancialEvent.FinancialEventType>type()final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<Long>_amount()Returns the raw JSON value of amount. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<FinancialTransaction.FinancialEvent.Result>_result()Returns the raw JSON value of result. final JsonField<FinancialTransaction.FinancialEvent.FinancialEventType>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final FinancialTransaction.FinancialEvent.BuildertoBuilder()final FinancialTransaction.FinancialEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FinancialTransaction.FinancialEvent.Builderbuilder()Returns a mutable builder for constructing an instance of FinancialEvent. -
-
Method Detail
-
amount
final Optional<Long> amount()
Amount of the financial event that has been settled in the currency's smallest unit (e.g., cents).
-
created
final Optional<OffsetDateTime> created()
Date and time when the financial event occurred. UTC time zone.
-
result
final Optional<FinancialTransaction.FinancialEvent.Result> result()
APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.
-
_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
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.
-
_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.
-
_result
final JsonField<FinancialTransaction.FinancialEvent.Result> _result()
Returns the raw JSON value of result.
Unlike result, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<FinancialTransaction.FinancialEvent.FinancialEventType> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FinancialTransaction.FinancialEvent.Builder toBuilder()
-
validate
final FinancialTransaction.FinancialEvent validate()
-
builder
final static FinancialTransaction.FinancialEvent.Builder builder()
Returns a mutable builder for constructing an instance of FinancialEvent.
-
-
-
-