Class AsyncExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.shipping.orderdrafts.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<OrderDraftExpandedListRes>listV1(ExpandedListV1Request request)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes>listV1(ExpandedListV1Request request, RequestOptions requestOptions)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.java.util.concurrent.CompletableFuture<OrderDraftExpanded>retrieveV1(java.lang.String orderRef)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpanded>retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpanded>retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<java.util.List<OrderTypeaheadResult>>typeaheadV1(ExpandedTypeaheadV1Request request)Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex.java.util.concurrent.CompletableFuture<java.util.List<OrderTypeaheadResult>>typeaheadV1(ExpandedTypeaheadV1Request request, RequestOptions requestOptions)Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex.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
-
retrieveV1
public java.util.concurrent.CompletableFuture<OrderDraftExpanded> retrieveV1(java.lang.String orderRef)
Fetches a single draft order with optional expanded related data. Any user in the org (with operator+ role) can access it. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpanded)
-
retrieveV1
public java.util.concurrent.CompletableFuture<OrderDraftExpanded> retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)
Fetches a single draft order with optional expanded related data. Any user in the org (with operator+ role) can access it. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpanded)
-
retrieveV1
public java.util.concurrent.CompletableFuture<OrderDraftExpanded> retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)
Fetches a single draft order with optional expanded related data. Any user in the org (with operator+ role) can access it. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpanded)
-
listV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes> listV1(ExpandedListV1Request request)
Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
-
listV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes> listV1(ExpandedListV1Request request, RequestOptions requestOptions)
Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
-
typeaheadV1
public java.util.concurrent.CompletableFuture<java.util.List<OrderTypeaheadResult>> typeaheadV1(ExpandedTypeaheadV1Request request)
Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
-
typeaheadV1
public java.util.concurrent.CompletableFuture<java.util.List<OrderTypeaheadResult>> typeaheadV1(ExpandedTypeaheadV1Request request, RequestOptions requestOptions)
Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex. Searches draft orders created by the caller's org. | authz: min_org_role=operator | () -> (list[OrderTypeaheadResult])
-
-