Exemplo n.º 1
0
        private void initializeRequest()
        {
            requestDirectory  = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            litleFile = new litleFile();
            litleTime = new litleTime();

            numAuthorization        = 0;
            numAuthReversal         = 0;
            numCapture              = 0;
            numCaptureGivenAuth     = 0;
            numCredit               = 0;
            numEcheckCredit         = 0;
            numEcheckRedeposit      = 0;
            numEcheckSale           = 0;
            numEcheckVerification   = 0;
            numForceCapture         = 0;
            numRegisterTokenRequest = 0;
            numSale = 0;
            numUpdateCardValidationNumOnToken = 0;
            numUpdateSubscriptions            = 0;
            numCancelSubscriptions            = 0;

            sumOfAuthorization      = 0;
            sumOfAuthReversal       = 0;
            sumOfCapture            = 0;
            sumOfCredit             = 0;
            sumOfSale               = 0;
            sumOfForceCapture       = 0;
            sumOfEcheckSale         = 0;
            sumOfEcheckCredit       = 0;
            sumOfEcheckVerification = 0;
            sumOfCaptureGivenAuth   = 0;
        }
Exemplo n.º 2
0
        public RFRRequest()
        {
            config = new Dictionary <String, String>();

            config["url"]               = Properties.Settings.Default.url;
            config["reportGroup"]       = Properties.Settings.Default.reportGroup;
            config["username"]          = Properties.Settings.Default.username;
            config["printxml"]          = Properties.Settings.Default.printxml;
            config["timeout"]           = Properties.Settings.Default.timeout;
            config["proxyHost"]         = Properties.Settings.Default.proxyHost;
            config["merchantId"]        = Properties.Settings.Default.merchantId;
            config["password"]          = Properties.Settings.Default.password;
            config["proxyPort"]         = Properties.Settings.Default.proxyPort;
            config["sftpUrl"]           = Properties.Settings.Default.sftpUrl;
            config["sftpUsername"]      = Properties.Settings.Default.sftpUsername;
            config["sftpPassword"]      = Properties.Settings.Default.sftpPassword;
            config["knownHostsFile"]    = Properties.Settings.Default.knownHostsFile;
            config["requestDirectory"]  = Properties.Settings.Default.requestDirectory;
            config["responseDirectory"] = Properties.Settings.Default.responseDirectory;

            litleTime = new litleTime();
            litleFile = new litleFile();

            requestDirectory  = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";
        }
Exemplo n.º 3
0
        private void initializeRequest()
        {
            requestDirectory  = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            litleFile = new litleFile();
            litleTime = new litleTime();
        }
Exemplo n.º 4
0
        private string saveElement(litleFile litleFile, litleTime litleTime, string filePath, transactionRequest element)
        {
            string fPath;

            fPath = litleFile.createRandomFile(requestDirectory, Path.GetFileName(filePath), "_temp_batchRequest.xml", litleTime);

            litleFile.AppendLineToFile(fPath, element.Serialize());

            return(fPath);
        }
Exemplo n.º 5
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();
        }
