Class CourierClient


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

      • CourierClient

        public CourierClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawCourierClient withRawResponse()
        Get responses with HTTP metadata like headers
      • getV1

        public CourierOrgInfoForConnections1 getV1()
        Retrieves courier organization connection information for the caller's organization. | () -> (CourierOrgInfoForConnections1)
      • listV1

        public java.util.List<CourierOrgInfoForConnections1> listV1()
        Retrieves list of connected courier organizations for forwarder or shipper organizations. Not accessible by courier organizations. | () -> (list[CourierOrgInfoForConnections1])
      • listV1

        public java.util.List<CourierOrgInfoForConnections1> listV1​(RequestOptions requestOptions)
        Retrieves list of connected courier organizations for forwarder or shipper organizations. Not accessible by courier organizations. | () -> (list[CourierOrgInfoForConnections1])
      • createV1

        public java.lang.String createV1​(CourierOrgInfoForConnectionsClientCreate1 request)
        Creates courier organization connection information. Fails if already exists. | (CourierOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
      • createV1

        public java.lang.String createV1​(CourierOrgInfoForConnectionsClientCreate1 request,
                                         RequestOptions requestOptions)
        Creates courier organization connection information. Fails if already exists. | (CourierOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
      • updateV1

        public boolean updateV1()
        Updates existing courier organization connection information. | (CourierOrgInfoForConnectionsClientUpdate1) -> (bool)
      • updateV1

        public boolean updateV1​(CourierOrgInfoForConnectionsClientUpdate1 request)
        Updates existing courier organization connection information. | (CourierOrgInfoForConnectionsClientUpdate1) -> (bool)