public class WebhookEndpointsApiImpl extends AbstractBaseApi implements WebhookEndpointsApi
WebhookEndpointsApi interface.| Constructor and Description |
|---|
WebhookEndpointsApiImpl() |
| Modifier and Type | Method and Description |
|---|---|
WebhookEndpointResponse |
create(WebhookEndpoint endpoint)
Creates a new webhook endpoint and returns its details.
|
DeletionResult |
delete(java.lang.String endpointToken)
Deletes a webhook endpoint and all of its webhook requests.
|
WebhookEndpointResponse |
fetch(java.lang.String endpointToken)
Returns the details of a webhook endpoint.
|
protected java.lang.String |
getApiName() |
WebhookEndpointListResponse |
list(int page)
Returns a paginated list of all webhook endpoints.
|
executeList, executeSearch, getApiBase, getApiUrl, getDeletionResult, httpTransportForDelete, httpTransportForGet, httpTransportForPost, httpTransportForPutpublic final WebhookEndpointResponse create(WebhookEndpoint endpoint) throws java.io.IOException
WebhookEndpointsApicreate in interface WebhookEndpointsApiendpoint - The endpoint specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.public final WebhookEndpointListResponse list(int page) throws java.io.IOException
WebhookEndpointsApilist in interface WebhookEndpointsApipage - The page number specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.public final WebhookEndpointResponse fetch(java.lang.String endpointToken) throws java.io.IOException
WebhookEndpointsApifetch in interface WebhookEndpointsApiendpointToken - The endpoint token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.public final DeletionResult delete(java.lang.String endpointToken) throws java.io.IOException
WebhookEndpointsApidelete in interface WebhookEndpointsApiendpointToken - The endpoint token specified.java.io.IOException - If IO errors occur while calling PinPayments REST API.protected final java.lang.String getApiName()
getApiName in class AbstractBaseApi