From 0936b87ca3a38231db7375f84d2ecb0692bf02de Mon Sep 17 00:00:00 2001 From: Andrei Ciungulete Date: Tue, 19 Jan 2021 13:05:06 +0200 Subject: [PATCH] Add profileMethods method to MollieApiWrapper --- src/Wrappers/MollieApiWrapper.php | 8 ++++++++ tests/Wrappers/MollieApiWrapperTest.php | 1 + 2 files changed, 9 insertions(+) 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',