Class AsyncExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.orders.expanded.AsyncExpandedClient
-
public class AsyncExpandedClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncExpandedClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<OrderExpandedForOrderCreator>postForOrderCreatorByOrderIdV1(java.lang.String orderIdOrShortId)Fetches a single order for the organization that created it with optional expanded related data.java.util.concurrent.CompletableFuture<OrderExpandedForOrderCreator>postForOrderCreatorByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForOrderCreatorReq request)Fetches a single order for the organization that created it with optional expanded related data.java.util.concurrent.CompletableFuture<OrderExpandedForOrderCreator>postForOrderCreatorByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForOrderCreatorReq request, RequestOptions requestOptions)Fetches a single order for the organization that created it with optional expanded related data.java.util.concurrent.CompletableFuture<OrderExpandedForShipper>postForShipperByOrderIdV1(java.lang.String orderIdOrShortId)Fetches a single order for the shipper organization with optional expanded related data.java.util.concurrent.CompletableFuture<OrderExpandedForShipper>postForShipperByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForShipperReq request)Fetches a single order for the shipper organization with optional expanded related data.java.util.concurrent.CompletableFuture<OrderExpandedForShipper>postForShipperByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForShipperReq request, RequestOptions requestOptions)Fetches a single order for the shipper organization with optional expanded related data.AsyncRawExpandedClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncExpandedClient
public AsyncExpandedClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawExpandedClient withRawResponse()
Get responses with HTTP metadata like headers
-
postForShipperByOrderIdV1
public java.util.concurrent.CompletableFuture<OrderExpandedForShipper> postForShipperByOrderIdV1(java.lang.String orderIdOrShortId)
Fetches a single order for the shipper organization with optional expanded related data.
-
postForShipperByOrderIdV1
public java.util.concurrent.CompletableFuture<OrderExpandedForShipper> postForShipperByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForShipperReq request)
Fetches a single order for the shipper organization with optional expanded related data.
-
postForShipperByOrderIdV1
public java.util.concurrent.CompletableFuture<OrderExpandedForShipper> postForShipperByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForShipperReq request, RequestOptions requestOptions)
Fetches a single order for the shipper organization with optional expanded related data.
-
postForOrderCreatorByOrderIdV1
public java.util.concurrent.CompletableFuture<OrderExpandedForOrderCreator> postForOrderCreatorByOrderIdV1(java.lang.String orderIdOrShortId)
Fetches a single order for the organization that created it with optional expanded related data.
-
postForOrderCreatorByOrderIdV1
public java.util.concurrent.CompletableFuture<OrderExpandedForOrderCreator> postForOrderCreatorByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForOrderCreatorReq request)
Fetches a single order for the organization that created it with optional expanded related data.
-
postForOrderCreatorByOrderIdV1
public java.util.concurrent.CompletableFuture<OrderExpandedForOrderCreator> postForOrderCreatorByOrderIdV1(java.lang.String orderIdOrShortId, OrderExpandedForOrderCreatorReq request, RequestOptions requestOptions)
Fetches a single order for the organization that created it with optional expanded related data.
-
-