Class AsyncShipperPayCourierRateSheetsClient


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

      • AsyncShipperPayCourierRateSheetsClient

        public AsyncShipperPayCourierRateSheetsClient​(ClientOptions clientOptions)
    • Method Detail

      • listByCourierOrgIdV1

        public java.util.concurrent.CompletableFuture<java.util.List<ShipperPayCourierRateSheet1>> listByCourierOrgIdV1()
        Lists all rate sheets created by the authenticated courier organization. | () -> (list[ShipperPayCourierRateSheet1])
      • listByCourierOrgIdV1

        public java.util.concurrent.CompletableFuture<java.util.List<ShipperPayCourierRateSheet1>> listByCourierOrgIdV1​(RequestOptions requestOptions)
        Lists all rate sheets created by the authenticated courier organization. | () -> (list[ShipperPayCourierRateSheet1])
      • createV1

        public java.util.concurrent.CompletableFuture<java.lang.String> createV1​(ShipperPayCourierRateSheetClientCreate1 request)
        Creates a new rate sheet for a courier to charge shippers. | (ShipperPayCourierRateSheetClientCreate1) -> (PydanticObjectId)
      • createV1

        public java.util.concurrent.CompletableFuture<java.lang.String> createV1​(ShipperPayCourierRateSheetClientCreate1 request,
                                                                                 RequestOptions requestOptions)
        Creates a new rate sheet for a courier to charge shippers. | (ShipperPayCourierRateSheetClientCreate1) -> (PydanticObjectId)
      • getV1

        public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> getV1​(java.lang.String id)
        Retrieves a single rate sheet by its ID (courier access only). | () -> (ShipperPayCourierRateSheet1)
      • getV1

        public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> getV1​(java.lang.String id,
                                                                                         RequestOptions requestOptions)
        Retrieves a single rate sheet by its ID (courier access only). | () -> (ShipperPayCourierRateSheet1)
      • deleteByIdV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteByIdV1​(java.lang.String id)
        Deletes a rate sheet owned by the authenticated courier organization. | () -> (bool)
      • deleteByIdV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> deleteByIdV1​(java.lang.String id,
                                                                                      RequestOptions requestOptions)
        Deletes a rate sheet owned by the authenticated courier organization. | () -> (bool)
      • updateByIdV1

        public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> updateByIdV1​(java.lang.String id)
        Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)
      • updateByIdV1

        public java.util.concurrent.CompletableFuture<ShipperPayCourierRateSheet1> updateByIdV1​(java.lang.String id,
                                                                                                ShipperPayCourierRateSheetClientUpdate1 request)
        Updates an existing rate sheet owned by the authenticated courier organization. | (ShipperPayCourierRateSheetClientUpdate1) -> (ShipperPayCourierRateSheet1)