Skip to content

Commit

Permalink
Wallets (#112)
Browse files Browse the repository at this point in the history
* Prepare release v2.8.0

* Support wallets endpoint
  • Loading branch information
sandervanhooft authored Sep 20, 2019
1 parent bfb2de0 commit 71905c3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"require": {
"php": "^7.1.3|^7.2",
"illuminate/support": "^5.8.0|^6.0",
"mollie/mollie-api-php": "^2.9",
"mollie/mollie-api-php": "^2.11",
"ext-json": "*"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/MollieServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
*/
class MollieServiceProvider extends ServiceProvider
{
const PACKAGE_VERSION = '2.6.0';
const PACKAGE_VERSION = '2.8.0';

/**
* Boot the service provider.
Expand Down
8 changes: 8 additions & 0 deletions src/Wrappers/MollieApiWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,12 @@ public function onboarding()
{
return $this->client->onboarding;
}

/**
* @return \Mollie\Api\Endpoints\WalletEndpoint
*/
public function wallets()
{
return $this->client->wallets;
}
}
1 change: 1 addition & 0 deletions tests/Wrappers/MollieApiWrapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function testWrappedEndpoints()
'refunds',
'settlements',
'subscriptions',
'wallets',
];

$client = $this->app[MollieApiClient::class];
Expand Down

0 comments on commit 71905c3

Please sign in to comment.