Class EventNotificationsApi

java.lang.Object
dev.vality.swag.wallets.webhook.events.api.EventNotificationsApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2023-03-12T19:05:48.700078970Z[Etc/UTC]")
@Component("dev.vality.swag.wallets.webhook.events.api.EventNotificationsApi")
public class EventNotificationsApi
extends Object
  • Constructor Details

    • EventNotificationsApi

      public EventNotificationsApi()
    • EventNotificationsApi

      @Autowired public EventNotificationsApi​(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • notifyWebhookEvent

      public void notifyWebhookEvent​(String contentSignature, Event event) throws org.springframework.web.client.RestClientException
      Оповестить о событии

      200 - Оповещение обработано

      Parameters:
      contentSignature - Подпись сообщения, сформированная согласно указанным выше правилам (required)
      event - Данные произошедшего в платформе события (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • notifyWebhookEventWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> notifyWebhookEventWithHttpInfo​(String contentSignature, Event event) throws org.springframework.web.client.RestClientException
      Оповестить о событии

      200 - Оповещение обработано

      Parameters:
      contentSignature - Подпись сообщения, сформированная согласно указанным выше правилам (required)
      event - Данные произошедшего в платформе события (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API