# give/4.17.0/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php

GiveWP – Donation Plugin and Fundraising Platform, version 4.17.0. 35 lines.

- Page: https://pluginprobe.com/plugins/give/4.17.0/code/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php
- Raw: https://pluginprobe.com/plugins/give/4.17.0/raw/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.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.17.0/code/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php#L10-L20`.

```php
<?php

namespace PayPalHttp;

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

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

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

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

```
