File ManagerCurrent Directory: wp-content/plugins/wpforms/vendor_prefixed/stripe/stripe-php/lib/Service/TestHelpers/IssuingLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: CardService.php <?php // File generated from our OpenAPI spec namespace WPForms\Vendor\Stripe\Service\TestHelpers\Issuing; /** * @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions * @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions */ class CardService extends \WPForms\Vendor\Stripe\Service\AbstractService { /** * Updates the shipping status of the specified Issuing <code>Card</code> object to * <code>delivered</code>. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Issuing\Card */ public function deliverCard($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/deliver', $id), $params, $opts); } /** * Updates the shipping status of the specified Issuing <code>Card</code> object to * <code>failure</code>. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Issuing\Card */ public function failCard($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/fail', $id), $params, $opts); } /** * Updates the shipping status of the specified Issuing <code>Card</code> object to * <code>returned</code>. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Issuing\Card */ public function returnCard($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/return', $id), $params, $opts); } /** * Updates the shipping status of the specified Issuing <code>Card</code> object to * <code>shipped</code>. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Issuing\Card */ public function shipCard($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/ship', $id), $params, $opts); } /** * Updates the shipping status of the specified Issuing <code>Card</code> object to * <code>submitted</code>. This method requires Stripe Version ‘2024-09-30.acacia’ * or later. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Issuing\Card */ public function submitCard($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/issuing/cards/%s/shipping/submit', $id), $params, $opts); } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirAuthorizationService.phpFile4.16 KB Rename | Delete | EditCardService.phpFile3.35 KB Rename | Delete | EditIssuingServiceFactory.phpFile898.00 B Rename | Delete | EditPersonalizationDesignService.phpFile2.22 KB Rename | Delete | EditTransactionService.phpFile1.92 KB Rename | Delete | Edit