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; }
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(); }