Package com.courier.services.async
Class JourneyServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.JourneyServiceAsync
public final class JourneyServiceAsyncImpl implements JourneyServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJourneyServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description JourneyServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. JourneyServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<JourneysListResponse>list(JourneyListParams params, RequestOptions requestOptions)CompletableFuture<JourneysInvokeResponse>invoke(JourneyInvokeParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
JourneyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
JourneyServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
list
CompletableFuture<JourneysListResponse> list(JourneyListParams params, RequestOptions requestOptions)
-
invoke
CompletableFuture<JourneysInvokeResponse> invoke(JourneyInvokeParams params, RequestOptions requestOptions)
-
-
-
-