Rev 686 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 686 | Rev 690 | ||
|---|---|---|---|
| Line 96... | Line 96... | ||
| 96 | return getCodigo().equals(FORMAPAGAMENTO_DINHEIRO); |
96 | return getCodigo().equals(FORMAPAGAMENTO_DINHEIRO); |
| 97 | }
|
97 | }
|
| 98 | 98 | ||
| 99 | @Transient |
99 | @Transient |
| 100 | public boolean formaPagamentoEhCartao() { |
100 | public boolean formaPagamentoEhCartao() { |
| 101 | return !(formaPagamentoEhDinheiro() || formaPagamentoEhCupom() || formaPagamentoEhOutros()); |
- | |
| - | 101 | return !(formaPagamentoEhDinheiro() || formaPagamentoEhTransferencia() || formaPagamentoEhCupom() || formaPagamentoEhOutros() || |
|
| - | 102 | formaPagamentoEhPix() || formaPagamentoEhCashback()); |
|
| 102 | }
|
103 | }
|
| 103 | 104 | ||
| 104 | @Transient |
105 | @Transient |
| 105 | public boolean formaPagamentoEhDebito() { |
106 | public boolean formaPagamentoEhDebito() { |
| 106 | return getCodigo().equals(FORMAPAGAMENTO_DEBITO); |
107 | return getCodigo().equals(FORMAPAGAMENTO_DEBITO); |
| Line 126... | Line 127... | ||
| 126 | return getCodigo().equals(FORMAPAGAMENTO_CASHBACK); |
127 | return getCodigo().equals(FORMAPAGAMENTO_CASHBACK); |
| 127 | }
|
128 | }
|
| 128 | 129 | ||
| 129 | @Transient |
130 | @Transient |
| 130 | public boolean formaPagamentoEhCredito() { |
131 | public boolean formaPagamentoEhCredito() { |
| 131 | return !(formaPagamentoEhDinheiro() || formaPagamentoEhDebito() || formaPagamentoEhPagseguro() || formaPagamentoEhCupom() || formaPagamentoEhOutros() || formaPagamentoEhPix()); |
- | |
| - | 132 | return !(formaPagamentoEhDinheiro() || formaPagamentoEhDebito() || formaPagamentoEhPagseguro() || |
|
| - | 133 | formaPagamentoEhCupom() || formaPagamentoEhOutros() || formaPagamentoEhPix() || |
|
| - | 134 | formaPagamentoEhTransferencia() || formaPagamentoEhCashback()); |
|
| 132 | }
|
135 | }
|
| 133 | 136 | ||
| 134 | @Transient |
137 | @Transient |
| 135 | public boolean formaPagamentoEhCreditoDividido() { |
138 | public boolean formaPagamentoEhCreditoDividido() { |
| 136 | return formaPagamentoEhCredito() && !formaPagamentoEh1x(); |
139 | return formaPagamentoEhCredito() && !formaPagamentoEh1x(); |