ENDPOINThttps://api.erpeasy.compels.net/v1/informacaoPagamentoNotaISS


Exemplo em Java:

public class InformacaoPagamentoNotaISS {

  private Long id;
  private Long empresaId;
  private NotaISS notaISS;
  private LocalDate dataReferencia;
  private double valorReferencia;
  private double valorDesconto;
  private double valorTroco;
  private double valorSemPagamento;
  private double valorFinal;
  private List<DetalhamentoPagamentoNotaISS> detalhamentoPagamentoList;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getEmpresaId() {
    return empresaId;
  }

  public void setEmpresaId(Long empresaId) {
    this.empresaId = empresaId;
  }

  public NotaISS getNotaISS() {
    return notaISS;
  }

  public void setNotaISS(NotaISS notaISS) {
    this.notaISS = notaISS;
  }

  public LocalDate getDataReferencia() {
    return dataReferencia;
  }

  public void setDataReferencia(LocalDate dataReferencia) {
    this.dataReferencia = dataReferencia;
  }

  public double getValorReferencia() {
    return valorReferencia;
  }

  public void setValorReferencia(double valorReferencia) {
    this.valorReferencia = valorReferencia;
  }

  public double getValorDesconto() {
    return valorDesconto;
  }

  public void setValorDesconto(double valorDesconto) {
    this.valorDesconto = valorDesconto;
  }

  public double getValorTroco() {
    return valorTroco;
  }

  public void setValorTroco(double valorTroco) {
    this.valorTroco = valorTroco;
  }

  public double getValorSemPagamento() {
    return valorSemPagamento;
  }

  public void setValorSemPagamento(double valorSemPagamento) {
    this.valorSemPagamento = valorSemPagamento;
  }

  public List<DetalhamentoPagamentoNotaISS> getDetalhamentoPagamentoList() {
    return detalhamentoPagamentoList;
  }

  public void setDetalhamentoPagamentoList(List<DetalhamentoPagamentoNotaISS> detalhamentoPagamentoList) {
    this.detalhamentoPagamentoList = detalhamentoPagamentoList;
  }

  public double getValorFinal() {
    return valorFinal;
  }

  public void setValorFinal(double valorFinal) {
    this.valorFinal = valorFinal;
  }
  
  public void atualizaValorFinal() {
    double valorFinal = this.getValorReferencia();
    valorFinal = Operacoes.soma(valorFinal, this.getValorTroco());
    valorFinal = Operacoes.subtrai(valorFinal, this.getValorDesconto());
    valorFinal = Operacoes.subtrai(valorFinal, this.getValorSemPagamento());
    this.setValorFinal(valorFinal);
  }

}