Файл: vendor/stripe/stripe-php/lib/Service/BillingPortal/SessionService.php
Строк: 23
<?php
// File generated from our OpenAPI spec
namespace StripeServiceBillingPortal;
class SessionService extends StripeServiceAbstractService
{
/**
* Creates a session of the customer portal.
*
* @param null|array $params
* @param null|array|StripeUtilRequestOptions $opts
*
* @throws StripeExceptionApiErrorException if the request fails
*
* @return StripeBillingPortalSession
*/
public function create($params = null, $opts = null)
{
return $this->request('post', '/v1/billing_portal/sessions', $params, $opts);
}
}