Package com.chrt.api.types
Class ShippingTaskSkippedWebhookPayload.Builder
- java.lang.Object
-
- com.chrt.api.types.ShippingTaskSkippedWebhookPayload.Builder
-
- All Implemented Interfaces:
ShippingTaskSkippedWebhookPayload._FinalStage,ShippingTaskSkippedWebhookPayload.EventTimestampStage,ShippingTaskSkippedWebhookPayload.OrderIdStage,ShippingTaskSkippedWebhookPayload.TaskGroupIdStage,ShippingTaskSkippedWebhookPayload.TaskIdStage
- Enclosing class:
- ShippingTaskSkippedWebhookPayload
public static final class ShippingTaskSkippedWebhookPayload.Builder extends java.lang.Object implements ShippingTaskSkippedWebhookPayload.EventTimestampStage, ShippingTaskSkippedWebhookPayload.OrderIdStage, ShippingTaskSkippedWebhookPayload.TaskGroupIdStage, ShippingTaskSkippedWebhookPayload.TaskIdStage, ShippingTaskSkippedWebhookPayload._FinalStage
-
-
Method Summary
-
-
-
Method Detail
-
from
public ShippingTaskSkippedWebhookPayload.Builder from(ShippingTaskSkippedWebhookPayload other)
- Specified by:
fromin interfaceShippingTaskSkippedWebhookPayload.EventTimestampStage
-
eventTimestamp
public ShippingTaskSkippedWebhookPayload.OrderIdStage eventTimestamp(@NotNull java.time.OffsetDateTime eventTimestamp)
UTC timestamp when the event occurred
UTC timestamp when the event occurred
- Specified by:
eventTimestampin interfaceShippingTaskSkippedWebhookPayload.EventTimestampStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
orderId
public ShippingTaskSkippedWebhookPayload.TaskGroupIdStage orderId(@NotNull java.lang.String orderId)
The order containing the task
The order containing the task
- Specified by:
orderIdin interfaceShippingTaskSkippedWebhookPayload.OrderIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskGroupId
public ShippingTaskSkippedWebhookPayload.TaskIdStage taskGroupId(@NotNull java.lang.String taskGroupId)
The task group containing the task
The task group containing the task
- Specified by:
taskGroupIdin interfaceShippingTaskSkippedWebhookPayload.TaskGroupIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
taskId
public ShippingTaskSkippedWebhookPayload._FinalStage taskId(@NotNull java.lang.String taskId)
The task that was skipped
The task that was skipped
- Specified by:
taskIdin interfaceShippingTaskSkippedWebhookPayload.TaskIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
location
public ShippingTaskSkippedWebhookPayload._FinalStage location(Nullable<LocationFeature> location)
The location where the task was to be performed
- Specified by:
locationin interfaceShippingTaskSkippedWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
location
public ShippingTaskSkippedWebhookPayload._FinalStage location(LocationFeature location)
The location where the task was to be performed
- Specified by:
locationin interfaceShippingTaskSkippedWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
location
public ShippingTaskSkippedWebhookPayload._FinalStage location(java.util.Optional<LocationFeature> location)
The location where the task was to be performed
- Specified by:
locationin interfaceShippingTaskSkippedWebhookPayload._FinalStage
-
action
public ShippingTaskSkippedWebhookPayload._FinalStage action(Nullable<Action> action)
The task action type (e.g., PICKUP, DELIVER)
- Specified by:
actionin interfaceShippingTaskSkippedWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
action
public ShippingTaskSkippedWebhookPayload._FinalStage action(Action action)
The task action type (e.g., PICKUP, DELIVER)
- Specified by:
actionin interfaceShippingTaskSkippedWebhookPayload._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
action
public ShippingTaskSkippedWebhookPayload._FinalStage action(java.util.Optional<Action> action)
The task action type (e.g., PICKUP, DELIVER)
- Specified by:
actionin interfaceShippingTaskSkippedWebhookPayload._FinalStage
-
eventType
public ShippingTaskSkippedWebhookPayload._FinalStage eventType(java.lang.String eventType)
- Specified by:
eventTypein interfaceShippingTaskSkippedWebhookPayload._FinalStage
-
eventType
public ShippingTaskSkippedWebhookPayload._FinalStage eventType(java.util.Optional<java.lang.String> eventType)
- Specified by:
eventTypein interfaceShippingTaskSkippedWebhookPayload._FinalStage
-
build
public ShippingTaskSkippedWebhookPayload build()
- Specified by:
buildin interfaceShippingTaskSkippedWebhookPayload._FinalStage
-
-