for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Loevgaard\AltaPay\Response\Partial\Transaction\CustomerInfo;
use Loevgaard\AltaPay\Response\Partial\PartialResponse;
class CountryOfOrigin extends PartialResponse
{
/**
* @var string
*/
private $country;
private $source;
* @return string
public function getCountry() : string
return $this->country;
}
public function getSource() : string
return $this->source;
protected function init()
$this->country = (string)$this->xmlDoc->Country;
$this->source = (string)$this->xmlDoc->Source;