Class ShipperPayCourierPaymentsClient


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

      • ShipperPayCourierPaymentsClient

        public ShipperPayCourierPaymentsClient​(ClientOptions clientOptions)
    • Method Detail

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