for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Zed\Payone\Business\Api\Response\Container;
class GetSecurityInvoiceResponseContainer extends AbstractResponseContainer
{
* @var string
protected $response;
* @param string $response
*
* @return void
public function setResponse(string $response): void
$this->response = $response;
}
* @return string
public function getResponse(): string
return $this->response;
public function __toString(): string
if ($this->isError()) {
$result = parent::__toString();
} else {
$stringArray = ['status=' . $this->getStatus(), 'data=PDF-Content'];
$result = implode('|', $stringArray);
return $result;