Class AsyncRawCourierPayDriverRateSheetsClient
- java.lang.Object
-
- com.chrt.api.resources.courierpaydriverratesheets.AsyncRawCourierPayDriverRateSheetsClient
-
public class AsyncRawCourierPayDriverRateSheetsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawCourierPayDriverRateSheetsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CourierPayDriverRateSheetClientCreate1 request)Creates a new driver rate sheet for calculating courier payments.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CourierPayDriverRateSheetClientCreate1 request, RequestOptions requestOptions)Creates a new driver rate sheet for calculating courier payments.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>deleteByIdV1(java.lang.String id)Deletes a driver rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>deleteByIdV1(java.lang.String id, RequestOptions requestOptions)Deletes a driver rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>>getV1(java.lang.String id)Retrieves a single rate sheet by its ID.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>>getV1(java.lang.String id, RequestOptions requestOptions)Retrieves a single rate sheet by its ID.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>>listByCourierOrgIdV1()Lists all driver rate sheets for the caller's courier organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>>listByCourierOrgIdV1(RequestOptions requestOptions)Lists all driver rate sheets for the caller's courier organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>>listByDriverIdV1(java.lang.String driverId)Retrieves all rate sheets assigned to a specific driver.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>>listByDriverIdV1(java.lang.String driverId, RequestOptions requestOptions)Retrieves all rate sheets assigned to a specific driver.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>>updateByIdV1(java.lang.String id)Updates an existing driver rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>>updateByIdV1(java.lang.String id, CourierPayDriverRateSheetClientUpdate1 request)Updates an existing driver rate sheet owned by the caller's organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>>updateByIdV1(java.lang.String id, CourierPayDriverRateSheetClientUpdate1 request, RequestOptions requestOptions)Updates an existing driver rate sheet owned by the caller's organization.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawCourierPayDriverRateSheetsClient
public AsyncRawCourierPayDriverRateSheetsClient(ClientOptions clientOptions)
-
-
Method Detail
-
listByCourierOrgIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>> listByCourierOrgIdV1()
Lists all driver rate sheets for the caller's courier organization. | () -> (list[CourierPayDriverRateSheet1])
-
listByCourierOrgIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>> listByCourierOrgIdV1(RequestOptions requestOptions)
Lists all driver rate sheets for the caller's courier organization. | () -> (list[CourierPayDriverRateSheet1])
-
listByDriverIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>> listByDriverIdV1(java.lang.String driverId)
Retrieves all rate sheets assigned to a specific driver. | () -> (list[CourierPayDriverRateSheet1])
-
listByDriverIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.util.List<CourierPayDriverRateSheet1>>> listByDriverIdV1(java.lang.String driverId, RequestOptions requestOptions)
Retrieves all rate sheets assigned to a specific driver. | () -> (list[CourierPayDriverRateSheet1])
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1(CourierPayDriverRateSheetClientCreate1 request)
Creates a new driver rate sheet for calculating courier payments. | (CourierPayDriverRateSheetClientCreate1) -> (PydanticObjectId)
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1(CourierPayDriverRateSheetClientCreate1 request, RequestOptions requestOptions)
Creates a new driver rate sheet for calculating courier payments. | (CourierPayDriverRateSheetClientCreate1) -> (PydanticObjectId)
-
getV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>> getV1(java.lang.String id)
Retrieves a single rate sheet by its ID. | () -> (CourierPayDriverRateSheet1)
-
getV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>> getV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a single rate sheet by its ID. | () -> (CourierPayDriverRateSheet1)
-
deleteByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> deleteByIdV1(java.lang.String id)
Deletes a driver rate sheet owned by the caller's organization. | () -> (bool)
-
deleteByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> deleteByIdV1(java.lang.String id, RequestOptions requestOptions)
Deletes a driver rate sheet owned by the caller's organization. | () -> (bool)
-
updateByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>> updateByIdV1(java.lang.String id)
Updates an existing driver rate sheet owned by the caller's organization. | (CourierPayDriverRateSheetClientUpdate1) -> (CourierPayDriverRateSheet1)
-
updateByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>> updateByIdV1(java.lang.String id, CourierPayDriverRateSheetClientUpdate1 request)
Updates an existing driver rate sheet owned by the caller's organization. | (CourierPayDriverRateSheetClientUpdate1) -> (CourierPayDriverRateSheet1)
-
updateByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverRateSheet1>> updateByIdV1(java.lang.String id, CourierPayDriverRateSheetClientUpdate1 request, RequestOptions requestOptions)
Updates an existing driver rate sheet owned by the caller's organization. | (CourierPayDriverRateSheetClientUpdate1) -> (CourierPayDriverRateSheet1)
-
-