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