Class AsyncTaskGroupIdClient
- java.lang.Object
-
- com.chrt.api.resources.taskgroups.taskgroupid.AsyncTaskGroupIdClient
-
public class AsyncTaskGroupIdClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncTaskGroupIdClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<java.lang.String>forCourierDriverV1(java.lang.String orderIdOrShortId)Retrieves the task group ID for the courier driver assigned to an order's task group.java.util.concurrent.CompletableFuture<java.lang.String>forCourierDriverV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)Retrieves the task group ID for the courier driver assigned to an order's task group.java.util.concurrent.CompletableFuture<java.lang.String>forCourierOperatorsV1(java.lang.String orderIdOrShortId)Retrieves the task group ID for the courier organization assigned to an order's task group.java.util.concurrent.CompletableFuture<java.lang.String>forCourierOperatorsV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)Retrieves the task group ID for the courier organization assigned to an order's task group.AsyncRawTaskGroupIdClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncTaskGroupIdClient
public AsyncTaskGroupIdClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawTaskGroupIdClient withRawResponse()
Get responses with HTTP metadata like headers
-
forCourierOperatorsV1
public java.util.concurrent.CompletableFuture<java.lang.String> forCourierOperatorsV1(java.lang.String orderIdOrShortId)
Retrieves the task group ID for the courier organization assigned to an order's task group. | authz_personas=[courier_org_operators] | () -> (PydanticObjectId)
-
forCourierOperatorsV1
public java.util.concurrent.CompletableFuture<java.lang.String> forCourierOperatorsV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)Retrieves the task group ID for the courier organization assigned to an order's task group. | authz_personas=[courier_org_operators] | () -> (PydanticObjectId)
-
forCourierDriverV1
public java.util.concurrent.CompletableFuture<java.lang.String> forCourierDriverV1(java.lang.String orderIdOrShortId)
Retrieves the task group ID for the courier driver assigned to an order's task group. | authz_personas=[courier_driver] | () -> (PydanticObjectId)
-
forCourierDriverV1
public java.util.concurrent.CompletableFuture<java.lang.String> forCourierDriverV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)Retrieves the task group ID for the courier driver assigned to an order's task group. | authz_personas=[courier_driver] | () -> (PydanticObjectId)
-
-