Package com.chrt.api.types
Class ShippingTaskGroupInProgressWebhookPayload.Builder
- java.lang.Object
-
- com.chrt.api.types.ShippingTaskGroupInProgressWebhookPayload.Builder
-
- All Implemented Interfaces:
ShippingTaskGroupInProgressWebhookPayload._FinalStage,ShippingTaskGroupInProgressWebhookPayload.EventTimestampStage,ShippingTaskGroupInProgressWebhookPayload.OrderIdStage,ShippingTaskGroupInProgressWebhookPayload.TaskGroupIdStage
- Enclosing class:
- ShippingTaskGroupInProgressWebhookPayload
public static final class ShippingTaskGroupInProgressWebhookPayload.Builder extends java.lang.Object implements ShippingTaskGroupInProgressWebhookPayload.EventTimestampStage, ShippingTaskGroupInProgressWebhookPayload.OrderIdStage, ShippingTaskGroupInProgressWebhookPayload.TaskGroupIdStage, ShippingTaskGroupInProgressWebhookPayload._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShippingTaskGroupInProgressWebhookPayloadbuild()ShippingTaskGroupInProgressWebhookPayload.OrderIdStageeventTimestamp(java.time.OffsetDateTime eventTimestamp)UTC timestamp when the event occurredShippingTaskGroupInProgressWebhookPayload._FinalStageeventType(java.lang.String eventType)ShippingTaskGroupInProgressWebhookPayload._FinalStageeventType(java.util.Optional<java.lang.String> eventType)ShippingTaskGroupInProgressWebhookPayload.Builderfrom(ShippingTaskGroupInProgressWebhookPayload other)ShippingTaskGroupInProgressWebhookPayload.TaskGroupIdStageorderId(java.lang.String orderId)The order containing the task groupShippingTaskGroupInProgressWebhookPayload._FinalStagetaskGroupId(java.lang.String taskGroupId)The task group that is now in progress
-
-
-
Method Detail
-
from
public ShippingTaskGroupInProgressWebhookPayload.Builder from(ShippingTaskGroupInProgressWebhookPayload other)
- Specified by:
fromin interfaceShippingTaskGroupInProgressWebhookPayload.EventTimestampStage
-
eventTimestamp
public ShippingTaskGroupInProgressWebhookPayload.OrderIdStage eventTimestamp(@NotNull java.time.OffsetDateTime eventTimestamp)
UTC timestamp when the event occurred
UTC timestamp when the event occurred
- Specified by:
eventTimestampin interfaceShippingTaskGroupInProgressWebhookPayload.EventTimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public ShippingTaskGroupInProgressWebhookPayload.TaskGroupIdStage orderId(@NotNull java.lang.String orderId)
The order containing the task group
The order containing the task group
- Specified by:
orderIdin interfaceShippingTaskGroupInProgressWebhookPayload.OrderIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskGroupId
public ShippingTaskGroupInProgressWebhookPayload._FinalStage taskGroupId(@NotNull java.lang.String taskGroupId)
The task group that is now in progress
The task group that is now in progress
- Specified by:
taskGroupIdin interfaceShippingTaskGroupInProgressWebhookPayload.TaskGroupIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
eventType
public ShippingTaskGroupInProgressWebhookPayload._FinalStage eventType(java.lang.String eventType)
- Specified by:
eventTypein interfaceShippingTaskGroupInProgressWebhookPayload._FinalStage
-
eventType
public ShippingTaskGroupInProgressWebhookPayload._FinalStage eventType(java.util.Optional<java.lang.String> eventType)
- Specified by:
eventTypein interfaceShippingTaskGroupInProgressWebhookPayload._FinalStage
-
build
public ShippingTaskGroupInProgressWebhookPayload build()
- Specified by:
buildin interfaceShippingTaskGroupInProgressWebhookPayload._FinalStage
-
-