• File: HttpResponse.php
  • Full Path: /var/www/crm_set/application/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php
  • Date Modified: 09/21/2026 4:19 AM
  • File size: 514 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace PayPalHttp;

/**
 * Class HttpResponse
 * @package PayPalHttp
 *
 * Object that holds your response details
 */
class HttpResponse
{
    /**
     * @var integer
     */
    public $statusCode;

    /**
     * @var array | string
     */
    public $result;

    /**
     * @var array
     */
    public $headers;

    public function __construct($statusCode, $body, $headers)
    {
        $this->statusCode = $statusCode;
        $this->headers = $headers;
        $this->result = $body;
    }
}