diff --git a/src/Wrappers/MollieApiWrapper.php b/src/Wrappers/MollieApiWrapper.php index 478999b..f94efdd 100644 --- a/src/Wrappers/MollieApiWrapper.php +++ b/src/Wrappers/MollieApiWrapper.php @@ -144,6 +144,14 @@ public function methods() return $this->client->methods; } + /** + * @return \Mollie\Api\Endpoints\ProfileMethodEndpoint + */ + public function profileMethods() + { + return $this->client->profileMethods; + } + /** * @return \Mollie\Api\Endpoints\CustomerEndpoint */ diff --git a/tests/Wrappers/MollieApiWrapperTest.php b/tests/Wrappers/MollieApiWrapperTest.php index 61aefce..e85dc3a 100644 --- a/tests/Wrappers/MollieApiWrapperTest.php +++ b/tests/Wrappers/MollieApiWrapperTest.php @@ -27,6 +27,7 @@ class MollieApiWrapperTest extends TestCase 'invoices', 'mandates', 'methods', + 'profileMethods', 'mandates', 'onboarding', 'orders',