Class ExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.shipping.orderdrafts.expanded.ExpandedClient
-
public class ExpandedClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description ExpandedClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrderDraftExpandedListReslistV1(ExpandedListV1Request request)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.OrderDraftExpandedListReslistV1(ExpandedListV1Request request, RequestOptions requestOptions)Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search.OrderDraftExpandedretrieveV1(java.lang.String orderRef)Fetches a single draft order with optional expanded related data.OrderDraftExpandedretrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)Fetches a single draft order with optional expanded related data.OrderDraftExpandedretrieveV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)Fetches a single draft order with optional expanded related data.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.List<OrderTypeaheadResult>typeaheadV1(ExpandedTypeaheadV1Request request, RequestOptions requestOptions)Returns distinct short_id and off_chrt_reference_id values matching the query via case-insensitive regex.RawExpandedClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
ExpandedClient
public ExpandedClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawExpandedClient withRawResponse()
Get responses with HTTP metadata like headers
-
retrieveV1
public 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 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 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 OrderDraftExpandedListRes listV1(ExpandedListV1Request request)
Lists expanded draft orders for the organization with filtering, sorting, pagination, and optional search. | (OrderAndTaskGroupExpandedReq) -> (OrderDraftExpandedListRes)
-
listV1
public 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.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.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])
-
-