-
Notifications
You must be signed in to change notification settings - Fork 7
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
e452879
commit 5cacf5b
Showing
5 changed files
with
93 additions
and
13 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 |
---|---|---|
@@ -0,0 +1,65 @@ | ||
namespace Sicoob.Cobranca.Models; | ||
|
||
using System; | ||
|
||
public class IncluirBoletosRequest | ||
{ | ||
public int numeroContrato { get; set; } | ||
public int modalidade { get; set; } = 1; // Simples com Registro | ||
public int numeroContaCorrente { get; set; } | ||
public string especieDocumento { get; set; } = "DM"; // Duplicata Mercantil, ver lista | ||
public DateTime dataEmissao { get; set; } | ||
public int nossoNumero { get; set; } | ||
public string seuNumero { get; set; } | ||
public string identificacaoBoletoEmpresa { get; set; } | ||
public int identificacaoEmissaoBoleto { get; set; } | ||
public int identificacaoDistribuicaoBoleto { get; set; } | ||
public decimal valor { get; set; } | ||
public DateTime dataVencimento { get; set; } | ||
public DateTime dataLimitePagamento { get; set; } | ||
public int valorAbatimento { get; set; } | ||
public int tipoDesconto { get; set; } | ||
public DateTime dataPrimeiroDesconto { get; set; } | ||
public decimal valorPrimeiroDesconto { get; set; } | ||
public DateTime dataSegundoDesconto { get; set; } | ||
public decimal valorSegundoDesconto { get; set; } | ||
public DateTime dataTerceiroDesconto { get; set; } | ||
public decimal valorTerceiroDesconto { get; set; } | ||
public int tipoMulta { get; set; } | ||
public DateTime dataMulta { get; set; } | ||
public decimal valorMulta { get; set; } | ||
public int tipoJurosMora { get; set; } | ||
public DateTime dataJurosMora { get; set; } | ||
public decimal valorJurosMora { get; set; } | ||
public int numeroParcela { get; set; } | ||
public bool aceite { get; set; } | ||
public int codigoNegativacao { get; set; } | ||
public int numeroDiasNegativacao { get; set; } | ||
public int codigoProtesto { get; set; } | ||
public int numeroDiasProtesto { get; set; } | ||
public DadosPagador pagador { get; set; } | ||
public Beneficiariofinal beneficiarioFinal { get; set; } | ||
public Mensagensinstrucao mensagensInstrucao { get; set; } | ||
public bool gerarPdf { get; set; } | ||
public Rateiocredito[] rateioCreditos { get; set; } | ||
/// <summary> | ||
/// 0: Padrão, 1: Com PIX, 2: Sem PIX | ||
/// </summary> | ||
public int codigoCadastrarPIX { get; set; } | ||
public int numeroContratoCobranca { get; set; } | ||
} | ||
|
||
public class IncluirBoletosResponse | ||
{ | ||
public DadosInclusao[]? resultado { get; set; } | ||
} | ||
public class DadosInclusao | ||
{ | ||
public ResultadoInclusao? status { get; set; } | ||
public DadosBoleto? boleto { get; set; } | ||
} | ||
public class ResultadoInclusao | ||
{ | ||
public int codigo { get; set; } | ||
public string mensagem { get; set; } = string.Empty; | ||
} |
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
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