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