Class RawCourierPayDriverPayoutsClient
- java.lang.Object
-
- com.chrt.api.resources.courierpaydriverpayouts.RawCourierPayDriverPayoutsClient
-
public class RawCourierPayDriverPayoutsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawCourierPayDriverPayoutsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChrtApiHttpResponse<java.lang.String>createV1(CourierPayDriverStatementClientCreate1 request)Creates a new driver payout from selected line item groups and calculates the total amount.ChrtApiHttpResponse<java.lang.String>createV1(CourierPayDriverStatementClientCreate1 request, RequestOptions requestOptions)Creates a new driver payout from selected line item groups and calculates the total amount.ChrtApiHttpResponse<CourierPayDriverStatement1>getByIdV1(java.lang.String id)Retrieves a specific courier driver payout for the caller's organization.ChrtApiHttpResponse<CourierPayDriverStatement1>getByIdV1(java.lang.String id, RequestOptions requestOptions)Retrieves a specific courier driver payout for the caller's organization.ChrtApiHttpResponse<java.util.List<CourierPayDriverStatement1>>listByDriverIdV1(java.lang.String driverId)Lists all payouts for a specific driver within the caller's organization.ChrtApiHttpResponse<java.util.List<CourierPayDriverStatement1>>listByDriverIdV1(java.lang.String driverId, RequestOptions requestOptions)Lists all payouts for a specific driver within the caller's organization.ChrtApiHttpResponse<CourierPayDriverStatement1>updateStatusV1(java.lang.String id)Updates the status of a courier driver payout with validation of allowed state transitions.ChrtApiHttpResponse<CourierPayDriverStatement1>updateStatusV1(java.lang.String id, CourierPayDriverStatementClientUpdate1 request)Updates the status of a courier driver payout with validation of allowed state transitions.ChrtApiHttpResponse<CourierPayDriverStatement1>updateStatusV1(java.lang.String id, CourierPayDriverStatementClientUpdate1 request, RequestOptions requestOptions)Updates the status of a courier driver payout with validation of allowed state transitions.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawCourierPayDriverPayoutsClient
public RawCourierPayDriverPayoutsClient(ClientOptions clientOptions)
-
-
Method Detail
-
getByIdV1
public ChrtApiHttpResponse<CourierPayDriverStatement1> getByIdV1(java.lang.String id)
Retrieves a specific courier driver payout for the caller's organization. | () -> (CourierPayDriverStatement1)
-
getByIdV1
public ChrtApiHttpResponse<CourierPayDriverStatement1> getByIdV1(java.lang.String id, RequestOptions requestOptions)
Retrieves a specific courier driver payout for the caller's organization. | () -> (CourierPayDriverStatement1)
-
listByDriverIdV1
public ChrtApiHttpResponse<java.util.List<CourierPayDriverStatement1>> listByDriverIdV1(java.lang.String driverId)
Lists all payouts for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
-
listByDriverIdV1
public ChrtApiHttpResponse<java.util.List<CourierPayDriverStatement1>> listByDriverIdV1(java.lang.String driverId, RequestOptions requestOptions)
Lists all payouts for a specific driver within the caller's organization. | () -> (list[CourierPayDriverStatement1])
-
createV1
public ChrtApiHttpResponse<java.lang.String> createV1(CourierPayDriverStatementClientCreate1 request)
Creates a new driver payout from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
-
createV1
public ChrtApiHttpResponse<java.lang.String> createV1(CourierPayDriverStatementClientCreate1 request, RequestOptions requestOptions)
Creates a new driver payout from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
-
updateStatusV1
public ChrtApiHttpResponse<CourierPayDriverStatement1> updateStatusV1(java.lang.String id)
Updates the status of a courier driver payout with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
-
updateStatusV1
public ChrtApiHttpResponse<CourierPayDriverStatement1> updateStatusV1(java.lang.String id, CourierPayDriverStatementClientUpdate1 request)
Updates the status of a courier driver payout with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
-
updateStatusV1
public ChrtApiHttpResponse<CourierPayDriverStatement1> updateStatusV1(java.lang.String id, CourierPayDriverStatementClientUpdate1 request, RequestOptions requestOptions)
Updates the status of a courier driver payout with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)
-
-