mirror of
https://gitlab.com/openlp/website.git
synced 2024-12-22 13:02:50 +00:00
33 lines
549 B
PHP
33 lines
549 B
PHP
|
<?php
|
||
|
|
||
|
namespace Stripe;
|
||
|
|
||
|
/**
|
||
|
* Class ApiResponse
|
||
|
*
|
||
|
* @package Stripe
|
||
|
*/
|
||
|
class ApiResponse
|
||
|
{
|
||
|
public $headers;
|
||
|
public $body;
|
||
|
public $json;
|
||
|
public $code;
|
||
|
|
||
|
/**
|
||
|
* @param string $body
|
||
|
* @param integer $code
|
||
|
* @param array|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;
|
||
|
}
|
||
|
}
|