PayPal\Test\Functional\Api\WebhookFunctionalTest::deleteAll PHP Method

deleteAll() public method

public deleteAll ( )
    public function deleteAll()
    {
        $result = Webhook::getAll($this->apiContext, $this->mockPayPalRestCall);
        foreach ($result->getWebhooks() as $webhookObject) {
            $webhookObject->delete($this->apiContext, $this->mockPayPalRestCall);
        }
    }