for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hiqdev\php\merchant\credentials;
/**
* Class Credentials
*
* @author Dmytro Naumenko <[email protected]>
*/
final class Credentials implements CredentialsInterface
{
* @var string
protected $purse;
protected $key1;
protected $key2;
protected $key3;
* @var bool
protected $isTestMode = false;
public function getPurse()
return $this->purse;
}
public function setPurse($purse): self
$this->purse = $purse;
return $this;
public function getKey1()
return $this->key1;
public function setKey1($key1): self
$this->key1 = $key1;
public function getKey2()
return $this->key2;
public function setKey2($key2): self
$this->key2 = $key2;
public function getKey3()
return $this->key3;
public function setKey3($key3): self
$this->key3 = $key3;
* @return bool
public function isTestMode(): bool
return $this->isTestMode;
* @param boolean $value
* @return $this
public function setTestMode($value)
$this->isTestMode = (bool)$value;