for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Loevgaard\AltaPay\Response\Partial\Transaction;
use Loevgaard\AltaPay\Response\Partial\PartialResponse;
class PaymentInfo extends PartialResponse
{
/**
* @var string
*/
private $name;
private $value;
* @return string
public function getName() : string
return $this->name;
}
public function getValue() : string
return $this->value;
protected function init()
$this->name = (string)$this->xmlDoc['name'];
$this->value = (string)$this->xmlDoc;