Class ShipperPayCourierRateSheetsClient


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

      • ShipperPayCourierRateSheetsClient

        public ShipperPayCourierRateSheetsClient​(ClientOptions clientOptions)
    • Method Detail

      • listByCourierOrgIdV1

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

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

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

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

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

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

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

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