HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux wordpress 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.28
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/wpforms-lite/vendor_prefixed/stripe/stripe-php/lib/ApiResponse.php
<?php

namespace WPForms\Vendor\Stripe;

use WPForms\Vendor\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;
    }
}