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: OutboundTransferService.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 OutboundTransferService extends \WPForms\Vendor\Stripe\Service\AbstractService { /** * Transitions a test mode created OutboundTransfer to the <code>failed</code> * status. The OutboundTransfer 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\OutboundTransfer */ public function fail($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s/fail', $id), $params, $opts); } /** * Transitions a test mode created OutboundTransfer to the <code>posted</code> * status. The OutboundTransfer 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\OutboundTransfer */ public function post($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s/post', $id), $params, $opts); } /** * Transitions a test mode created OutboundTransfer to the <code>returned</code> * status. The OutboundTransfer 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\OutboundTransfer */ public function returnOutboundTransfer($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s/return', $id), $params, $opts); } /** * Updates a test mode created OutboundTransfer with tracking details. The * OutboundTransfer must not be cancelable, and cannot be in the * <code>canceled</code> or <code>failed</code> states. * * @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\OutboundTransfer */ public function update($id, $params = null, $opts = null) { return $this->request('post', $this->buildPath('/v1/test_helpers/treasury/outbound_transfers/%s', $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