Class AsyncExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.shipping.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<OrderExpanded>forCoordinatorOperatorsV1(java.lang.String orderRef)Retrieves an expanded order with optional related data for coordinator operators (the provider org coordinating the order).java.util.concurrent.CompletableFuture<OrderExpanded>forCoordinatorOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)Retrieves an expanded order with optional related data for coordinator operators (the provider org coordinating the order).java.util.concurrent.CompletableFuture<OrderExpanded>forCoordinatorOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)Retrieves an expanded order with optional related data for coordinator operators (the provider org coordinating the order).java.util.concurrent.CompletableFuture<OrderExpanded>forShipperOperatorsV1(java.lang.String orderRef)Retrieves an expanded order with optional related data for shipper operators.java.util.concurrent.CompletableFuture<OrderExpanded>forShipperOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)Retrieves an expanded order with optional related data for shipper operators.java.util.concurrent.CompletableFuture<OrderExpanded>forShipperOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)Retrieves an expanded order with optional related data for shipper operators.java.util.concurrent.CompletableFuture<OrdersExpandedListRes>listForCoordinatorOperatorsV1(ExpandedListForCoordinatorOperatorsV1Request request)Lists expanded orders where the caller's provider org is the coordinator.java.util.concurrent.CompletableFuture<OrdersExpandedListRes>listForCoordinatorOperatorsV1(ExpandedListForCoordinatorOperatorsV1Request request, RequestOptions requestOptions)Lists expanded orders where the caller's provider org is the coordinator.java.util.concurrent.CompletableFuture<OrdersExpandedListRes>listForShipperOperatorsV1(ExpandedListForShipperOperatorsV1Request request)Lists expanded orders for shipper operators with filtering, sorting, pagination, and optional search.java.util.concurrent.CompletableFuture<OrdersExpandedListRes>listForShipperOperatorsV1(ExpandedListForShipperOperatorsV1Request request, RequestOptions requestOptions)Lists expanded orders for shipper operators with filtering, sorting, pagination, and optional search.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
-
forShipperOperatorsV1
public java.util.concurrent.CompletableFuture<OrderExpanded> forShipperOperatorsV1(java.lang.String orderRef)
Retrieves an expanded order with optional related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
-
forShipperOperatorsV1
public java.util.concurrent.CompletableFuture<OrderExpanded> forShipperOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)
Retrieves an expanded order with optional related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
-
forShipperOperatorsV1
public java.util.concurrent.CompletableFuture<OrderExpanded> forShipperOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)
Retrieves an expanded order with optional related data for shipper operators. | authz_personas=[shipper_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
-
forCoordinatorOperatorsV1
public java.util.concurrent.CompletableFuture<OrderExpanded> forCoordinatorOperatorsV1(java.lang.String orderRef)
Retrieves an expanded order with optional related data for coordinator operators (the provider org coordinating the order). | authz_personas=[coordinator_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
-
forCoordinatorOperatorsV1
public java.util.concurrent.CompletableFuture<OrderExpanded> forCoordinatorOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request)
Retrieves an expanded order with optional related data for coordinator operators (the provider org coordinating the order). | authz_personas=[coordinator_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
-
forCoordinatorOperatorsV1
public java.util.concurrent.CompletableFuture<OrderExpanded> forCoordinatorOperatorsV1(java.lang.String orderRef, OrderAndTaskGroupExpandedReq request, RequestOptions requestOptions)
Retrieves an expanded order with optional related data for coordinator operators (the provider org coordinating the order). | authz_personas=[coordinator_org_operators] | (OrderAndTaskGroupExpandedReq) -> (OrderExpanded)
-
listForCoordinatorOperatorsV1
public java.util.concurrent.CompletableFuture<OrdersExpandedListRes> listForCoordinatorOperatorsV1(ExpandedListForCoordinatorOperatorsV1Request request)
Lists expanded orders where the caller's provider org is the coordinator. Filtering, sorting, pagination, optional search. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
-
listForCoordinatorOperatorsV1
public java.util.concurrent.CompletableFuture<OrdersExpandedListRes> listForCoordinatorOperatorsV1(ExpandedListForCoordinatorOperatorsV1Request request, RequestOptions requestOptions)
Lists expanded orders where the caller's provider org is the coordinator. Filtering, sorting, pagination, optional search. | authz: allowed_org_types=[provider], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
-
listForShipperOperatorsV1
public java.util.concurrent.CompletableFuture<OrdersExpandedListRes> listForShipperOperatorsV1(ExpandedListForShipperOperatorsV1Request request)
Lists expanded orders for shipper operators with filtering, sorting, pagination, and optional search. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
-
listForShipperOperatorsV1
public java.util.concurrent.CompletableFuture<OrdersExpandedListRes> listForShipperOperatorsV1(ExpandedListForShipperOperatorsV1Request request, RequestOptions requestOptions)
Lists expanded orders for shipper operators with filtering, sorting, pagination, and optional search. | authz: allowed_org_types=[shipper], min_org_role=operator | (OrderAndTaskGroupExpandedReq) -> (OrdersExpandedListRes)
-
-