mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-11 12:01:23 +01:00
Update Stripe lib to 10.7.0
This commit is contained in:
@@ -14,7 +14,7 @@ class SetupIntentService extends \Stripe\Service\AbstractService
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\Collection
|
||||
* @return \Stripe\Collection<\Stripe\SetupIntent>
|
||||
*/
|
||||
public function all($params = null, $opts = null)
|
||||
{
|
||||
@@ -124,4 +124,20 @@ class SetupIntentService extends \Stripe\Service\AbstractService
|
||||
{
|
||||
return $this->request('post', $this->buildPath('/v1/setup_intents/%s', $id), $params, $opts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verifies microdeposits on a SetupIntent object.
|
||||
*
|
||||
* @param string $id
|
||||
* @param null|array $params
|
||||
* @param null|array|\Stripe\Util\RequestOptions $opts
|
||||
*
|
||||
* @throws \Stripe\Exception\ApiErrorException if the request fails
|
||||
*
|
||||
* @return \Stripe\SetupIntent
|
||||
*/
|
||||
public function verifyMicrodeposits($id, $params = null, $opts = null)
|
||||
{
|
||||
return $this->request('post', $this->buildPath('/v1/setup_intents/%s/verify_microdeposits', $id), $params, $opts);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user