Examples of GatewaysConf


Examples of br.com.caelum.stella.gateway.core.GatewaysConf

    this.formularioSondaReturnBuilder = formularioSondaReturnBuilder;
  }

  public BBFormularioSondaReturn handle() {
    // TODO Auto-generated method stub
    PostMethod postMethod = new PostMethod(new GatewaysConf()
        .getBBUrlSonda());
    postMethod.addParameter("refTran", dadosRetornoPadrao.getRefTran());
    postMethod.addParameter("idConv", String.valueOf(dadosRetornoPadrao.getIdConv()));
    postMethod.addParameter("valorSonda", new BigDecimalFormatter()
        .bigDecimalToStringInCents(valorSonda));
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

    this.emailCobranca = emailCobranca;
    this.urlVerificacaoToken = urlVerificacaoToken;
  }

  public PagSeguroDadosConfiguracao() {
    GatewaysConf gatewaysConf = new GatewaysConf();
    this.urlComponenteAutorizacao = gatewaysConf.getPagSeguroUrlComponenteDeAutorizacao();
    this.token = gatewaysConf.getPagSeguroToken();
    this.emailCobranca = gatewaysConf.getPagSeguroEmailCobranca();
    this.urlVerificacaoToken = gatewaysConf.getPagSeguroUrlVerificacaoToken();
    // TODO Auto-generated constructor stub
  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

    this.urlComponenteAutorizacao = urlComponenteAutorizacao;
    this.urlSonda = urlSonda;
  }

  public BBDadosConfiguracao() {
    GatewaysConf gatewaysConf = new GatewaysConf();
    this.dadosFiliacao = new BBDadosFiliacao(Integer.valueOf(gatewaysConf.getBBIdConv())
    ,!"".equals(gatewaysConf.getBBCodigoConvenioDeCobranca())?Integer.valueOf(gatewaysConf.getBBCodigoConvenioDeCobranca()):null);
    this.urlInforma = gatewaysConf.getBBUrlInforma();
    this.urlRetorno = gatewaysConf.getBBUrlRetorno();
    this.urlComponenteAutorizacao = gatewaysConf.getBBUrlComponenteDeAutorizacao();
    this.urlSonda = gatewaysConf.getBBUrlSonda();
    // TODO Auto-generated constructor stub
  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

  private static PagSeguroDadosConfiguracao configuracao;

  @BeforeClass
  public static void setUp() {
    GatewaysConf conf = new GatewaysConf();
    configuracao = new PagSeguroDadosConfiguracao(conf
        .getPagSeguroUrlComponenteDeAutorizacao(), "123456",
        "teste@teste.com.br", conf.getPagSeguroUrlVerificacaoToken());

  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

    this.numeroFiliacao = numeroFiliacao;
    this.nomeArquivoConfiguracao = nomeArquivoConfiguracao;
  }

  public VISADadosConfiguracao() {   
    GatewaysConf gatewaysConf = new GatewaysConf();
    this.urlComponenteAutorizacao = gatewaysConf.getVISAUrlParaComponenteDeAutorizacao();
    this.urlComponenteCancelamento = gatewaysConf.getVISAUrlParaComponenteDeCancelamento();
    this.urlComponenteCaptura = gatewaysConf.getVISAUrlParaComponenteDeCaptura();
    this.urlComponenteConsulta = gatewaysConf.getVISAUrlParaComponenteDeConsulta();
    this.numeroFiliacao = Long.valueOf(gatewaysConf.getVISANumeroDeFiliacao());
    this.nomeArquivoConfiguracao = gatewaysConf.getVISANomeDoArquivoDeConfiguracao();
    // TODO Auto-generated constructor stub
  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

    fields.put("URLBACK", "http://www.acharuma.com.br");
    fields.put("URLCIMA", dadosAutorizacaoPagamento.getUrlCima());
    fields.put("TARGET", dadosAutorizacaoPagamento.getTarget());
    htmlViewerHelper.body(
        "onload=document.getElementById('teste').submit();").form(
        new GatewaysConf().getRedeCardUrlParaComponenteDeAutorizacao(),
        "post", "teste").createInputsHidden(fields)
        .criarPaginaTemporariaNoDisco(
            pathPastaPagina + "post_dados_master.html");

View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

            .getNumeroDoPedido() }).handle();
    HtmlViewerHelper htmlViewerHelper = new HtmlViewerHelper();
    Map<String, Object> fields = criarMapaComCampos(dadosAutorizacaoPagamento);
    htmlViewerHelper.body(
        "onload=document.getElementById('pagamento').submit();").form(
        new GatewaysConf().getBBUrlComponenteDeAutorizacao(), "post",
        "pagamento").createInputsHidden(fields)
        .criarPaginaTemporariaNoDisco(
            pathPastaPagina + "/post_dados_bb_bloqueto.html");

  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

            .getNumeroDoPedido() }).handle();
    HtmlViewerHelper htmlViewerHelper = new HtmlViewerHelper();
    Map<String, Object> fields = criarMapaComCampos(dadosAutorizacaoPagamento);
    htmlViewerHelper.body(
        "onload=document.getElementById('pagamento').submit();").form(
        new GatewaysConf().getBBUrlComponenteDeAutorizacao(), "post",
        "pagamento").createInputsHidden(fields)
        .criarPaginaTemporariaNoDisco(
            pathPastaPagina + "/post_dados_bb_debito.html");

  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

            .getNumeroDoPedido() }).handle();
    HtmlViewerHelper htmlViewerHelper = new HtmlViewerHelper();
    Map<String, Object> fields = criarMapaComCampos(dadosAutorizacaoPagamento);
    htmlViewerHelper.body(
        "onload=document.getElementById('pagamento').submit();").form(
        new GatewaysConf().getBBUrlComponenteDeAutorizacao(), "post",
        "pagamento").createInputsHidden(fields)
        .criarPaginaTemporariaNoDisco(
            pathPastaPagina + "/post_dados_bb_crediario.html");

  }
View Full Code Here

Examples of br.com.caelum.stella.gateway.core.GatewaysConf

    this.urlConfirmacaoTransacao = urlConfirmacaoTransacao;
  }

  public RedecardDadosConfiguracao() {
    super();
    GatewaysConf gatewaysConf = new GatewaysConf();
    this.urlComponenteAutorizacao = gatewaysConf
        .getRedeCardUrlConfirmacaoTransacao();
    this.dadosFiliacao = new RedecardDadosFiliacao(Integer
        .valueOf(gatewaysConf.getRedeCardNumeroDeFiliacao()), !""
        .equals(gatewaysConf
            .getRedeCardNumeroDeFiliacaoDoDistribuidor()) ? Integer
        .valueOf(gatewaysConf
            .getRedeCardNumeroDeFiliacaoDoDistribuidor()) : null);

    this.urlRetornoTransacao = gatewaysConf
        .getRedeCardUrlRetornoTransacao();
    this.urlConfirmacaoTransacao = gatewaysConf
        .getRedeCardUrlConfirmacaoTransacao();
    // TODO Auto-generated constructor stub
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.