Package io.moov.sdk.models.components
Class WebhookEvent.Builder
- java.lang.Object
-
- io.moov.sdk.models.components.WebhookEvent.Builder
-
- Enclosing class:
- WebhookEvent
public static final class WebhookEvent.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookEventbuild()WebhookEvent.BuildercreatedOn(java.time.OffsetDateTime createdOn)WebhookEvent.Builderdata(WebhookData data)The data for the webhook event.WebhookEvent.BuildereventID(java.lang.String eventID)Unique identifier for the webhook event.WebhookEvent.Buildertype(WebhookEventType type)The type of event that occurred.
-
-
-
Method Detail
-
eventID
public WebhookEvent.Builder eventID(java.lang.String eventID)
Unique identifier for the webhook event.
-
type
public WebhookEvent.Builder type(WebhookEventType type)
The type of event that occurred.
-
data
public WebhookEvent.Builder data(WebhookData data)
The data for the webhook event. The contents are based on the event type.
-
createdOn
public WebhookEvent.Builder createdOn(java.time.OffsetDateTime createdOn)
-
build
public WebhookEvent build()
-
-