Class NotificationApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-26T20:12:05.578754358+07:00[Asia/Bangkok]", comments="Generator version: 7.13.0") public class NotificationApi extends Object
  • Constructor Details

    • NotificationApi

      public NotificationApi()
    • NotificationApi

      @Autowired public NotificationApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • removeNotification

      public reactor.core.publisher.Mono<Notification> removeNotification(@Nonnull String accountIdentifier, @Nonnull String messageIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Notification Remove announcement specified by its identifier.

      200 - OK

      Parameters:
      accountIdentifier - Remove a message that belongs to this company identifier
      messageIdentifier - Message identifier to be removed
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      Notification
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeNotificationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Notification>> removeNotificationWithHttpInfo(@Nonnull String accountIdentifier, @Nonnull String messageIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Notification Remove announcement specified by its identifier.

      200 - OK

      Parameters:
      accountIdentifier - Remove a message that belongs to this company identifier
      messageIdentifier - Message identifier to be removed
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<Notification>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • removeNotificationWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec removeNotificationWithResponseSpec(@Nonnull String accountIdentifier, @Nonnull String messageIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Delete Notification Remove announcement specified by its identifier.

      200 - OK

      Parameters:
      accountIdentifier - Remove a message that belongs to this company identifier
      messageIdentifier - Message identifier to be removed
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotification

      public reactor.core.publisher.Mono<Notification> showNotification(@Nonnull String accountIdentifier, @Nonnull String messageIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notification Retrieve messages for a specific company by ID

      200 - OK

      Parameters:
      accountIdentifier - Retrieve a message for this company identifier
      messageIdentifier - Message identifier to be retrieved
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      Notification
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<Notification>> showNotificationWithHttpInfo(@Nonnull String accountIdentifier, @Nonnull String messageIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notification Retrieve messages for a specific company by ID

      200 - OK

      Parameters:
      accountIdentifier - Retrieve a message for this company identifier
      messageIdentifier - Message identifier to be retrieved
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<Notification>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotificationWithResponseSpec(@Nonnull String accountIdentifier, @Nonnull String messageIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notification Retrieve messages for a specific company by ID

      200 - OK

      Parameters:
      accountIdentifier - Retrieve a message for this company identifier
      messageIdentifier - Message identifier to be retrieved
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotifications

      public reactor.core.publisher.Flux<Notification> showNotifications(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notifications Retrieve all the messages for this account.

      200 - OK

      Parameters:
      accountIdentifier - ID of entity to retrieve stream for
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      List<Notification>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationsWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<Notification>>> showNotificationsWithHttpInfo(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notifications Retrieve all the messages for this account.

      200 - OK

      Parameters:
      accountIdentifier - ID of entity to retrieve stream for
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<List<Notification>>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showNotificationsWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showNotificationsWithResponseSpec(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Notifications Retrieve all the messages for this account.

      200 - OK

      Parameters:
      accountIdentifier - ID of entity to retrieve stream for
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCount

      public reactor.core.publisher.Mono<CountResponse> showUnreadMessageCount(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Unread Count Retrieve count of unread messages

      200 - OK

      Parameters:
      accountIdentifier - Show unread message count for this company identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      CountResponse
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCountWithHttpInfo

      public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>> showUnreadMessageCountWithHttpInfo(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Unread Count Retrieve count of unread messages

      200 - OK

      Parameters:
      accountIdentifier - Show unread message count for this company identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseEntity<CountResponse>
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
    • showUnreadMessageCountWithResponseSpec

      public org.springframework.web.reactive.function.client.WebClient.ResponseSpec showUnreadMessageCountWithResponseSpec(@Nonnull String accountIdentifier, @Nullable String winkVersion, @Nullable String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException
      Show Unread Count Retrieve count of unread messages

      200 - OK

      Parameters:
      accountIdentifier - Show unread message count for this company identifier
      winkVersion - The winkVersion parameter
      accept - The accept parameter
      Returns:
      ResponseSpec
      Throws:
      org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API