Terminal
2 years ago
RefundService.php
2 years ago
TestClockService.php
2 years ago
TestHelpersServiceFactory.php
2 years ago
RefundService.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | // File generated from our OpenAPI spec |
| 4 | |
| 5 | namespace Stripe\Service\TestHelpers; |
| 6 | |
| 7 | class RefundService extends \Stripe\Service\AbstractService |
| 8 | { |
| 9 | /** |
| 10 | * Expire a refund with a status of <code>requires_action</code>. |
| 11 | * |
| 12 | * @param string $id |
| 13 | * @param null|array $params |
| 14 | * @param null|array|\Stripe\Util\RequestOptions $opts |
| 15 | * |
| 16 | * @throws \Stripe\Exception\ApiErrorException if the request fails |
| 17 | * |
| 18 | * @return \Stripe\Refund |
| 19 | */ |
| 20 | public function expire($id, $params = null, $opts = null) |
| 21 | { |
| 22 | return $this->request('post', $this->buildPath('/v1/test_helpers/refunds/%s/expire', $id), $params, $opts); |
| 23 | } |
| 24 | } |
| 25 |