137 lines
5.6 KiB
Java
137 lines
5.6 KiB
Java
package com.rjconsultores.ventaboletos.constantes;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
|
|
public class Constantes {
|
|
|
|
public static final Long FORMA_PAGO_DINHEIRO = new Long(1);
|
|
public static final Long FORMA_PAGO_RESERVA = new Long(94);
|
|
public static final Long FORMA_PAGO_NOTA_CREDITO = new Long(93);
|
|
public static final Long FORMA_PAGO_CREDITO = new Long(2);
|
|
public static final Long FORMA_PAGO_DEBITO = new Long(3);
|
|
public static final Long FORMA_PAGO_GERACAO_OCD = new Long(35);
|
|
public static final Long FORMA_PAGO_TROCA_PASSAGEM = new Long(10);
|
|
public static final Long FORMA_PAGO_ORDEN_SERVICIO = new Long(11);
|
|
|
|
public static final Long MVO_CANCEL_CANCELACION = new Long(31);
|
|
public static final Long MVO_CANCEL_DEVOLUCAO = new Long(32);
|
|
public static final Long MVO_CANCEL_DEVOLUCAO_CONTIGENCIA_50 = new Long(36);
|
|
public static final Long MVO_CANCEL_DEVOLUCAO_CONTIGENCIA_100 = new Long(37);
|
|
public static final Long MVO_CANCEL_TROCA = new Long(10);
|
|
public static final Long MVO_CANCEL_CHECKIN = new Long(27);
|
|
public static final Long MVO_CANCEL_TRANSFERENCIA = new Long(23);
|
|
public static final Long MVO_CANCEL_BOLETO_ENTREGADO = new Long(16);
|
|
public static final Long MVO_CANCEL_BOLETO_AGRUPAMENTO = new Long(17);
|
|
public static final Long MVO_CANCEL_GERACAO_OCD = new Long(99);
|
|
public static final Long MVO_CANCEL_QUITACAO_OCD = new Long(35);
|
|
public static final Long MVO_CANCEL_VENDA_PACOTE = new Long(33);
|
|
public static final Long ORGAO_CONCEDENTE_ID_AGERBA = new Long(27);
|
|
|
|
public static Long TPV_DIRECTO_NORMAL = new Long(1);
|
|
public static Long TPV_MANUAL = new Long(3);
|
|
public static Long TPV_CALL_CENTER = new Long(5);
|
|
public static Long TPV_BOLETO_REMOTO = new Long(18);
|
|
public static Long TPV_TRANSFERENCIAS = new Long(8); // é a troca de passagens
|
|
public static Long TPV_CAMBIO_VIAJE = new Long(81); // é a transferência de passagens
|
|
public static Long TPV_CHECKIN_VIAGEM = new Long(41); // chekin boletos
|
|
public static Long TPV_BOLETO_ABIERTO = new Long(9);
|
|
public static Long TPV_CONFIRMA_ABIERTO = new Long(82);
|
|
public static Long TPV_VENDA_BOLETO_ABERTO_MANUAL = new Long(39);
|
|
|
|
public static Long TPV_RESERVACION_POR_INTERNET = new Long(16);
|
|
public static Long TPV_POR_INTERNET = new Long(12);
|
|
public static Long TPV_AGENCIA_WEB = new Long(19);
|
|
|
|
public static final Integer TIPO_OPERACION_CC_LQ = new Integer(1);
|
|
public static final Integer TIPO_OPERACION_CC_PAGO = new Integer(2);
|
|
|
|
public static Short TURNO_AUTOMATICO = new Short("99");
|
|
|
|
public static final String IMAGEM_EMPRESA = "EMPRESA_BACKGROUND";
|
|
public static final String IMAGEM_EMPRESA_GENERICA = "EMPRESA_BACKGROUND_GENERICA";
|
|
|
|
public static final String ORGAO_CONCEDENTE_STRING_AGERBA = "AGERBA";
|
|
|
|
public static List<Integer> ORGAOS_CONCEDENTES_CALCULO_ARTESP = new ArrayList<Integer>(Arrays.asList(new Integer[]{21})) ;
|
|
/*
|
|
3 ANTT
|
|
4 AGEPAN
|
|
2 DER/PR
|
|
6 DER/MG
|
|
9 DER/RJ
|
|
15 DER/SC
|
|
16 DER/GO
|
|
22 DETRO/RJ
|
|
10 DER/ES
|
|
25 Pref de Ibatiba
|
|
26 Pref de João Neiva
|
|
27 AGERBA
|
|
28 DER/RO
|
|
30 DETER
|
|
*/
|
|
public static List<Integer> ORGAOS_CONCEDENTES_CALCULO_ANTT = new ArrayList<Integer>(Arrays.asList(new Integer[]{2,3,4,6,9,15,16,22,10,25,26,27,28,29,30}));
|
|
|
|
/*
|
|
* 5 - DER/MT
|
|
* 23 - Pref.Marilia
|
|
*
|
|
*/
|
|
public static List<Integer> ORGAOS_CONCEDENTES_CALCULO_AGER = new ArrayList<Integer>(Arrays.asList(new Integer[]{5,23}));
|
|
|
|
public static final String UTF_8 = "UTF-8";
|
|
public static final String CHARSET_UTF8 = ";charset=utf-8";
|
|
|
|
public static final int INTERVALO_FECHAMENTO_DIARIO = 1;
|
|
public static final int INTERVALO_FECHAMENTO_SEMANAL = 7;
|
|
public static final int INTERVALO_FECHAMENTO_DECENDIAL = 10;
|
|
public static final int INTERVALO_FECHAMENTO_QUINZENAL = 15;
|
|
public static final int INTERVALO_FECHAMENTO_MENSAL = 30;
|
|
public static final int LIMITE_EVENTO_EXTRA_EDITAVEL = 99000;//TipoEventoExtra com id >= 99000 não são editáveis.
|
|
|
|
public static final String DESCONTO_COMPONENTE_PRECO = "DESCONTO_COMPONENTE_PRECO";
|
|
|
|
public static final String TEMPO_LIMITE_PEN_PARAM_OCD = "TEMPO_LIMITE_PEN_PARAM_OCD";
|
|
|
|
public static final String CVESISTEMA_MOTIVO_CANCELAMENTO_ECF = "CANCELAMENTO_ECF";
|
|
|
|
public static final String QTDE_MAX_DIAS_RETENCAO_DIARIA_COMISSAO = "QTDE_MAX_DIAS_RETENCAO_DIARIA_COMISSAO";
|
|
|
|
public static final String RETER_COMISSAO_ADM_FECHAMENTO_CAIXA = "RETER_COMISSAO_ADM_FECHAMENTO_CAIXA";
|
|
|
|
public static enum FiltroEnviadosSefaz { SIM, NAO, TODOS };
|
|
|
|
public static final String CVESISTEMA_MOTIVO_CANCELAMENTO_ALTERACAO_POLTRONA = "ALTERACAO_POLTRONA";
|
|
|
|
public static final String BPE_ALTERACAO_POLTRONA = "110116";
|
|
|
|
public static final String ESTACAO_EMBARCADA = "ESTACAO_EMBARCADA";
|
|
|
|
public static final Integer CATEGORIA_NORMAL = 1;
|
|
|
|
public static final String BPE_AMBIENTE = "BPE_AMBIENTE";
|
|
|
|
public static final String BPE_URL = "BPE_URL";
|
|
|
|
public static final String BPE_URL_CONTIG = "BPE_URL_CONTIG_";
|
|
|
|
public static final String RELATORIO_BPE_OTIMIZADO = "RELATORIO_BPE_OTIMIZADO";
|
|
|
|
public static final String URL_PAINEL_EMBARCADA = "URL_PAINEL_EMBARCADA";
|
|
|
|
public static final String EXIGE_EMAIL_OU_TEL_CAD_CLIENTE = "EXIGE_EMAIL_OU_TEL_CAD_CLIENTE";
|
|
|
|
public static final String SMTP_COMISSAO_EMAIL = "SMTP_COMISSAO_EMAIL";
|
|
|
|
public static final String SMTP_COMISSAO_HOST = "SMTP_COMISSAO_HOST";
|
|
|
|
public static final String SMTP_COMISSAO_PASS = "SMTP_COMISSAO_PASS";
|
|
|
|
public static final String SMTP_COMISSAO_PORT = "SMTP_COMISSAO_PORT";
|
|
|
|
public static final String SMTP_COMISSAO_USER = "SMTP_COMISSAO_USER";
|
|
|
|
}
|