Exemplo n.º 6
0
 public void setLitleFile(litleFile litleFile)
 {
     this.litleFile = litleFile;
 }
        private void initializeRequest()
        {
            requestDirectory = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            litleFile = new litleFile();
            litleTime = new litleTime();
        }
 public void setLitleFile(litleFile litleFile)
 {
     this.litleFile = litleFile;
 }
        public RFRRequest()
        {
            config = new Dictionary<String, String>();

            config["url"] = Properties.Settings.Default.url;
            config["reportGroup"] = Properties.Settings.Default.reportGroup;
            config["username"] = Properties.Settings.Default.username;
            config["printxml"] = Properties.Settings.Default.printxml;
            config["timeout"] = Properties.Settings.Default.timeout;
            config["proxyHost"] = Properties.Settings.Default.proxyHost;
            config["merchantId"] = Properties.Settings.Default.merchantId;
            config["password"] = Properties.Settings.Default.password;
            config["proxyPort"] = Properties.Settings.Default.proxyPort;
            config["sftpUrl"] = Properties.Settings.Default.sftpUrl;
            config["sftpUsername"] = Properties.Settings.Default.sftpUsername;
            config["sftpPassword"] = Properties.Settings.Default.sftpPassword;
            config["knownHostsFile"] = Properties.Settings.Default.knownHostsFile;
            config["requestDirectory"] = Properties.Settings.Default.requestDirectory;
            config["responseDirectory"] = Properties.Settings.Default.responseDirectory;

            litleTime = new litleTime();
            litleFile = new litleFile();

            requestDirectory = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";
        }
        private string saveElement(litleFile litleFile, litleTime litleTime, string filePath, transactionRequest element)
        {
            string fPath;
            fPath = litleFile.createRandomFile(requestDirectory, Path.GetFileName(filePath), "_temp_batchRequest.xml", litleTime);

            litleFile.AppendLineToFile(fPath, element.Serialize());

            return fPath;
        }
        private void initializeRequest()
        {
            requestDirectory = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            litleFile = new litleFile();
            litleTime = new litleTime();

            numAuthorization = 0;
            numAuthReversal = 0;
            numCapture = 0;
            numCaptureGivenAuth = 0;
            numCredit = 0;
            numEcheckCredit = 0;
            numEcheckRedeposit = 0;
            numEcheckPreNoteSale = 0;
            numEcheckPreNoteCredit = 0;
            numEcheckSale = 0;
            numEcheckVerification = 0;
            numForceCapture = 0;
            numRegisterTokenRequest = 0;
            numSale = 0;
            numUpdateCardValidationNumOnToken = 0;
            numUpdateSubscriptions = 0;
            numCancelSubscriptions = 0;
            numPayFacCredit = 0;
            numSubmerchantCredit = 0;
            numReserveCredit = 0;
            numVendorCredit = 0;
            numPhysicalCheckCredit = 0;
            numPayFacDebit = 0;
            numSubmerchantDebit = 0;
            numReserveDebit = 0;
            numVendorDebit = 0;
            numPhysicalCheckDebit = 0;

            sumOfAuthorization = 0;
            sumOfAuthReversal = 0;
            sumOfCapture = 0;
            sumOfCredit = 0;
            sumOfSale = 0;
            sumOfForceCapture = 0;
            sumOfEcheckSale = 0;
            sumOfEcheckCredit = 0;
            sumOfEcheckVerification = 0;
            sumOfCaptureGivenAuth = 0;
            payFacCreditAmount = 0;
            submerchantCreditAmount = 0;
            reserveCreditAmount = 0;
            vendorCreditAmount = 0;
            physicalCheckCreditAmount = 0;
            payFacDebitAmount = 0;
            submerchantDebitAmount = 0;
            reserveDebitAmount = 0;
            vendorDebitAmount = 0;
            physicalCheckDebitAmount = 0;
        }
        private void initializeRequest()
        {
            requestDirectory = config["requestDirectory"] + "\\Requests\\";
            responseDirectory = config["responseDirectory"] + "\\Responses\\";

            litleFile = new litleFile();
            litleTime = new litleTime();

            numAuthorization = 0;
            numAuthReversal = 0;
            numCapture = 0;
            numCaptureGivenAuth = 0;
            numCredit = 0;
            numEcheckCredit = 0;
            numEcheckRedeposit = 0;
            numEcheckSale = 0;
            numEcheckVerification = 0;
            numForceCapture = 0;
            numRegisterTokenRequest = 0;
            numSale = 0;
            numUpdateCardValidationNumOnToken = 0;
            numUpdateSubscriptions = 0;
            numCancelSubscriptions = 0;

            sumOfAuthorization = 0;
            sumOfAuthReversal = 0;
            sumOfCapture = 0;
            sumOfCredit = 0;
            sumOfSale = 0;
            sumOfForceCapture = 0;
            sumOfEcheckSale = 0;
            sumOfEcheckCredit = 0;
            sumOfEcheckVerification = 0;
            sumOfCaptureGivenAuth = 0;
        }
Exemplo n.º 13
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();
        }