Package com.mes.sdk.gateway

Examples of com.mes.sdk.gateway.GatewayResponse


        .cardData(
          new CcData()
            .setCcNum("4012888812348882")
        )
        .setParameter("client_reference_number", "Java SDK Test");
      GatewayResponse tResponse = gateway.run(tRequest);
      System.out.println(tResponse);
     
      GatewayRequest dRequest = new GatewayRequest(TransactionType.DETOKENIZE)
        .cardData(
          new CcData()
            .setToken(tResponse.getResponseValue("transaction_id"))
        )
        .setParameter("client_reference_number", "Java SDK Test");
      GatewayResponse dResponse = gateway.run(dRequest);
      LOG.log(Level.INFO, dResponse.toString());
    } catch (MesRuntimeException e) {
      e.printStackTrace();
    }
   
  }
View Full Code Here


              .setCvv("123")
          )
        .amount("0.3")
        .setParameter("invoice_number", "123456")
        .setParameter("client_reference_number", "Java SDK Test");
      GatewayResponse pResponse = gateway.run(pRequest);
      LOG.log(Level.INFO, pResponse.toString());
    } catch (MesRuntimeException e) {
      e.printStackTrace();
    }
   
  }
View Full Code Here

TOP

Related Classes of com.mes.sdk.gateway.GatewayResponse

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.