Class Event
java.lang.Object
dev.vality.swag_webhook_events.model.Event
- Direct Known Subclasses:
CustomerBindingFailed,CustomerBindingStarted,CustomerBindingSucceeded,CustomerCreated,CustomerDeleted,CustomerReady,InvoiceCancelled,InvoiceCreated,InvoiceFulfilled,InvoicePaid,PaymentCancelled,PaymentCaptured,PaymentFailed,PaymentProcessed,PaymentRefunded,PaymentStarted,RefundCreated,RefundFailed,RefundPending,RefundSucceeded
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-08-08T11:08:44.744020346Z[Etc/UTC]")
public class Event
extends Object
Event data
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.EventTypeEnumType of event that occurredstatic classEvent.TopicEnumSubject of notification -
Field Summary
Fields Modifier and Type Field Description protected Event.EventTypeEnumeventTypestatic StringJSON_PROPERTY_EVENT_I_Dstatic StringJSON_PROPERTY_EVENT_TYPEstatic StringJSON_PROPERTY_OCCURED_ATstatic StringJSON_PROPERTY_TOPIC -
Constructor Summary
Constructors Constructor Description Event() -
Method Summary
Modifier and Type Method Description booleanequals(Object o)EventeventID(Integer eventID)EventeventType(Event.EventTypeEnum eventType)IntegergetEventID()Event identifierEvent.EventTypeEnumgetEventType()Type of event that occurredOffsetDateTimegetOccuredAt()Date and time the event occurrenceEvent.TopicEnumgetTopic()Subject of notificationinthashCode()EventoccuredAt(OffsetDateTime occuredAt)voidsetEventID(Integer eventID)voidsetEventType(Event.EventTypeEnum eventType)voidsetOccuredAt(OffsetDateTime occuredAt)voidsetTopic(Event.TopicEnum topic)Eventtopic(Event.TopicEnum topic)StringtoString()
-
Field Details
-
JSON_PROPERTY_EVENT_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OCCURED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOPIC
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EVENT_TYPE
- See Also:
- Constant Field Values
-
eventType
-
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
eventID
-
getEventID
Event identifier- Returns:
- eventID
-
setEventID
-
occuredAt
-
getOccuredAt
Date and time the event occurrence- Returns:
- occuredAt
-
setOccuredAt
-
topic
-
getTopic
Subject of notification- Returns:
- topic
-
setTopic
-
eventType
-
getEventType
Type of event that occurred- Returns:
- eventType
-
setEventType
-
equals
-
hashCode
public int hashCode() -
toString
-