Subversion Repositories Integrator Subversion

Rev

Rev 689 | Rev 702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 689 Rev 690
Line 360... Line 360...
360
        }
360
        }
361
       
361
       
362
        private Boolean emitirVendaPagamentoCartao(ParametrosVendaDTO parametrosVenda) {
362
        private Boolean emitirVendaPagamentoCartao(ParametrosVendaDTO parametrosVenda) {
363
                if (parametrosVenda.getLoja().getTipoEmitirNotaFiscal().equals(TipoEmitirNotaFiscal.VENDAS_OBRIGATORIAS.getValor())) {
363
                if (parametrosVenda.getLoja().getTipoEmitirNotaFiscal().equals(TipoEmitirNotaFiscal.VENDAS_OBRIGATORIAS.getValor())) {
364
                        for (VendaFormaPagamento pagamento : parametrosVenda.getLancamentosPagamentos()) {
364
                        for (VendaFormaPagamento pagamento : parametrosVenda.getLancamentosPagamentos()) {
365
                                if (pagamento.getFormaPagamento().formaPagamentoEhCredito() ||
-
 
-
 
365
                                if (pagamento.getFormaPagamento().formaPagamentoEhPix() ||
-
 
366
                                                pagamento.getFormaPagamento().formaPagamentoEhTransferencia() ||
-
 
367
                                                pagamento.getFormaPagamento().formaPagamentoEhCredito() ||
366
                                                pagamento.getFormaPagamento().formaPagamentoEhDebito() ||
368
                                                pagamento.getFormaPagamento().formaPagamentoEhDebito() ||
367
                                                pagamento.getFormaPagamento().formaPagamentoEhPagseguro()) {
369
                                                pagamento.getFormaPagamento().formaPagamentoEhPagseguro()) {
368
                                        return true;
370
                                        return true;
369
                                }
371
                                }
370
                        }
372
                        }