Ejemplo n.º 1
0
 private litleOnlineRequest createLitleOnlineRequest()
 {
     litleOnlineRequest request = new litleOnlineRequest();
     request.merchantId = config["merchantId"];
     request.merchantSdk = "DotNet;9.10.0";
     authentication authentication = new authentication();
     authentication.password = config["password"];
     authentication.user = config["username"];
     request.authentication = authentication;
     return request;
 }
Ejemplo n.º 2
0
        private void initializeRequest()
        {
            communication = new Communications();

            authentication = new authentication();
            authentication.user = config["username"];
            authentication.password = config["password"];

            requestDirectory = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            litleXmlSerializer = new litleXmlSerializer();
            litleTime = new litleTime();
            litleFile = new litleFile();
        }