Class ActivityStreamApi

java.lang.Object
io.trippay.sdk.payment.api.ActivityStreamApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-10-30T09:45:07.381511750+07:00[Asia/Bangkok]") public class ActivityStreamApi extends Object
  • Constructor Details

    • ActivityStreamApi

      public ActivityStreamApi()
    • ActivityStreamApi

      @Autowired public ActivityStreamApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 parameter
      winkVersion - 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 parameter
      winkVersion - 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 parameter
      winkVersion - 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 for
      winkVersion - 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 for
      winkVersion - 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 for
      winkVersion - The winkVersion parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API