blob: e7ee2e9a90330febf58dbda5a130fdb50736b22e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<?php
namespace Stripe;
use Stripe\Util\CaseInsensitiveArray;
/**
* Class ApiResponse.
*/
class ApiResponse
{
/**
* @var null|array|CaseInsensitiveArray
*/
public $headers;
/**
* @var string
*/
public $body;
/**
* @var null|array
*/
public $json;
/**
* @var int
*/
public $code;
/**
* @param string $body
* @param int $code
* @param null|array|CaseInsensitiveArray $headers
* @param null|array $json
*/
public function __construct($body, $code, $headers, $json)
{
$this->body = $body;
$this->code = $code;
$this->headers = $headers;
$this->json = $json;
}
}
|