Файл: vendor/stripe/stripe-php/lib/Service/TestHelpers/RefundService.php
Строк: 22
<?php
// File generated from our OpenAPI spec
namespace StripeServiceTestHelpers;
class RefundService extends StripeServiceAbstractService
{
/**
* Expire a refund with a status of <code>requires_action</code>.
*
* @param string $id
* @param null|array $params
* @param null|array|StripeUtilRequestOptions $opts
*
* @throws StripeExceptionApiErrorException if the request fails
*
* @return StripeRefund
*/
public function expire($id, $params = null, $opts = null)
{
return $this->request('post', $this->buildPath('/v1/test_helpers/refunds/%s/expire', $id), $params, $opts);
}
}