Interface WebhookApiDelegate
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-03-12T19:05:30.960265880Z[Etc/UTC]")
public interface WebhookApiDelegate
A delegate to be called by the
WebhookApiController}.
Implement this interface with a Service annotated class.-
Method Summary
Modifier and Type Method Description default Optional<org.springframework.web.context.request.NativeWebRequest>getRequest()default org.springframework.http.ResponseEntity<Void>notifyWebhookEvent(String contentSignature, Event event)POST /webhook : Оповестить о событии
-
Method Details
-
getRequest
-
notifyWebhookEvent
default org.springframework.http.ResponseEntity<Void> notifyWebhookEvent(String contentSignature, Event event)POST /webhook : Оповестить о событии- Parameters:
contentSignature- Подпись сообщения, сформированная согласно указанным выше правилам (required)event- Данные произошедшего в платформе события (required)- Returns:
- Оповещение обработано (status code 200)
- See Also:
WebhookApi.notifyWebhookEvent(java.lang.String, dev.vality.swag.wallets.webhook.events.model.Event)
-