Package com.mes.sdk.gateway

Examples of com.mes.sdk.gateway.GatewayRequest


      .verbose(true);
   
    gateway = new Gateway(settings);
   
    try {
      GatewayRequest tRequest = new GatewayRequest(TransactionType.TOKENIZE)
        .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");
View Full Code Here


      .verbose(true);
   
    gateway = new Gateway(settings);
   
    try {
      GatewayRequest pRequest = new GatewayRequest(TransactionType.PREAUTH)
        .cardData(
            new CcData()
              .setCcNum("4012888812348882")
              .setExpDate("12/12")
              .setCvv("123")
View Full Code Here

TOP

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

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.