CreateDeliveryTaskRequest contains the values that may be set when creating a new task.
Nested Class Summary
class | CreateDeliveryTaskRequest.Builder | Builder class for CreateDeliveryTaskRequest. |
Public Constructor Summary
Public Method Summary
static CreateDeliveryTaskRequest.Builder | |
final String |
getParentId()
This method is deprecated. Instead call
getTrackingId() .
|
abstract Waypoint |
getPlannedWaypoint()
Returns the waypoint destination where the task will be completed.
|
abstract long |
getTaskDurationSeconds()
Returns the additional time to perform an action at this location, measured in
seconds.
|
abstract String |
getTaskId()
Returns the unique identifier for this task for this provider.
|
abstract int |
getTaskType()
Returns the type of task.
|
abstract String |
getTrackingId()
Returns the tracking ID of the Task.
|
Inherited Method Summary
Public Constructors
public CreateDeliveryTaskRequest ()
Public Methods
public static CreateDeliveryTaskRequest.Builder builder (String taskId)
Returns new default Builder instance.
public final String getParentId ()
This method is deprecated.
Instead call
getTrackingId()
.
Returns the parent ID of the task. This corresponds to the set of related tasks to accomplish one goal (e.g. a package delivery).
public abstract Waypoint getPlannedWaypoint ()
Returns the waypoint destination where the task will be completed.
public abstract long getTaskDurationSeconds ()
Returns the additional time to perform an action at this location, measured in seconds.
public abstract String getTaskId ()
Returns the unique identifier for this task for this provider.
public abstract int getTaskType ()
Returns the type of task. These values can differ depending on the vertical or can allow for a driver to be operating within multiple verticals at once.
public abstract String getTrackingId ()
Returns the tracking ID of the Task. This corresponds to the set of related tasks to accomplish one goal (e.g. a package delivery).