Class ConnectionsClient


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

      • ConnectionsClient

        public ConnectionsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawConnectionsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • listShippersV1

        public ShipperConnectionListRes listShippersV1()
        Lists shipper organizations based on the caller's organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (ShipperConnectionListRes)
      • listShippersV1

        public ShipperConnectionListRes listShippersV1​(ConnectionsListShippersV1Request request)
        Lists shipper organizations based on the caller's organization type. Couriers see connected shippers, forwarders see connected shippers. | () -> (ShipperConnectionListRes)
      • listCouriersV1

        public CourierConnectionListRes listCouriersV1()
        Lists courier organizations based on the caller's organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (CourierConnectionListRes)
      • listCouriersV1

        public CourierConnectionListRes listCouriersV1​(ConnectionsListCouriersV1Request request)
        Lists courier organizations based on the caller's organization type. Shippers see connected couriers, forwarders see connected couriers. | () -> (CourierConnectionListRes)
      • listForwardersV1

        public ForwarderConnectionListRes listForwardersV1()
        Lists forwarder organizations based on the caller's organization type. Shippers see connected forwarders, couriers see connected forwarders. | () -> (ForwarderConnectionListRes)
      • getByHandleV1

        public java.util.Optional<ConnectionsGetByHandleV1Response> getByHandleV1​(java.lang.String handle)
        Gets connection between caller's org and org with specified handle. | () -> (ShipperCourierConnection1 | ShipperForwarderConnection1 | ForwarderCourierConnection1 | None)
      • getByHandleV1

        public java.util.Optional<ConnectionsGetByHandleV1Response> getByHandleV1​(java.lang.String handle,
                                                                                  RequestOptions requestOptions)
        Gets connection between caller's org and org with specified handle. | () -> (ShipperCourierConnection1 | ShipperForwarderConnection1 | ForwarderCourierConnection1 | None)
      • createConnectionToCourierV1

        public java.lang.String createConnectionToCourierV1​(CreateConnectionReq request)
        Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers. | (CreateConnectionReq) -> (PydanticObjectId)
      • createConnectionToCourierV1

        public java.lang.String createConnectionToCourierV1​(CreateConnectionReq request,
                                                            RequestOptions requestOptions)
        Creates a new connection to a courier organization. Shippers and forwarders can initiate connections to couriers. | (CreateConnectionReq) -> (PydanticObjectId)
      • createConnectionToShipperV1

        public java.lang.String createConnectionToShipperV1​(CreateConnectionReq request)
        Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
      • createConnectionToShipperV1

        public java.lang.String createConnectionToShipperV1​(CreateConnectionReq request,
                                                            RequestOptions requestOptions)
        Creates a new connection to a shipper organization. Only forwarders can initiate connections to shippers. | (CreateConnectionReq) -> (PydanticObjectId)
      • createConnectionToForwarderV1

        public java.lang.String createConnectionToForwarderV1​(CreateConnectionReq request)
        Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)
      • createConnectionToForwarderV1

        public java.lang.String createConnectionToForwarderV1​(CreateConnectionReq request,
                                                              RequestOptions requestOptions)
        Creates a new connection to a forwarder organization. Only shippers can initiate connections to forwarders. | (CreateConnectionReq) -> (PydanticObjectId)