Class AsyncShipperPayCourierPaymentsClient


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

      • AsyncShipperPayCourierPaymentsClient

        public AsyncShipperPayCourierPaymentsClient​(ClientOptions clientOptions)
    • Method Detail

      • getByIdV1

        public java.util.concurrent.CompletableFuture<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<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<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<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<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<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<GetShipperPayCourierPaymentsForShipperRes> listByShipperOrgIdV1​(ListPaymentsByShipperReq request)
        Lists shipper pay courier payments by shipper org ID with status filtering and Stripe sync. | (ListPaymentsByShipperReq) -> (GetShipperPayCourierPaymentsForShipperRes)
      • listByCourierOrgIdV1

        public java.util.concurrent.CompletableFuture<GetShipperPayCourierPaymentsForShipperRes> listByCourierOrgIdV1​(ListPaymentsByCourierReq request)
        Lists shipper pay courier payments by courier org ID with status filtering and Stripe sync. | (ListPaymentsByCourierReq) -> (GetShipperPayCourierPaymentsForShipperRes)
      • createV1

        public java.util.concurrent.CompletableFuture<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<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<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<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)