File ManagerCurrent Directory: wp-content/plugins/wpforms/vendor_prefixed/stripe/stripe-php/lib/Service/TestHelpers/TreasuryLinux appserver-0d5e4f1e-php-cc8da225320a42ba9b7d66cba40b1f03 6.6.123+ #1 SMP PREEMPT_DYNAMIC Wed Mar 11 09:04:28 UTC 2026 x86_64Edit File: InboundTransferService.php <?php // File generated from our OpenAPI spec namespace WPForms\Vendor\Stripe\Service\TestHelpers\Treasury; /** * @phpstan-import-type RequestOptionsArray from \Stripe\Util\RequestOptions * @psalm-import-type RequestOptionsArray from \Stripe\Util\RequestOptions */ class InboundTransferService extends \WPForms\Vendor\Stripe\Service\AbstractService { /** * Transitions a test mode created InboundTransfer to the <code>failed</code> * status. The InboundTransfer must already be in the <code>processing</code> * state. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Treasury\InboundTransfer */ public function fail($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/inbound_transfers/%s/fail', $id), $params, $opts); } /** * Marks the test mode InboundTransfer object as returned and links the * InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the * <code>succeeded</code> state. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Treasury\InboundTransfer */ public function returnInboundTransfer($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/inbound_transfers/%s/return', $id), $params, $opts); } /** * Transitions a test mode created InboundTransfer to the <code>succeeded</code> * status. The InboundTransfer must already be in the <code>processing</code> * state. * * @param string $id * @param null|array $params * @param null|RequestOptionsArray|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Treasury\InboundTransfer */ public function succeed($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/inbound_transfers/%s/succeed', $id), $params, $opts); } } Upload File Directory Listing NameTypeSizeActions.. (Parent Directory)DirInboundTransferService.phpFile2.36 KB Rename | Delete | EditOutboundPaymentService.phpFile3.02 KB Rename | Delete | EditOutboundTransferService.phpFile3.03 KB Rename | Delete | EditReceivedCreditService.phpFile981.00 B Rename | Delete | EditReceivedDebitService.phpFile976.00 B Rename | Delete | EditTreasuryServiceFactory.phpFile1.02 KB Rename | Delete | Edit