Class EventNotificationsApi

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2023-09-21T13:44:22.979521869Z[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
      Notify of an event

      200 - Notification processed

      Parameters:
      contentSignature - Message signature formed according to the above rules (required)
      event - Data from an event that occurred in the platform (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
      Notify of an event

      200 - Notification processed

      Parameters:
      contentSignature - Message signature formed according to the above rules (required)
      event - Data from an event that occurred in the platform (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API