PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.15.5
GiveWP – Donation Plugin and Fundraising Platform v4.15.5
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
give / vendor / stripe / stripe-php / lib / ApiResponse.php

ApiResponse.php in GiveWP – Donation Plugin and Fundraising Platform 4.15.5, at vendor/stripe/stripe-php/lib/ApiResponse.php

46 lines 712 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Stripe;
4
5 use Stripe\Util\CaseInsensitiveArray;
6
7 /**
8 * Class ApiResponse.
9 */
10 class ApiResponse
11 {
12 /**
13 * @var null|array|CaseInsensitiveArray
14 */
15 public $headers;
16
17 /**
18 * @var string
19 */
20 public $body;
21
22 /**
23 * @var null|array
24 */
25 public $json;
26
27 /**
28 * @var int
29 */
30 public $code;
31
32 /**
33 * @param string $body
34 * @param int $code
35 * @param null|array|CaseInsensitiveArray $headers
36 * @param null|array $json
37 */
38 public function __construct($body, $code, $headers, $json)
39 {
40 $this->body = $body;
41 $this->code = $code;
42 $this->headers = $headers;
43 $this->json = $json;
44 }
45 }
46