Initial Commit
This commit is contained in:
24
dependencies/stripe/stripe-php/lib/Service/AccountLinkService.php
vendored
Normal file
24
dependencies/stripe/stripe-php/lib/Service/AccountLinkService.php
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
namespace WP_Ultimo\Dependencies\Stripe\Service;
|
||||
|
||||
class AccountLinkService extends \WP_Ultimo\Dependencies\Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Creates an AccountLink object that includes a single-use Stripe URL that the
|
||||
* platform can redirect their user to in order to take them through the Connect
|
||||
* Onboarding flow.
|
||||
*
|
||||
* @param null|array $params
|
||||
* @param null|array|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\AccountLink
|
||||
*/
|
||||
public function create($params = null, $opts = null)
|
||||
{
|
||||
return $this->request('post', '/v1/account_links', $params, $opts);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user