Class NotificationApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-06-03T14:54:12.025630330+07:00[Asia/Bangkok]") 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<NotificationView> removeNotification(String accountIdentifier, String messageIdentifier, String winkVersion, 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:
      NotificationView
      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<NotificationView>> removeNotificationWithHttpInfo(String accountIdentifier, String messageIdentifier, String winkVersion, 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<NotificationView>
      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(String accountIdentifier, String messageIdentifier, String winkVersion, 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<NotificationView> showNotification(String accountIdentifier, String messageIdentifier, String winkVersion, 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:
      NotificationView
      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<NotificationView>> showNotificationWithHttpInfo(String accountIdentifier, String messageIdentifier, String winkVersion, 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<NotificationView>
      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(String accountIdentifier, String messageIdentifier, String winkVersion, 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<NotificationView> showNotifications(String accountIdentifier, String winkVersion, 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<NotificationView>
      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<NotificationView>>> showNotificationsWithHttpInfo(String accountIdentifier, String winkVersion, 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<NotificationView>>
      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(String accountIdentifier, String winkVersion, 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(String accountIdentifier, String winkVersion, 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(String accountIdentifier, String winkVersion, 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(String accountIdentifier, String winkVersion, 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