Package br.com.caelum.stella.gateway.amex

Examples of br.com.caelum.stella.gateway.amex.AmexCheckout


  private static SeleniumHelper seleniumHelper;

  @Test
  public void testSolicitarPagamentoAVista() throws IOException {
    AmexCheckout amexCheckout = new AmexCheckout("12345678", "12345678",
        BigDecimal.TEN, AmexLocale.EN, new AmexFormaPagamento(0,
            AmexTipoTransacao.A_VISTA,
            AmexTipoCartao.AMERICA_EXPRESS));
    AmexDadosAutorizacaoPagamento amexDadosAutorizacaoPagamento = new AmexSolicitaAutorizacaoPagamento(
        amexCheckout).handle();
View Full Code Here


  }

  @Test
  public void testSolicitarPagamentoParcelado() throws IOException {
    AmexCheckout amexCheckout = new AmexCheckout("12345678", "12345678",
        BigDecimal.TEN, AmexLocale.EN, AmexFormaPagamento
            .newPagamentoParceladoJurosLojista(2,
                AmexTipoCartao.AMERICA_EXPRESS));
    AmexDadosAutorizacaoPagamento amexDadosAutorizacaoPagamento = new AmexSolicitaAutorizacaoPagamento(
        amexCheckout).handle();
View Full Code Here

TOP

Related Classes of br.com.caelum.stella.gateway.amex.AmexCheckout

Copyright © 2018 www.massapicom. 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.