Class Transfer.FinancialEvent
-
- All Implemented Interfaces:
public final class Transfer.FinancialEventFinancial Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTransfer.FinancialEvent.BuilderA builder for FinancialEvent.
public final classTransfer.FinancialEvent.ResultAPPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.
public final classTransfer.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<Transfer.FinancialEvent.Result>result()APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network. final Optional<Transfer.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<Transfer.FinancialEvent.Result>_result()Returns the raw JSON value of result. final JsonField<Transfer.FinancialEvent.FinancialEventType>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final Transfer.FinancialEvent.BuildertoBuilder()final Transfer.FinancialEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Transfer.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<Transfer.FinancialEvent.Result> result()
APPROVED financial events were successful while DECLINED financial events were declined by user, Lithic, or the network.
-
type
final Optional<Transfer.FinancialEvent.FinancialEventType> type()
-
_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<Transfer.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<Transfer.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 Transfer.FinancialEvent.Builder toBuilder()
-
validate
final Transfer.FinancialEvent validate()
-
builder
final static Transfer.FinancialEvent.Builder builder()
Returns a mutable builder for constructing an instance of FinancialEvent.
-
-
-
-