Server IP : 192.158.238.246 / Your IP : 52.14.165.32 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/7779/cwd/plugins/give/vendor/stripe/stripe-php/lib/Service/ |
Upload File : |
<?php // File generated from our OpenAPI spec namespace Stripe\Service; class OrderReturnService extends \Stripe\Service\AbstractService { /** * Returns a list of your order returns. The returns are returned sorted by * creation date, with the most recently created return appearing first. * * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Collection<\Stripe\OrderReturn> */ public function all($params = null, $opts = null) { return $this->requestCollection('get', '/v1/order_returns', $params, $opts); } /** * Retrieves the details of an existing order return. Supply the unique order ID * from either an order return creation request or the order return list, and * Stripe will return the corresponding order information. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\OrderReturn */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/order_returns/%s', $id), $params, $opts); } }