Class CourierPayDriverLineItemGroupsClient
- java.lang.Object
-
- com.chrt.api.resources.courierpaydriverlineitemgroups.CourierPayDriverLineItemGroupsClient
-
public class CourierPayDriverLineItemGroupsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.function.Supplier<AddLineItemsClient>addLineItemsClientprotected ClientOptionsclientOptionsprotected java.util.function.Supplier<RemoveLineItemsClient>removeLineItemsClient
-
Constructor Summary
Constructors Constructor Description CourierPayDriverLineItemGroupsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddLineItemsClientaddLineItems()CourierPayDriverLineItemGroup1byTaskGroupIdV1(java.lang.String taskGroupId)Retrieves a courier driver line item group by its associated task group ID.CourierPayDriverLineItemGroup1byTaskGroupIdV1(java.lang.String taskGroupId, RequestOptions requestOptions)Retrieves a courier driver line item group by its associated task group ID.java.lang.StringcreateV1(CourierPayDriverLineItemGroupCreateReq request)Creates a courier pay driver line item group by calculating items from a rate sheet and task group.java.lang.StringcreateV1(CourierPayDriverLineItemGroupCreateReq request, RequestOptions requestOptions)Creates a courier pay driver line item group by calculating items from a rate sheet and task group.CourierPayDriverLineItemGroup1getByIdV1(java.lang.String id)Retrieves a courier driver line item group by its ID.CourierPayDriverLineItemGroup1getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a courier driver line item group by its ID.CourierPayDriverLineItemGroupServerCreate1previewV1(java.lang.String driverId, CourierPayDriverLineItemGroupCreateReq request)Previews calculated line items for a driver based on a rate sheet and task group.CourierPayDriverLineItemGroupServerCreate1previewV1(java.lang.String driverId, CourierPayDriverLineItemGroupCreateReq request, RequestOptions requestOptions)Previews calculated line items for a driver based on a rate sheet and task group.RemoveLineItemsClientremoveLineItems()RawCourierPayDriverLineItemGroupsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
addLineItemsClient
protected final java.util.function.Supplier<AddLineItemsClient> addLineItemsClient
-
removeLineItemsClient
protected final java.util.function.Supplier<RemoveLineItemsClient> removeLineItemsClient
-
-
Constructor Detail
-
CourierPayDriverLineItemGroupsClient
public CourierPayDriverLineItemGroupsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawCourierPayDriverLineItemGroupsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByIdV1
public CourierPayDriverLineItemGroup1 getByIdV1(java.lang.String id)
Retrieves a courier driver line item group by its ID. | () -> (CourierPayDriverLineItemGroup1)
-
getByIdV1
public CourierPayDriverLineItemGroup1 getByIdV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a courier driver line item group by its ID. | () -> (CourierPayDriverLineItemGroup1)
-
byTaskGroupIdV1
public CourierPayDriverLineItemGroup1 byTaskGroupIdV1(java.lang.String taskGroupId)
Retrieves a courier driver line item group by its associated task group ID. | () -> (CourierPayDriverLineItemGroup1)
-
byTaskGroupIdV1
public CourierPayDriverLineItemGroup1 byTaskGroupIdV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Retrieves a courier driver line item group by its associated task group ID. | () -> (CourierPayDriverLineItemGroup1)
-
previewV1
public 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 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.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.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)
-
addLineItems
public AddLineItemsClient addLineItems()
-
removeLineItems
public RemoveLineItemsClient removeLineItems()
-
-