bug#AL-2574
parent
db5aa54f7e
commit
8c46e944c2
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ModelWeb</artifactId>
|
||||
<version>1.5.3</version>
|
||||
<version>1.5.4</version>
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>rj-releases</id>
|
||||
|
|
|
@ -21,6 +21,7 @@ public enum TipoEventoExtra {
|
|||
TAXA_CONVENIENCIA_SVI("TAXA_CONVENIENCIA_SVI"),
|
||||
TARIFA_SAFER("TARIFA_SAFER"),
|
||||
JUROS_CARTAO_CREDITO("JUROS_CARTAO_CREDITO"),
|
||||
EMBARQUE_JA("EMBARQUE_JA"),
|
||||
;
|
||||
|
||||
private String descricao;
|
||||
|
|
|
@ -120,6 +120,12 @@ public class FormaPago implements Serializable, Auditavel<FormaPago> {
|
|||
@Column(name = "TIPOEVENTOEXTRA_ID")
|
||||
private Long tipoEventoExtraId;
|
||||
|
||||
@Column(name = "INDESTORNO_RECEITA_DESPESA_CR")
|
||||
private Boolean indEstornoReceitaDespesaCredito;
|
||||
|
||||
@Column(name = "TIPOEVENTOEXTRACREDITO_ID")
|
||||
private Long tipoEventoExtraIdCredito;
|
||||
|
||||
@Transient
|
||||
@NaoAuditar
|
||||
private FormaPago formaPagoClone;
|
||||
|
@ -385,6 +391,22 @@ public class FormaPago implements Serializable, Auditavel<FormaPago> {
|
|||
this.percentualDesconto = percentualDesconto;
|
||||
}
|
||||
|
||||
public Boolean getIndEstornoReceitaDespesaCredito() {
|
||||
return indEstornoReceitaDespesaCredito == null ? false : indEstornoReceitaDespesaCredito;
|
||||
}
|
||||
|
||||
public void setIndEstornoReceitaDespesaCredito(Boolean indEstornoReceitaDespesaCredito) {
|
||||
this.indEstornoReceitaDespesaCredito = indEstornoReceitaDespesaCredito;
|
||||
}
|
||||
|
||||
public Long getTipoEventoExtraIdCredito() {
|
||||
return tipoEventoExtraIdCredito;
|
||||
}
|
||||
|
||||
public void setTipoEventoExtraIdCredito(Long tipoEventoExtraIdCredito) {
|
||||
this.tipoEventoExtraIdCredito = tipoEventoExtraIdCredito;
|
||||
}
|
||||
|
||||
@Override
|
||||
public FormaPago getCloneObject() throws CloneNotSupportedException {
|
||||
return formaPagoClone;
|
||||
|
|
|
@ -23,6 +23,7 @@ public enum TipoFormapago {
|
|||
MOBIPIX(16,Labels.getLabel("editarFormaPagoController.lblMobiPix.label")),
|
||||
ADYEN(17,Labels.getLabel("editarFormaPagoController.lblAdyen.label")),
|
||||
MERCADO_PAGO(18,Labels.getLabel("editarFormaPagoController.lblMercadoPago.label")),
|
||||
EMBARQUE_JA(19,Labels.getLabel("editarFormaPagoController.lblEmbarqueJa.label")),
|
||||
;
|
||||
|
||||
private Integer valor;
|
||||
|
|
Loading…
Reference in New Issue