Initial Commit
This commit is contained in:
23
dependencies/stripe/stripe-php/lib/Service/MandateService.php
vendored
Normal file
23
dependencies/stripe/stripe-php/lib/Service/MandateService.php
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
// File generated from our OpenAPI spec
|
||||
namespace WP_Ultimo\Dependencies\Stripe\Service;
|
||||
|
||||
class MandateService extends \WP_Ultimo\Dependencies\Stripe\Service\AbstractService
|
||||
{
|
||||
/**
|
||||
* Retrieves a Mandate 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\Mandate
|
||||
*/
|
||||
public function retrieve($id, $params = null, $opts = null)
|
||||
{
|
||||
return $this->request('get', $this->buildPath('/v1/mandates/%s', $id), $params, $opts);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user