PPPStripeApiResponse

Class ApiResponse.

Defined (1)

The class is defined in the following location(s).

/includes/api/stripe-php/lib/ApiResponse.php  
  1. class ApiResponse 
  2. public $headers; 
  3. public $body; 
  4. public $json; 
  5. public $code; 
  6.  
  7. /** 
  8. * @param string $body 
  9. * @param integer $code 
  10. * @param array|null $headers 
  11. * @param array|null $json 
  12. * @return obj An APIResponse 
  13. */ 
  14. public function __construct($body, $code, $headers, $json) 
  15. $this->body = $body; 
  16. $this->code = $code; 
  17. $this->headers = $headers; 
  18. $this->json = $json;