Package com.duffel.sdk.model
Class CreateWebhook201ResponseData
java.lang.Object
com.duffel.sdk.model.CreateWebhook201ResponseData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-16T15:26:22.356688490+07:00[Asia/Bangkok]")
public class CreateWebhook201ResponseData
extends Object
CreateWebhook201ResponseData
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventsItem(String eventsItem) createdAt(LocalDateTime createdAt) boolean@NotNull BooleanWhether the webhook receiver is actively being notified or notThe [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was createdThe events that this webhook will be subscribed to@NotNull StringgetId()Duffel's unique identifier for the webhook receiver@NotNull BooleanThe live mode that the webhook was created in.The secret used to secure the payload being sent.The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was updated@NotNull StringgetUrl()The URL where your webhook will be receivedinthashCode()voidvoidsetCreatedAt(LocalDateTime createdAt) voidvoidvoidsetLiveMode(Boolean liveMode) voidvoidsetUpdatedAt(LocalDateTime updatedAt) voidtoString()updatedAt(LocalDateTime updatedAt)
-
Field Details
-
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_EVENTS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_LIVE_MODE
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_SECRET
- See Also:
-
-
Constructor Details
-
CreateWebhook201ResponseData
public CreateWebhook201ResponseData()
-
-
Method Details
-
active
-
getActive
Whether the webhook receiver is actively being notified or not- Returns:
- active
-
setActive
-
createdAt
-
getCreatedAt
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was created- Returns:
- createdAt
-
setCreatedAt
-
events
-
addEventsItem
-
getEvents
The events that this webhook will be subscribed to- Returns:
- events
-
setEvents
-
id
-
getId
Duffel's unique identifier for the webhook receiver- Returns:
- id
-
setId
-
liveMode
-
getLiveMode
The live mode that the webhook was created in. It will _only_ receive events for that same live mode. For example, you won't receive `order.created` events for orders that you created in the sandbox, if your webook is for `live_mode: true`.- Returns:
- liveMode
-
setLiveMode
-
updatedAt
-
getUpdatedAt
The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was updated- Returns:
- updatedAt
-
setUpdatedAt
-
url
-
getUrl
The URL where your webhook will be received- Returns:
- url
-
setUrl
-
secret
-
getSecret
The secret used to secure the payload being sent. This will only be returned when the webhook is first created.- Returns:
- secret
-
setSecret
-
equals
-
hashCode
public int hashCode() -
toString
-