Class AsyncExpandedClient


  • public class AsyncExpandedClient
    extends java.lang.Object
    • 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])