# give/4.16.1/vendor/stripe/stripe-php/lib/ApiResponse.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.16.1. 46 lines.

- Page: https://pluginprobe.com/plugins/give/4.16.1/code/vendor/stripe/stripe-php/lib/ApiResponse.php
- Raw: https://pluginprobe.com/plugins/give/4.16.1/raw/vendor/stripe/stripe-php/lib/ApiResponse.php
- Modified: 2021-09-27T12:30:32+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.16.1/code/vendor/stripe/stripe-php/lib/ApiResponse.php#L10-L20`.

```php
<?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;
    }
}

```
