Class Event
-
- All Implemented Interfaces:
public final class EventA single event that affects the transaction state and lifecycle.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvent.BuilderA builder for Event.
public final classEvent.EventTypeEvent types:
account_holder.created- Notification that a new account holder has been created and was not rejected.account_holder.updated- Notification that an account holder was updated.account_holder.verification- Notification than an account holder's identity verification is complete.card.created- Notification that a card has been created.card.renewed- Notification that a card has been renewed.card.reissued- Notification that a card has been reissued.card.shipped- Physical card shipment notification. See https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.card.converted- Notification that a virtual card has been converted to a physical card.card_transaction.updated- Transaction Lifecycle webhook. See https://docs.lithic.com/docs/transaction-webhooks.dispute.updated- A dispute has been updated.dispute_transaction.created- A new dispute transaction has been created.dispute_transaction.updated- A dispute transaction has been updated.digital_wallet.tokenization_approval_request- Card network's request to Lithic to activate a digital wallet token.digital_wallet.tokenization_result- Notification of the end result of a tokenization, whether successful or failed.digital_wallet.tokenization_two_factor_authentication_code- A code to be passed to an end user to complete digital wallet authentication. See https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.digital_wallet.tokenization_two_factor_authentication_code_sent- Notification that a two factor authentication code for activating a digital wallet has been sent to the end user.digital_wallet.tokenization_updated- Notification that a digital wallet tokenization's status has changed.
public final classEvent.Payload
-
Method Summary
Modifier and Type Method Description final Stringtoken()Globally unique identifier. final OffsetDateTimecreated()An RFC 3339 timestamp for when the event was created. final Event.EventTypeeventType()Event types: account_holder.created- Notification that a new account holder has been created and was not rejected.account_holder.updated- Notification that an account holder was updated.account_holder.verification- Notification than an account holder's identity verification is complete.card.created- Notification that a card has been created.card.renewed- Notification that a card has been renewed.card.reissued- Notification that a card has been reissued.card.shipped- Physical card shipment notification. See https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.card.converted- Notification that a virtual card has been converted to a physical card.card_transaction.updated- Transaction Lifecycle webhook. See https://docs.lithic.com/docs/transaction-webhooks.dispute.updated- A dispute has been updated.dispute_transaction.created- A new dispute transaction has been created.dispute_transaction.updated- A dispute transaction has been updated.digital_wallet.tokenization_approval_request- Card network's request to Lithic to activate a digital wallet token.digital_wallet.tokenization_result- Notification of the end result of a tokenization, whether successful or failed.digital_wallet.tokenization_two_factor_authentication_code- A code to be passed to an end user to complete digital wallet authentication. See https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.digital_wallet.tokenization_two_factor_authentication_code_sent- Notification that a two factor authentication code for activating a digital wallet has been sent to the end user.digital_wallet.tokenization_updated- Notification that a digital wallet tokenization's status has changed.
final Event.Payloadpayload()final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<OffsetDateTime>_created()Returns the raw JSON value of created. final JsonField<Event.EventType>_eventType()Returns the raw JSON value of eventType. final JsonField<Event.Payload>_payload()Returns the raw JSON value of payload. final Map<String, JsonValue>_additionalProperties()final Event.BuildertoBuilder()final Eventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Event.Builderbuilder()Returns a mutable builder for constructing an instance of Event. -
-
Method Detail
-
created
final OffsetDateTime created()
An RFC 3339 timestamp for when the event was created. UTC time zone.
If no timezone is specified, UTC will be used.
-
eventType
final Event.EventType eventType()
Event types:
account_holder.created- Notification that a new account holder has been created and was not rejected.account_holder.updated- Notification that an account holder was updated.account_holder.verification- Notification than an account holder's identity verification is complete.card.created- Notification that a card has been created.card.renewed- Notification that a card has been renewed.card.reissued- Notification that a card has been reissued.card.shipped- Physical card shipment notification. See https://docs.lithic.com/docs/cards#physical-card-shipped-webhook.card.converted- Notification that a virtual card has been converted to a physical card.card_transaction.updated- Transaction Lifecycle webhook. See https://docs.lithic.com/docs/transaction-webhooks.dispute.updated- A dispute has been updated.dispute_transaction.created- A new dispute transaction has been created.dispute_transaction.updated- A dispute transaction has been updated.digital_wallet.tokenization_approval_request- Card network's request to Lithic to activate a digital wallet token.digital_wallet.tokenization_result- Notification of the end result of a tokenization, whether successful or failed.digital_wallet.tokenization_two_factor_authentication_code- A code to be passed to an end user to complete digital wallet authentication. See https://docs.lithic.com/docs/tokenization-control#digital-wallet-tokenization-auth-code.digital_wallet.tokenization_two_factor_authentication_code_sent- Notification that a two factor authentication code for activating a digital wallet has been sent to the end user.digital_wallet.tokenization_updated- Notification that a digital wallet tokenization's status has changed.
-
payload
final Event.Payload payload()
-
_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.
-
_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.
-
_eventType
final JsonField<Event.EventType> _eventType()
Returns the raw JSON value of eventType.
Unlike eventType, this method doesn't throw if the JSON field has an unexpected type.
-
_payload
final JsonField<Event.Payload> _payload()
Returns the raw JSON value of payload.
Unlike payload, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Event.Builder toBuilder()
-
builder
final static Event.Builder builder()
Returns a mutable builder for constructing an instance of Event.
The following fields are required:
.token() .created() .eventType() .payload()
-
-
-