<?php
if (!defined("ROOT_PATH"))
{
	header("HTTP/1.1 403 Forbidden");
	exit;
}
class pjStripeSDKResponse extends pjPaymentsSDKResponse
{	
	public function getError()
	{
		return isset($this->response['error']) ? $this->response['error'] : false;
	}
	
	public function isOK()
	{
		return !(isset($this->response['error']) && !empty($this->response['error']));
	}
}