Your IP : 216.73.216.95


Current Path : /var/test/www/html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/
Upload File :
Current File : /var/test/www/html/wp-content/plugins/give/vendor/stripe/stripe-php/lib/ApiResponse.php

<?php

namespace Stripe;

use Stripe\Util\CaseInsensitiveArray;

/**
 * Class ApiResponse
 *
 * @package Stripe
 */
class ApiResponse
{
    public $headers;
    public $body;
    public $json;
    public $code;

    /**
     * @param string $body
     * @param integer $code
     * @param array|CaseInsensitiveArray|null $headers
     * @param array|null $json
     *
     * @return obj An APIResponse
     */
    public function __construct($body, $code, $headers, $json)
    {
        $this->body = $body;
        $this->code = $code;
        $this->headers = $headers;
        $this->json = $json;
    }
}