Class ShipperPayCourierPaymentsClient
- java.lang.Object
-
- com.chrt.api.resources.shipperpaycourierpayments.ShipperPayCourierPaymentsClient
-
public class ShipperPayCourierPaymentsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description ShipperPayCourierPaymentsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateV1(CreateShipperPayCourierPaymentReq request)Creates a shipper-to-courier payment record based on all task groups in an order.java.lang.StringcreateV1(CreateShipperPayCourierPaymentReq request, RequestOptions requestOptions)Creates a shipper-to-courier payment record based on all task groups in an order.booleandeleteV1(java.lang.String shipperPayCourierPaymentId)Deletes a shipper-to-courier payment record if invoice not yet created.booleandeleteV1(java.lang.String shipperPayCourierPaymentId, RequestOptions requestOptions)Deletes a shipper-to-courier payment record if invoice not yet created.ShipperPayCourierStatement1getByIdV1(java.lang.String shipperPayCourierPaymentId)Retrieves a shipper pay courier payment by its ID with Stripe invoice sync.ShipperPayCourierStatement1getByIdV1(java.lang.String shipperPayCourierPaymentId, RequestOptions requestOptions)Retrieves a shipper pay courier payment by its ID with Stripe invoice sync.ShipperPayCourierStatement1getByOrderIdOrShortIdV1(java.lang.String orderIdOrShortId)Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync.ShipperPayCourierStatement1getByOrderIdOrShortIdV1(java.lang.String orderIdOrShortId, RequestOptions requestOptions)Retrieves a shipper pay courier payment by order ID or short ID with Stripe invoice sync.GetShipperPayCourierPaymentsForShipperReslistByCourierOrgIdV1(ListPaymentsByCourierReq request)Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync.GetShipperPayCourierPaymentsForShipperReslistByCourierOrgIdV1(ListPaymentsByCourierReq request, RequestOptions requestOptions)Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync.GetShipperPayCourierPaymentsForShipperReslistByShipperOrgIdV1(ListPaymentsByShipperReq request)Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync.GetShipperPayCourierPaymentsForShipperReslistByShipperOrgIdV1(ListPaymentsByShipperReq request, RequestOptions requestOptions)Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync.PaymentPreviewResponsepreviewV1(CreateShipperPayCourierPaymentReq request)Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status.PaymentPreviewResponsepreviewV1(CreateShipperPayCourierPaymentReq request, RequestOptions requestOptions)Previews a shipper-to-courier payment showing task groups, line item groups, total amount, and readiness status.RawShipperPayCourierPaymentsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
ShipperPayCourierPaymentsClient
public ShipperPayCourierPaymentsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawShipperPayCourierPaymentsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getByIdV1
public ShipperPayCourierStatement1 getByIdV1(java.lang.String shipperPayCourierPaymentId)
Retrieves a shipper pay courier payment by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
-
getByIdV1
public ShipperPayCourierStatement1 getByIdV1(java.lang.String shipperPayCourierPaymentId, RequestOptions requestOptions)
Retrieves a shipper pay courier payment by its ID with Stripe invoice sync. | () -> (ShipperPayCourierStatement1)
-
deleteV1
public boolean deleteV1(java.lang.String shipperPayCourierPaymentId)
Deletes a shipper-to-courier payment record if invoice not yet created. | () -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String shipperPayCourierPaymentId, RequestOptions requestOptions)Deletes a shipper-to-courier payment record if invoice not yet created. | () -> (bool)
-
getByOrderIdOrShortIdV1
public 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 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 GetShipperPayCourierPaymentsForShipperRes listByShipperOrgIdV1(ListPaymentsByShipperReq request)
Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync. | (ListPaymentsByShipperReq) -> (GetShipperPayCourierPaymentsForShipperRes)
-
listByShipperOrgIdV1
public 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 GetShipperPayCourierPaymentsForShipperRes listByCourierOrgIdV1(ListPaymentsByCourierReq request)
Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync. | (ListPaymentsByCourierReq) -> (GetShipperPayCourierPaymentsForShipperRes)
-
listByCourierOrgIdV1
public 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.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.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 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 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)
-
-