Package com.courier.services.async
Interface JourneyServiceAsync
-
- All Implemented Interfaces:
public interface JourneyServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceJourneyServiceAsync.WithRawResponseA view of JourneyServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract JourneyServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract 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()
Get the list of journeys.
-
list
abstract CompletableFuture<JourneysListResponse> list(JourneyListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<JourneysListResponse> list(JourneyListParams params)
-
list
CompletableFuture<JourneysListResponse> list(RequestOptions requestOptions)
-
invoke
CompletableFuture<JourneysInvokeResponse> invoke(String templateId, JourneyInvokeParams params)
Invoke a journey run from a journey template.
-
invoke
CompletableFuture<JourneysInvokeResponse> invoke(String templateId, JourneyInvokeParams params, RequestOptions requestOptions)
-
invoke
CompletableFuture<JourneysInvokeResponse> invoke(JourneyInvokeParams params)
-
invoke
abstract CompletableFuture<JourneysInvokeResponse> invoke(JourneyInvokeParams params, RequestOptions requestOptions)
-
-
-
-