diff --git a/composer.json b/composer.json index b337bbf..3a48341 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ ], "require": { "php": "^8.0", - "mollie/mollie-api-php": "^2.55", + "mollie/mollie-api-php": "v2.58.0-beta", "illuminate/support": "^9.0|^10.0", "ext-json": "*" }, diff --git a/src/Wrappers/MollieApiWrapper.php b/src/Wrappers/MollieApiWrapper.php index 34ed207..9bb83cd 100644 --- a/src/Wrappers/MollieApiWrapper.php +++ b/src/Wrappers/MollieApiWrapper.php @@ -382,6 +382,14 @@ public function clients() return $this->client->clients; } + /** + * @return \Mollie\Api\Endpoints\ClientLinkEndpoint + */ + public function clientLinks() + { + return $this->client->clientLinks; + } + /** * @return \Mollie\Api\Endpoints\OrganizationPartnerEndpoint */ diff --git a/tests/Wrappers/MollieApiWrapperTest.php b/tests/Wrappers/MollieApiWrapperTest.php index 2e8a187..37fd851 100644 --- a/tests/Wrappers/MollieApiWrapperTest.php +++ b/tests/Wrappers/MollieApiWrapperTest.php @@ -52,6 +52,7 @@ class MollieApiWrapperTest extends TestCase 'terminals', 'wallets', 'clients', + 'clientLinks', 'organizationPartners', ];