Skip to content

Commit

Permalink
Merge pull request #156 from sandervanhooft/paymentRefunds
Browse files Browse the repository at this point in the history
Added paymentRefunds endpoint
  • Loading branch information
sandervanhooft authored Nov 30, 2020
2 parents b2900ff + a9bad62 commit cf1648d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
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.9.0';
const PACKAGE_VERSION = '2.12.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 @@ -128,6 +128,14 @@ public function payments()
return $this->client->payments;
}

/**
* @return \Mollie\Api\Endpoints\PaymentRefundEndpoint
*/
public function paymentRefunds()
{
return $this->client->paymentRefunds;
}

/**
* @return \Mollie\Api\Endpoints\MethodEndpoint
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Wrappers/MollieApiWrapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class MollieApiWrapperTest extends TestCase
'organizations',
'permissions',
'payments',
'paymentRefunds',
'profiles',
'refunds',
'settlements',
Expand Down

0 comments on commit cf1648d

Please sign in to comment.