-
-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
921e17c
commit 89fea93
Showing
2 changed files
with
34 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,64 @@ | ||
<?php | ||
|
||
namespace Eduardokum\LaravelBoleto\Contracts\Api; | ||
|
||
use Carbon\Carbon; | ||
use Eduardokum\LaravelBoleto\Contracts\Boleto\Boleto; | ||
use Eduardokum\LaravelBoleto\Contracts\Pessoa as PessoaContract; | ||
use Eduardokum\LaravelBoleto\Contracts\Boleto\BoletoAPI; | ||
|
||
interface Api | ||
{ | ||
public function createBoleto(Boleto $boleto); | ||
public function createBoleto(BoletoAPI $boleto); | ||
|
||
public function retrieveNossoNumero($nossoNumero); | ||
|
||
public function retrieveID($id); | ||
|
||
public function cancelNossoNumero($nossoNumero, $motivo); | ||
|
||
public function cancelID($id, $motivo); | ||
|
||
public function retrieveList($inputedParams = []); | ||
|
||
public function getPdfNossoNumero($nossoNumero); | ||
|
||
public function getPdfID($id); | ||
|
||
public function createWebhook($url, $type = 'all'); | ||
public function retrieve(Boleto $boleto); | ||
public function cancel(Boleto $boleto, $motivo); | ||
public function getPdf(Boleto $boleto); | ||
|
||
public function retrieve(BoletoAPI $boleto); | ||
|
||
public function cancel(BoletoAPI $boleto, $motivo); | ||
|
||
public function getPdf(BoletoAPI $boleto); | ||
|
||
public function getBaseUrl(); | ||
|
||
public function getConta(); | ||
|
||
public function getCertificado(); | ||
|
||
public function getCertificadoChave(); | ||
|
||
public function getCertificadoSenha(); | ||
|
||
public function getIdentificador(); | ||
|
||
public function getSenha(); | ||
|
||
public function getCnpj(); | ||
|
||
public function getClientId(); | ||
|
||
public function getClientSecret(); | ||
|
||
public function getAccessToken(); | ||
|
||
public function getBeneficiario(); | ||
|
||
public function unsetDebug(); | ||
|
||
public function isDebug(); | ||
|
||
public function getLog(); | ||
|
||
public function clearLog(); | ||
} |