Class AsyncRawExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.shipping.orderdrafts.expanded.AsyncRawExpandedClient
-
public class AsyncRawExpandedClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawExpandedClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<OrderDraftExpandedListRes>>listV1(ExpandedListV1Request request)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<OrderDraftExpandedListRes>>listV1(ExpandedListV1Request request, RequestOptions requestOptions)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<OrderDraftExpanded>>retrieveV1(java.lang.String orderRef)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<OrderDraftExpanded>>retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<OrderDraftExpanded>>retrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawExpandedClient
public AsyncRawExpandedClient(ClientOptions clientOptions)
-
-
Method Detail
-
retrieveV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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<ChrtApiHttpResponse<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])
-
-