Skip to content

Commit

Permalink
- GetGenericMagicLink method added in.
Browse files Browse the repository at this point in the history
- Version bumped to 1.0.4.
  • Loading branch information
Patrick Kosterman committed Nov 19, 2024
1 parent 09c9c80 commit d6cd448
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
16 changes: 16 additions & 0 deletions Eftypay/Payments/PaymentsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,20 @@ public function GetOnboardingStatusForMangopay(\Eftypay\Common\Id $argument,
$metadata, $options);
}

/**
* GetGenericMagicLink generates a generic magic link for a seller to access the onboarding portal.
* It requires the ID of the seller user to be passed in.
* @param \Eftypay\Common\Id $argument input argument
* @param array $metadata metadata
* @param array $options call options
* @return \Grpc\UnaryCall
*/
public function GetGenericMagicLink(\Eftypay\Common\Id $argument,
$metadata = [], $options = []) {
return $this->_simpleRequest('/eftypay.payments.Payments/GetGenericMagicLink',
$argument,
['\Eftypay\Common\ReturnString', 'decode'],
$metadata, $options);
}

}
8 changes: 5 additions & 3 deletions GPBMetadata/PBPublic/Payments/PaymentsService.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eftybv/efty-pay-php-sdk",
"version": "v1.0.3",
"version": "v1.0.4",
"description": "Efty Pay PHP SDK",
"type": "library",
"license": "MIT",
Expand Down

0 comments on commit d6cd448

Please sign in to comment.