Class AsyncRawCourierPayDriverStatementsClient


  • public class AsyncRawCourierPayDriverStatementsClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncRawCourierPayDriverStatementsClient

        public AsyncRawCourierPayDriverStatementsClient​(ClientOptions clientOptions)
    • Method Detail

      • getByIdV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverStatement1>> getByIdV1​(java.lang.String id)
        Retrieves a specific courier driver statement for the caller's organization. | () -> (CourierPayDriverStatement1)
      • listByDriverIdV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<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.concurrent.CompletableFuture<ChrtApiHttpResponse<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.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1​(CourierPayDriverStatementClientCreate1 request)
        Creates a new driver statement from selected line item groups and calculates the total amount. | (CourierPayDriverStatementClientCreate1) -> (PydanticObjectId)
      • updateStatusV1

        public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<CourierPayDriverStatement1>> updateStatusV1​(java.lang.String id)
        Updates the status of a courier driver statement with validation of allowed state transitions. | (CourierPayDriverStatementClientUpdate1) -> (CourierPayDriverStatement1)