public class WebhooksApiImpl extends AbstractBaseApi implements WebhooksApi
WebhooksApi interface.| Constructor and Description |
|---|
WebhooksApiImpl() |
| Modifier and Type | Method and Description |
|---|---|
WebhookResponse |
fetch(java.lang.String webhookToken)
Returns the details of a webhook.
|
protected java.lang.String |
getApiName() |
WebhookListResponse |
list(int page)
Returns a paginated list of all webhooks.
|
WebhookResponse |
replay(java.lang.String webhookToken)
Replays a webhook.
|
executeList, executeSearch, getApiBase, getApiUrl, getDeletionResult, httpTransportForDelete, httpTransportForGet, httpTransportForPost, httpTransportForPutpublic final WebhookListResponse list(int page) throws java.io.IOException
WebhooksApilist in interface WebhooksApipage - The page number specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.public final WebhookResponse fetch(java.lang.String webhookToken) throws java.io.IOException
WebhooksApifetch in interface WebhooksApiwebhookToken - The webhook token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.public final WebhookResponse replay(java.lang.String webhookToken) throws java.io.IOException
WebhooksApireplay in interface WebhooksApiwebhookToken - The webhook token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.protected final java.lang.String getApiName()
getApiName in class AbstractBaseApi