/home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api
Edit: /home/techb158/ileadtechnology.com/vendor/cartalyst/stripe/src/Api/WebhookEndpoints.php (1842B)
_post('webhook_endpoints', $parameters);
}
/**
* Retrieves an existing webhook endpoint.
*
* @param string $webhookEndpointId
* @return array
*/
public function find($webhookEndpointId)
{
return $this->_get("webhook_endpoints/{$webhookEndpointId}");
}
/**
* Updates an existing webhook endpoint.
*
* @param string $webhookEndpointId
* @param array $parameters
* @return array
*/
public function update($webhookEndpointId, array $parameters = [])
{
return $this->_post("webhook_endpoints/{$webhookEndpointId}", $parameters);
}
/**
* Deletes an existing webhook endpoint.
*
* @param string $webhookEndpointId
* @return array
*/
public function delete($webhookEndpointId)
{
return $this->_delete("webhook_endpoints/{$webhookEndpointId}");
}
/**
* Lists all webhook endpoints.
*
* @param array $parameters
* @return array
*/
public function all(array $parameters = [])
{
return $this->_get('webhook_endpoints', $parameters);
}
}