Skip to content

Commit

Permalink
Add profileMethods method to MollieApiWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
ciungulete committed Jan 19, 2021
1 parent 165d8e0 commit 0936b87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Wrappers/MollieApiWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
1 change: 1 addition & 0 deletions tests/Wrappers/MollieApiWrapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class MollieApiWrapperTest extends TestCase
'invoices',
'mandates',
'methods',
'profileMethods',
'mandates',
'onboarding',
'orders',
Expand Down

0 comments on commit 0936b87

Please sign in to comment.