Class AsyncExpandedClient
- java.lang.Object
-
- com.chrt.api.resources.orders.draft.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>postExpandedListV1()Lists all draft orders created by the authenticated user with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes>postExpandedListV1(OrderDraftExpandedListReq request)Lists all draft orders created by the authenticated user with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes>postExpandedListV1(OrderDraftExpandedListReq request, RequestOptions requestOptions)Lists all draft orders created by the authenticated user with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpandedRes>postExpandedV1(java.lang.String orderIdOrShortId)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpandedRes>postExpandedV1(java.lang.String orderIdOrShortId, OrderDraftExpandedReq request)Fetches a single draft order with optional expanded related data.java.util.concurrent.CompletableFuture<OrderDraftExpandedRes>postExpandedV1(java.lang.String orderIdOrShortId, OrderDraftExpandedReq request, RequestOptions requestOptions)Fetches a single draft order 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
-
postExpandedV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedRes> postExpandedV1(java.lang.String orderIdOrShortId)
Fetches a single draft order with optional expanded related data. Only the creator of the draft order can access it.
-
postExpandedV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedRes> postExpandedV1(java.lang.String orderIdOrShortId, OrderDraftExpandedReq request)
Fetches a single draft order with optional expanded related data. Only the creator of the draft order can access it.
-
postExpandedV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedRes> postExpandedV1(java.lang.String orderIdOrShortId, OrderDraftExpandedReq request, RequestOptions requestOptions)
Fetches a single draft order with optional expanded related data. Only the creator of the draft order can access it.
-
postExpandedListV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes> postExpandedListV1()
Lists all draft orders created by the authenticated user with optional expanded related data.
-
postExpandedListV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes> postExpandedListV1(OrderDraftExpandedListReq request)
Lists all draft orders created by the authenticated user with optional expanded related data.
-
postExpandedListV1
public java.util.concurrent.CompletableFuture<OrderDraftExpandedListRes> postExpandedListV1(OrderDraftExpandedListReq request, RequestOptions requestOptions)
Lists all draft orders created by the authenticated user with optional expanded related data.
-
-