Package com.chrt.api.types
Class ShippingTaskTaskArtifactCompletedWebhookPayload.Builder
- java.lang.Object
-
- com.chrt.api.types.ShippingTaskTaskArtifactCompletedWebhookPayload.Builder
-
- All Implemented Interfaces:
ShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage,ShippingTaskTaskArtifactCompletedWebhookPayload.EventTimestampStage,ShippingTaskTaskArtifactCompletedWebhookPayload.OrderIdStage,ShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactIdStage,ShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactTypeStage,ShippingTaskTaskArtifactCompletedWebhookPayload.TaskGroupIdStage,ShippingTaskTaskArtifactCompletedWebhookPayload.TaskIdStage
- Enclosing class:
- ShippingTaskTaskArtifactCompletedWebhookPayload
public static final class ShippingTaskTaskArtifactCompletedWebhookPayload.Builder extends java.lang.Object implements ShippingTaskTaskArtifactCompletedWebhookPayload.EventTimestampStage, ShippingTaskTaskArtifactCompletedWebhookPayload.OrderIdStage, ShippingTaskTaskArtifactCompletedWebhookPayload.TaskGroupIdStage, ShippingTaskTaskArtifactCompletedWebhookPayload.TaskIdStage, ShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactIdStage, ShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactTypeStage, ShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public ShippingTaskTaskArtifactCompletedWebhookPayload.Builder from(ShippingTaskTaskArtifactCompletedWebhookPayload other)
- Specified by:
fromin interfaceShippingTaskTaskArtifactCompletedWebhookPayload.EventTimestampStage
-
eventTimestamp
public ShippingTaskTaskArtifactCompletedWebhookPayload.OrderIdStage eventTimestamp(@NotNull java.time.OffsetDateTime eventTimestamp)
UTC timestamp when the event occurred
UTC timestamp when the event occurred
- Specified by:
eventTimestampin interfaceShippingTaskTaskArtifactCompletedWebhookPayload.EventTimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public ShippingTaskTaskArtifactCompletedWebhookPayload.TaskGroupIdStage orderId(@NotNull java.lang.String orderId)
The order containing the task
The order containing the task
- Specified by:
orderIdin interfaceShippingTaskTaskArtifactCompletedWebhookPayload.OrderIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskGroupId
public ShippingTaskTaskArtifactCompletedWebhookPayload.TaskIdStage taskGroupId(@NotNull java.lang.String taskGroupId)
The task group containing the task
The task group containing the task
- Specified by:
taskGroupIdin interfaceShippingTaskTaskArtifactCompletedWebhookPayload.TaskGroupIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskId
public ShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactIdStage taskId(@NotNull java.lang.String taskId)
The task the artifact belongs to
The task the artifact belongs to
- Specified by:
taskIdin interfaceShippingTaskTaskArtifactCompletedWebhookPayload.TaskIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskArtifactId
public ShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactTypeStage taskArtifactId(@NotNull java.lang.String taskArtifactId)
The task artifact that was completed
The task artifact that was completed
- Specified by:
taskArtifactIdin interfaceShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskArtifactType
public ShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage taskArtifactType(@NotNull TaskArtifactTypeEnum1 taskArtifactType)
The type of task artifact (e.g., IMAGE, SIGNATURE)
The type of task artifact (e.g., IMAGE, SIGNATURE)
- Specified by:
taskArtifactTypein interfaceShippingTaskTaskArtifactCompletedWebhookPayload.TaskArtifactTypeStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventType
public ShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage eventType(java.lang.String eventType)
- Specified by:
eventTypein interfaceShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage
-
eventType
public ShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage eventType(java.util.Optional<java.lang.String> eventType)
- Specified by:
eventTypein interfaceShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage
-
build
public ShippingTaskTaskArtifactCompletedWebhookPayload build()
- Specified by:
buildin interfaceShippingTaskTaskArtifactCompletedWebhookPayload._FinalStage
-
-