Class WebhookEvent


  • public class WebhookEvent
    extends java.lang.Object
    WebhookEvent

    Webhook events are sent to your webhook URL when certain actions occur in the Moov API. You can subscribe to these events to receive real-time notifications.

    • Constructor Detail

      • WebhookEvent

        public WebhookEvent​(java.lang.String eventID,
                            WebhookEventType type,
                            WebhookData data,
                            java.time.OffsetDateTime createdOn)
    • Method Detail

      • eventID

        public java.lang.String eventID()
        Unique identifier for the webhook event.
      • data

        public WebhookData data()
        The data for the webhook event. The contents are based on the event type.
      • createdOn

        public java.time.OffsetDateTime createdOn()
      • withEventID

        public WebhookEvent withEventID​(java.lang.String eventID)
        Unique identifier for the webhook event.
      • withData

        public WebhookEvent withData​(WebhookData data)
        The data for the webhook event. The contents are based on the event type.
      • withCreatedOn

        public WebhookEvent withCreatedOn​(java.time.OffsetDateTime createdOn)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object