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