for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPSC\PagSeguro\Purchases\Transactions;
class PaymentMethod
{
/**
* @var int
*/
private $type;
private $code;
* @param int $type
* @param int $code
public function __construct($type, $code)
$this->type = (int) $type;
$this->code = (int) $code;
}
* @return number
public function getType()
return $this->type;
public function getCode()
return $this->code;