Class AsyncCourierClient


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

      • AsyncCourierClient

        public AsyncCourierClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

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

        public java.util.concurrent.CompletableFuture<CourierOrgInfoForConnections1> getV1()
        Retrieves courier organization connection information for the caller's organization. | () -> (CourierOrgInfoForConnections1)
      • getV1

        public java.util.concurrent.CompletableFuture<CourierOrgInfoForConnections1> getV1​(RequestOptions requestOptions)
        Retrieves courier organization connection information for the caller's organization. | () -> (CourierOrgInfoForConnections1)
      • listV1

        public java.util.concurrent.CompletableFuture<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.concurrent.CompletableFuture<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.util.concurrent.CompletableFuture<java.lang.String> createV1​(CourierOrgInfoForConnectionsClientCreate1 request)
        Creates courier organization connection information. Fails if already exists. | (CourierOrgInfoForConnectionsClientCreate1) -> (PydanticObjectId)
      • createV1

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

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1()
        Updates existing courier organization connection information. | (CourierOrgInfoForConnectionsClientUpdate1) -> (bool)
      • updateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(CourierOrgInfoForConnectionsClientUpdate1 request)
        Updates existing courier organization connection information. | (CourierOrgInfoForConnectionsClientUpdate1) -> (bool)
      • updateV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateV1​(CourierOrgInfoForConnectionsClientUpdate1 request,
                                                                                  RequestOptions requestOptions)
        Updates existing courier organization connection information. | (CourierOrgInfoForConnectionsClientUpdate1) -> (bool)