Class RawConnectionsClient


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

      • RawConnectionsClient

        public RawConnectionsClient​(ClientOptions clientOptions)
    • Method Detail

      • listShippersV1

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

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

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

        public ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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 ChrtApiHttpResponse<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)