src/Response.php
<?php
namespace Ups;
use SimpleXMLElement;
class Response implements ResponseInterface
{
/**
* @var string
*/
protected $text;
/**
* @var SimpleXMLElement
*/
protected $response;
/**
* @return SimpleXMLElement
*/
public function getResponse()
{
return $this->response;
}
/**
* @param SimpleXMLElement $response
*
* @return $this
*/
public function setResponse(SimpleXMLElement $response)
{
$this->response = $response;
return $this;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* @param string $text
*
* @return $this
*/
public function setText($text)
{
$this->text = $text;
return $this;
}
}