Class AsyncRawCourierPayDriverLineItemGroupsClient
- java.lang.Object
-
- com.chrt.api.resources.courierpaydriverlineitemgroups.AsyncRawCourierPayDriverLineItemGroupsClient
-
public class AsyncRawCourierPayDriverLineItemGroupsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawCourierPayDriverLineItemGroupsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>>byTaskGroupIdV1(java.lang.String taskGroupId)Retrieves a courier driver line item group by its associated task group ID.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>>byTaskGroupIdV1(java.lang.String taskGroupId, RequestOptions requestOptions)Retrieves a courier driver line item group by its associated task group ID.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CourierPayDriverLineItemGroupCreateReq request)Creates a courier pay driver line item group by calculating items from a rate sheet and task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CourierPayDriverLineItemGroupCreateReq request, RequestOptions requestOptions)Creates a courier pay driver line item group by calculating items from a rate sheet and task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>>getByIdV1(java.lang.String id)Retrieves a courier driver line item group by its ID.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>>getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a courier driver line item group by its ID.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroupServerCreate1>>previewV1(java.lang.String driverId, CourierPayDriverLineItemGroupCreateReq request)Previews calculated line items for a driver based on a rate sheet and task group.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroupServerCreate1>>previewV1(java.lang.String driverId, CourierPayDriverLineItemGroupCreateReq request, RequestOptions requestOptions)Previews calculated line items for a driver based on a rate sheet and task group.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawCourierPayDriverLineItemGroupsClient
public AsyncRawCourierPayDriverLineItemGroupsClient(ClientOptions clientOptions)
-
-
Method Detail
-
getByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>> getByIdV1(java.lang.String id)
Retrieves a courier driver line item group by its ID. | () -> (CourierPayDriverLineItemGroup1)
-
getByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>> getByIdV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a courier driver line item group by its ID. | () -> (CourierPayDriverLineItemGroup1)
-
byTaskGroupIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>> byTaskGroupIdV1(java.lang.String taskGroupId)
Retrieves a courier driver line item group by its associated task group ID. | () -> (CourierPayDriverLineItemGroup1)
-
byTaskGroupIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroup1>> byTaskGroupIdV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Retrieves a courier driver line item group by its associated task group ID. | () -> (CourierPayDriverLineItemGroup1)
-
previewV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroupServerCreate1>> previewV1(java.lang.String driverId, CourierPayDriverLineItemGroupCreateReq request)
Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database. | (CourierPayDriverLineItemGroupCreateReq) -> (CourierPayDriverLineItemGroupServerCreate1)
-
previewV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverLineItemGroupServerCreate1>> previewV1(java.lang.String driverId, CourierPayDriverLineItemGroupCreateReq request, RequestOptions requestOptions)
Previews calculated line items for a driver based on a rate sheet and task group. Does not write to the database. | (CourierPayDriverLineItemGroupCreateReq) -> (CourierPayDriverLineItemGroupServerCreate1)
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1(CourierPayDriverLineItemGroupCreateReq request)
Creates a courier pay driver line item group by calculating items from a rate sheet and task group. | (CourierPayDriverLineItemGroupCreateReq) -> (PydanticObjectId)
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1(CourierPayDriverLineItemGroupCreateReq request, RequestOptions requestOptions)
Creates a courier pay driver line item group by calculating items from a rate sheet and task group. | (CourierPayDriverLineItemGroupCreateReq) -> (PydanticObjectId)
-
-