public interface WebhookService
Modifier and Type | Method and Description |
---|---|
WebhookEntity |
activate(GUID webhookId,
GUID shopGuid,
java.lang.String extractClientIdFromRequest,
boolean active) |
WebhookEntity |
create(Webhook payload,
GUID shopGuid,
java.lang.String clientId) |
void |
delete(GUID webhookId,
GUID shopGUID,
java.lang.String clientId) |
java.util.stream.Stream<WebhookEntity> |
findWebhooksForEvent(EventEntity event) |
WebhookEntity |
get(GUID webhookId,
GUID shopGuid,
java.lang.String extractClientIdFromRequest) |
WebhookEntity create(Webhook payload, GUID shopGuid, java.lang.String clientId)
java.util.stream.Stream<WebhookEntity> findWebhooksForEvent(EventEntity event)
WebhookEntity activate(GUID webhookId, GUID shopGuid, java.lang.String extractClientIdFromRequest, boolean active)
WebhookEntity get(GUID webhookId, GUID shopGuid, java.lang.String extractClientIdFromRequest)