Example #1
0
 public function __construct(PagueVeloz_Boleto_Model_Dto_EmailDTO $email, $token)
 {
     $machine = null;
     $this->setAuthDto(Mage::getModel('pagueveloz/dto_authenticationDTO', $email->getEmail(), $token));
     parent::__construct('/v2/ContaBancaria', $this->getAuthDto(), $machine);
 }
Example #2
0
 public function __construct(PagueVeloz_Boleto_Model_Dto_EmailDTO $email, $token, PagueVeloz_Boleto_Model_Interfaces_IHttpClient $machine = null)
 {
     $this->setAuthDto(new PagueVeloz_Boleto_Model_Dto_AuthenticationDTO($email->getEmail(), $token));
     parent::__construct('/v1/EmitirBoleto', $this->getAuthDto(), $machine);
 }
Example #3
0
 public function __construct(PagueVeloz_Boleto_Model_Dto_EmailDTO $email, $token)
 {
     $machine = null;
     $this->setAuthDto(new PagueVeloz_Boleto_Model_Dto_AuthenticationDTO($email->getEmail(), $token));
     parent::__construct('/v2/Boleto', $this->getAuthDto(), $machine);
 }