Skip to content

Commit

Permalink
Merge pull request #164 from ciungulete/profileMethods
Browse files Browse the repository at this point in the history
Add profileMethods method to MollieApiWrapper
  • Loading branch information
sandervanhooft authored Jan 19, 2021
2 parents 165d8e0 + 0936b87 commit 7e85a61
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 7e85a61

Please sign in to comment.