diff --git a/src/Wrappers/MollieApiWrapper.php b/src/Wrappers/MollieApiWrapper.php index 9039193..3168025 100644 --- a/src/Wrappers/MollieApiWrapper.php +++ b/src/Wrappers/MollieApiWrapper.php @@ -203,6 +203,14 @@ public function refunds() return $this->client->refunds; } + /** + * @return Mollie\Api\Endpoints\ChargebackEndpoint + */ + public function chargebacks() + { + return $this->client->chargebacks; + } + /** * @return Mollie\Api\Endpoints\OrderEndpoint */ diff --git a/tests/Wrappers/MollieApiWrapperTest.php b/tests/Wrappers/MollieApiWrapperTest.php index 5dac8b8..82c56f3 100644 --- a/tests/Wrappers/MollieApiWrapperTest.php +++ b/tests/Wrappers/MollieApiWrapperTest.php @@ -86,6 +86,7 @@ public function testSetBadToken() public function testWrappedEndpoints() { $endpoints = [ + 'chargebacks', 'customers', 'customerPayments', 'invoices',