Package io.trippay.sdk.payment.api
Class ActivityStreamApi
java.lang.Object
io.trippay.sdk.payment.api.ActivityStreamApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-25T08:58:01.141341582+07:00[Asia/Bangkok]")
public class ActivityStreamApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<ActivityStream> createActivity(UpsertActivityStreamRequest upsertActivityStreamRequest, String winkVersion) Create Activity Stream Add a new activity stream entry.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ActivityStream>> createActivityWithHttpInfo(UpsertActivityStreamRequest upsertActivityStreamRequest, String winkVersion) Create Activity Stream Add a new activity stream entry.org.springframework.web.reactive.function.client.WebClient.ResponseSpeccreateActivityWithResponseSpec(UpsertActivityStreamRequest upsertActivityStreamRequest, String winkVersion) Create Activity Stream Add a new activity stream entry.voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<ActivityStream> showStream(String entityIdentifier, String winkVersion) Show Activity Stream Displays activity stream for specified entity ID.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ActivityStream>>> showStreamWithHttpInfo(String entityIdentifier, String winkVersion) Show Activity Stream Displays activity stream for specified entity ID.org.springframework.web.reactive.function.client.WebClient.ResponseSpecshowStreamWithResponseSpec(String entityIdentifier, String winkVersion) Show Activity Stream Displays activity stream for specified entity ID.
-
Constructor Details
-
ActivityStreamApi
public ActivityStreamApi() -
ActivityStreamApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createActivity
public reactor.core.publisher.Mono<ActivityStream> createActivity(UpsertActivityStreamRequest upsertActivityStreamRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Activity Stream Add a new activity stream entry.201 - Created
- Parameters:
upsertActivityStreamRequest- The upsertActivityStreamRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ActivityStream
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createActivityWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ActivityStream>> createActivityWithHttpInfo(UpsertActivityStreamRequest upsertActivityStreamRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Activity Stream Add a new activity stream entry.201 - Created
- Parameters:
upsertActivityStreamRequest- The upsertActivityStreamRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<ActivityStream>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createActivityWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec createActivityWithResponseSpec(UpsertActivityStreamRequest upsertActivityStreamRequest, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Activity Stream Add a new activity stream entry.201 - Created
- Parameters:
upsertActivityStreamRequest- The upsertActivityStreamRequest parameterwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showStream
public reactor.core.publisher.Flux<ActivityStream> showStream(String entityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Activity Stream Displays activity stream for specified entity ID.200 - OK
- Parameters:
entityIdentifier- ID of entity to retrieve stream forwinkVersion- The winkVersion parameter- Returns:
- List<ActivityStream>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showStreamWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ActivityStream>>> showStreamWithHttpInfo(String entityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Activity Stream Displays activity stream for specified entity ID.200 - OK
- Parameters:
entityIdentifier- ID of entity to retrieve stream forwinkVersion- The winkVersion parameter- Returns:
- ResponseEntity<List<ActivityStream>>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showStreamWithResponseSpec
public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showStreamWithResponseSpec(String entityIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Activity Stream Displays activity stream for specified entity ID.200 - OK
- Parameters:
entityIdentifier- ID of entity to retrieve stream forwinkVersion- The winkVersion parameter- Returns:
- ResponseSpec
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-