Subiendo proyecto completo sin restricciones de git ignore
This commit is contained in:
34
vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php
vendored
Normal file
34
vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user