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