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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.