Class AsyncRawShipperPayCourierStatementsClient
- java.lang.Object
-
- com.chrt.api.resources.shipperpaycourierstatements.AsyncRawShipperPayCourierStatementsClient
-
public class AsyncRawShipperPayCourierStatementsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawShipperPayCourierStatementsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CreateShipperPayCourierStatementReq request)Creates a shipper-to-courier statement record based on all task groups in an order.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createV1(CreateShipperPayCourierStatementReq request, RequestOptions requestOptions)Creates a shipper-to-courier statement record based on all task groups in an order.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>deleteV1(java.lang.String shipperPayCourierStatementId)Deletes a shipper-to-courier statement record if invoice not yet created.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>deleteV1(java.lang.String shipperPayCourierStatementId, RequestOptions requestOptions)Deletes a shipper-to-courier statement record if invoice not yet created.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>>getByIdV1(java.lang.String shipperPayCourierStatementId)Retrieves a shipper pay courier statement by its ID with Stripe invoice sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>>getByIdV1(java.lang.String shipperPayCourierStatementId, RequestOptions requestOptions)Retrieves a shipper pay courier statement by its ID with Stripe invoice sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>>getByOrderIdOrShortIdV1(java.lang.String orderIdOrShortId)Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>>getByOrderIdOrShortIdV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>>listByCourierOrgIdV1(ListStatementsByCourierReq request)Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>>listByCourierOrgIdV1(ListStatementsByCourierReq request, RequestOptions requestOptions)Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>>listByShipperOrgIdV1(ListStatementsByShipperReq request)Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>>listByShipperOrgIdV1(ListStatementsByShipperReq request, RequestOptions requestOptions)Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<StatementPreviewResponse>>previewV1(CreateShipperPayCourierStatementReq request)Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<StatementPreviewResponse>>previewV1(CreateShipperPayCourierStatementReq request, RequestOptions requestOptions)Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawShipperPayCourierStatementsClient
public AsyncRawShipperPayCourierStatementsClient(ClientOptions clientOptions)
-
-
Method Detail
-
getByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>> getByIdV1(java.lang.String shipperPayCourierStatementId)
Retrieves a shipper pay courier statement by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
-
getByIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>> getByIdV1(java.lang.String shipperPayCourierStatementId, RequestOptions requestOptions)
Retrieves a shipper pay courier statement by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
-
deleteV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> deleteV1(java.lang.String shipperPayCourierStatementId)
Deletes a shipper-to-courier statement record if invoice not yet created. | () -> (bool)
-
deleteV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> deleteV1(java.lang.String shipperPayCourierStatementId, RequestOptions requestOptions)
Deletes a shipper-to-courier statement record if invoice not yet created. | () -> (bool)
-
getByOrderIdOrShortIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>> getByOrderIdOrShortIdV1(java.lang.String orderIdOrShortId)
Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
-
getByOrderIdOrShortIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ShipperPayCourierStatement1>> getByOrderIdOrShortIdV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)
Retrieves a shipper pay courier statement by order ID or short ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
-
listByShipperOrgIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>> listByShipperOrgIdV1(ListStatementsByShipperReq request)
Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync. | (ListStatementsByShipperReq) -> (GetShipperPayCourierStatementsForShipperRes)
-
listByShipperOrgIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>> listByShipperOrgIdV1(ListStatementsByShipperReq request, RequestOptions requestOptions)
Lists shipper pay courier statements by shipper org ID with status filtering and Stripe sync. | (ListStatementsByShipperReq) -> (GetShipperPayCourierStatementsForShipperRes)
-
listByCourierOrgIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>> listByCourierOrgIdV1(ListStatementsByCourierReq request)
Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync. | (ListStatementsByCourierReq) -> (GetShipperPayCourierStatementsForShipperRes)
-
listByCourierOrgIdV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<GetShipperPayCourierStatementsForShipperRes>> listByCourierOrgIdV1(ListStatementsByCourierReq request, RequestOptions requestOptions)
Lists shipper pay courier statements by courier org ID with status filtering and Stripe sync. | (ListStatementsByCourierReq) -> (GetShipperPayCourierStatementsForShipperRes)
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1(CreateShipperPayCourierStatementReq request)
Creates a shipper-to-courier statement record based on all task groups in an order. | (CreateShipperPayCourierStatementReq) -> (PydanticObjectId)
-
createV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createV1(CreateShipperPayCourierStatementReq request, RequestOptions requestOptions)
Creates a shipper-to-courier statement record based on all task groups in an order. | (CreateShipperPayCourierStatementReq) -> (PydanticObjectId)
-
previewV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<StatementPreviewResponse>> previewV1(CreateShipperPayCourierStatementReq request)
Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status. | (CreateShipperPayCourierStatementReq) -> (StatementPreviewResponse)
-
previewV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<StatementPreviewResponse>> previewV1(CreateShipperPayCourierStatementReq request, RequestOptions requestOptions)
Previews a shipper-to-courier statement showing task groups, line item groups, total amount, and readiness status. | (CreateShipperPayCourierStatementReq) -> (StatementPreviewResponse)
-
-