Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            string host      = "esqa.moneris.com";
            string store_id  = args[0];
            string api_token = args[1];
            string ecr_no    = args[2];

            ErnexHttpsPostRequest mpgReq =
                new ErnexHttpsPostRequest(host, store_id, api_token,
                                          new ErnexOpentotals(ecr_no));

            try
            {
                ErnexReceipt receipt = mpgReq.GetReceipt();
                Console.WriteLine("ReceiptId = " + receipt.GetReceiptId());

                if ((receipt.GetReceiptId()).Equals("Global Error Receipt"))
                {
                    Console.WriteLine("TransType = " + receipt.GetTransType());
                    Console.WriteLine("ResponseCode = " + receipt.GetResponseCode());
                    Console.WriteLine("Message = " + receipt.GetMessage());
                    Console.WriteLine("Complete = " + receipt.GetComplete());
                    Console.WriteLine("TransDate = " + receipt.GetTransDate());
                    Console.WriteLine("TransTime = " + receipt.GetTransTime());
                    Console.WriteLine("TimedOut = " + receipt.GetTimedOut());
                }
                else
                {
                    foreach (string term_id in receipt.GetTerminalIDs())
                    {
                        Console.WriteLine("Terminal = " + term_id);
                        Console.WriteLine("Closed = " + receipt.GetClosed(term_id) + "\n");

                        foreach (string cardCode in receipt.GetEcrCardCodes(term_id))
                        {
                            Console.WriteLine("CardCode = " + cardCode);
                            Console.WriteLine("PurchaseCount = " + receipt.GetPurchaseCount(term_id, cardCode));
                            Console.WriteLine("PurchaseTotal = " + receipt.GetPurchaseTotal(term_id, cardCode));
                            Console.WriteLine("PurchaseBenefitTotal = " + receipt.GetPurchaseBenefitTotal(term_id, cardCode));
                            Console.WriteLine("RefundCount = " + receipt.GetRefundCount(term_id, cardCode));
                            Console.WriteLine("RefundTotal = " + receipt.GetRefundTotal(term_id, cardCode));
                            Console.WriteLine("RefundBenefitTotal = " + receipt.GetRefundBenefitTotal(term_id, cardCode));
                            Console.WriteLine("RedemptionCount = " + receipt.GetRedemptionCount(term_id, cardCode));
                            Console.WriteLine("RedemptionTotal = " + receipt.GetRedemptionTotal(term_id, cardCode));
                            Console.WriteLine("RedemptionBenefitTotal = " + receipt.GetRedemptionBenefitTotal(term_id, cardCode));
                            Console.WriteLine("ActivationCount = " + receipt.GetActivationCount(term_id, cardCode));
                            Console.WriteLine("ActivationTotal = " + receipt.GetActivationTotal(term_id, cardCode));
                            Console.WriteLine("CorrectionCount = " + receipt.GetCorrectionCount(term_id, cardCode));
                            Console.WriteLine("CorrectionTotal = " + receipt.GetCorrectionTotal(term_id, cardCode));
                            Console.WriteLine("Error Code = " + receipt.GetErrorCode());
                            Console.WriteLine("Error Message = " + receipt.GetErrorMessage() + "\n");
                        }
                    }
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
Ejemplo n.º 2
0
        public static void Main(string[] args)
        {
            string host          = "esqa.moneris.com";
            string store_id      = args[0];
            string api_token     = args[1];
            string order_id      = args[2];
            string txn_number    = args[3];
            string group_ref_num = args[4];
            string group_type    = args[5];

            ErnexHttpsPostRequest mpgReq =
                new ErnexHttpsPostRequest(host, store_id, api_token,
                                          new Group(order_id, txn_number, group_ref_num, group_type));

            try
            {
                ErnexReceipt receipt = mpgReq.GetReceipt();

                Console.WriteLine("ReceiptId = " + receipt.GetReceiptId());
                Console.WriteLine("ResponseCode = " + receipt.GetResponseCode());
                Console.WriteLine("TransTime = " + receipt.GetTransTime());
                Console.WriteLine("TransDate = " + receipt.GetTransDate());
                Console.WriteLine("TransType = " + receipt.GetTransType());
                Console.WriteLine("Complete = " + receipt.GetComplete());
                Console.WriteLine("Message = " + receipt.GetMessage());
                Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber());
                Console.WriteLine("TimedOut = " + receipt.GetTimedOut());
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
        public static void Main(string[] args)
        {
            string host      = "esqa.moneris.com";
            string store_id  = args[0];
            string api_token = args[1];
            string order_id  = args[2];
            //string cust_id = "customer1";  //optional
            string total_amount = args[3];
            string track2       = "";
            string statusCheck  = "false";

            //Console.WriteLine("Please swipe card");
            //track1 = Console.ReadLine();
            //track2 = Console.ReadLine();

            string pan           = args[4];
            string expdate       = args[5];
            string language_code = args[6];

            string cvd_value    = "";
            string info         = "";
            string payment_type = "";

            ErnexGiftPurchase ernexGiftPurchase = new ErnexGiftPurchase(order_id, total_amount, track2, pan, expdate, language_code);

            ernexGiftPurchase.SetCvdValue(cvd_value);       //optional
            ernexGiftPurchase.SetInfo(info);                //optional
            ernexGiftPurchase.SetPaymentType(payment_type); //optional

            //Standard Constructor
            //ErnexHttpsPostRequest mpgReq = new ErnexHttpsPostRequest(host, store_id, api_token, ernexGiftPurchase);

            //StatusCheck Constructor
            ErnexHttpsPostRequest mpgReq = new ErnexHttpsPostRequest(host, store_id, api_token, statusCheck, ernexGiftPurchase);


            try
            {
                ErnexReceipt receipt = mpgReq.GetReceipt();
                //********************TWO NEW METHODS*****************************
                Console.WriteLine("ExceptionMessage = " + receipt.GetExceptionMsg() + "\n");
                //****************************************************************

                Console.WriteLine("ReceiptId = " + receipt.GetReceiptId());
                Console.WriteLine("ResponseCode = " + receipt.GetResponseCode());
                Console.WriteLine("HostReferenceNum = " + receipt.GetHostReferenceNum());
                Console.WriteLine("TransTime = " + receipt.GetTransTime());
                Console.WriteLine("TransDate = " + receipt.GetTransDate());
                Console.WriteLine("TransType = " + receipt.GetTransType());
                Console.WriteLine("Message = " + receipt.GetMessage());
                Console.WriteLine("TransCardCode = " + receipt.GetTransCardCode());
                Console.WriteLine("TransCardType = " + receipt.GetTransCardType());
                Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber());
                Console.WriteLine("TimedOut = " + receipt.GetTimedOut());
                Console.WriteLine("HostTotals = " + receipt.GetHostTotals());
                Console.WriteLine("DisplayText = " + receipt.GetDisplayText());
                Console.WriteLine("ReceiptText = " + receipt.GetReceiptText());
                Console.WriteLine("CardHolderName = " + receipt.GetCardHolderName());
                Console.WriteLine("VoucherType = " + receipt.GetVoucherType());
                Console.WriteLine("VoucherText = " + receipt.GetVoucherText());
                Console.WriteLine("InitialAmount = " + receipt.GetInitialAmount());
                Console.WriteLine("InitialBalance = " + receipt.GetInitialBalance());
                Console.WriteLine("BatchNo = " + receipt.GetBatchNo());
                Console.WriteLine("CurrentBalance = " + receipt.GetCurrentBalance());
                Console.WriteLine("Benefit = " + receipt.GetBenefit());
                Console.WriteLine("Language = " + receipt.GetLanguage());
                Console.WriteLine("Error Code = " + receipt.GetErrorCode());
                Console.WriteLine("Error Message = " + receipt.GetErrorMessage());
                Console.WriteLine("ActivationCharge = " + receipt.GetActivationCharge());
                Console.WriteLine("RemainingBalance = " + receipt.GetRemainingBalance());
                Console.WriteLine("CardStatus = " + receipt.GetCardStatus());
                Console.WriteLine("StatusCode = " + receipt.GetStatusCode());
                Console.WriteLine("StatusMessage = " + receipt.GetStatusMessage());

                foreach (string cardCode in receipt.GetCardCodes())
                {
                    Console.WriteLine("cardCode = " + cardCode);
                    Console.WriteLine("CardCardType = " + receipt.GetCardCardType(cardCode));
                    Console.WriteLine("CheckMod10 = " + receipt.GetCheckMod10(cardCode));
                    Console.WriteLine("CheckLanguage = " + receipt.GetCheckLanguage(cardCode));
                    Console.WriteLine("CVCPrompt = " + receipt.GetCVCPrompt(cardCode));
                    Console.WriteLine("InfoPrompt = " + receipt.GetInfoPrompt(cardCode));
                    Console.WriteLine("InitialAmountPrompt = " + receipt.GetInitialAmountPrompt(cardCode));
                    Console.WriteLine("RefundAllowed = " + receipt.GetRefundAllowed(cardCode));
                    Console.WriteLine("CardLengthMinimum = " + receipt.GetCardLengthMinimum(cardCode));
                    Console.WriteLine("CardLengthMaximum = " + receipt.GetCardLengthMaximum(cardCode));
                    Console.WriteLine("LowBIN1 = " + receipt.GetLowBIN1(cardCode));
                    Console.WriteLine("HighBIN1 = " + receipt.GetHighBIN1(cardCode));
                    Console.WriteLine("LowBIN2 = " + receipt.GetLowBIN2(cardCode));
                    Console.WriteLine("HighBIN2 = " + receipt.GetHighBIN2(cardCode));
                    Console.WriteLine("LowBIN3 = " + receipt.GetLowBIN3(cardCode));
                    Console.WriteLine("HighBIN3 = " + receipt.GetHighBIN3(cardCode));
                    Console.WriteLine("LowBIN4 = " + receipt.GetLowBIN4(cardCode));
                    Console.WriteLine("HighBIN4 = " + receipt.GetHighBIN4(cardCode) + "\n");

                    foreach (string recordType in receipt.GetRecordType(cardCode))
                    {
                        Console.WriteLine("recordType = " + recordType);
                        Console.WriteLine("CardDescription = " + receipt.GetCardDescription(cardCode, recordType));
                        Console.WriteLine("InfoPromptText = " + receipt.GetInfoPromptText(cardCode, recordType));
                    }
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
        public static void Main(string[] args)
        {
            string host      = "esqa.moneris.com";
            string store_id  = "monca00001";
            string api_token = "giftguy";
            string track2    = args[0];

            if (track2.Contains("" + (char)0x1D))
            {
                track2 = track2.Substring(track2.IndexOf((char)0x1D) + 1);
            }
            if (track2.Contains("" + (char)0x1C))
            {
                track2 = track2.Substring(0, track2.IndexOf((char)0x1C));
            }
            //Console.WriteLine("Please swipe card");
            //track1 = Console.ReadLine();
            //track2 = Console.ReadLine();
            string pan     = "0311040000001000234";
            string expdate = "1111";

            ErnexHttpsPostRequest mpgReq =
                new ErnexHttpsPostRequest(host, store_id, api_token,
                                          new EncErnexCardDataInq(track2));

            try
            {
                ErnexReceipt receipt = mpgReq.GetReceipt();

                Console.WriteLine("ReceiptId = " + receipt.GetReceiptId());
                Console.WriteLine("ResponseCode = " + receipt.GetResponseCode());
                Console.WriteLine("HostReferenceNum = " + receipt.GetHostReferenceNum());
                Console.WriteLine("TransTime = " + receipt.GetTransTime());
                Console.WriteLine("TransDate = " + receipt.GetTransDate());
                Console.WriteLine("TransType = " + receipt.GetTransType());
                Console.WriteLine("Message = " + receipt.GetMessage());
                Console.WriteLine("TransCardCode = " + receipt.GetTransCardCode());
                Console.WriteLine("TransCardType = " + receipt.GetTransCardType());
                Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber());
                Console.WriteLine("TimedOut = " + receipt.GetTimedOut());
                Console.WriteLine("HostTotals = " + receipt.GetHostTotals());
                Console.WriteLine("DisplayText = " + receipt.GetDisplayText());
                Console.WriteLine("ReceiptText = " + receipt.GetReceiptText());
                Console.WriteLine("CardHolderName = " + receipt.GetCardHolderName());
                Console.WriteLine("VoucherType = " + receipt.GetVoucherType());
                Console.WriteLine("VoucherText = " + receipt.GetVoucherText());
                Console.WriteLine("InitialAmount = " + receipt.GetInitialAmount());
                Console.WriteLine("InitialBalance = " + receipt.GetInitialBalance());
                Console.WriteLine("BatchNo = " + receipt.GetBatchNo());
                Console.WriteLine("CurrentBalance = " + receipt.GetCurrentBalance());
                Console.WriteLine("Benefit = " + receipt.GetBenefit());
                Console.WriteLine("Language = " + receipt.GetLanguage());
                Console.WriteLine("Error Code = " + receipt.GetErrorCode());
                Console.WriteLine("Error Message = " + receipt.GetErrorMessage());
                Console.WriteLine("ActivationCharge = " + receipt.GetActivationCharge());
                Console.WriteLine("RemainingBalance = " + receipt.GetRemainingBalance());
                Console.WriteLine("CardStatus = " + receipt.GetCardStatus());

                foreach (string cardCode in receipt.GetCardCodes())
                {
                    Console.WriteLine("cardCode = " + cardCode);
                    Console.WriteLine("CardCardType = " + receipt.GetCardCardType(cardCode));
                    Console.WriteLine("CheckMod10 = " + receipt.GetCheckMod10(cardCode));
                    Console.WriteLine("CheckLanguage = " + receipt.GetCheckLanguage(cardCode));
                    Console.WriteLine("CVCPrompt = " + receipt.GetCVCPrompt(cardCode));
                    Console.WriteLine("InfoPrompt = " + receipt.GetInfoPrompt(cardCode));
                    Console.WriteLine("InitialAmountPrompt = " + receipt.GetInitialAmountPrompt(cardCode));
                    Console.WriteLine("RefundAllowed = " + receipt.GetRefundAllowed(cardCode));
                    Console.WriteLine("CardLengthMinimum = " + receipt.GetCardLengthMinimum(cardCode));
                    Console.WriteLine("CardLengthMaximum = " + receipt.GetCardLengthMaximum(cardCode));
                    Console.WriteLine("LowBIN1 = " + receipt.GetLowBIN1(cardCode));
                    Console.WriteLine("HighBIN1 = " + receipt.GetHighBIN1(cardCode));
                    Console.WriteLine("LowBIN2 = " + receipt.GetLowBIN2(cardCode));
                    Console.WriteLine("HighBIN2 = " + receipt.GetHighBIN2(cardCode));
                    Console.WriteLine("LowBIN3 = " + receipt.GetLowBIN3(cardCode));
                    Console.WriteLine("HighBIN3 = " + receipt.GetHighBIN3(cardCode));
                    Console.WriteLine("LowBIN4 = " + receipt.GetLowBIN4(cardCode));
                    Console.WriteLine("HighBIN4 = " + receipt.GetHighBIN4(cardCode) + "\n");

                    foreach (string recordType in receipt.GetRecordType(cardCode))
                    {
                        Console.WriteLine("recordType = " + recordType);
                        Console.WriteLine("CardDescription = " + receipt.GetCardDescription(cardCode, recordType));
                        Console.WriteLine("InfoPromptText = " + receipt.GetInfoPromptText(cardCode, recordType));
                    }
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
        public static void Main(string[] args)
        {
            string host      = "esqa.moneris.com";
            string store_id  = args[0];
            string api_token = args[1];
            string order_id  = args[2];
            //string cust_id = "customer1";  //optional
            string total_amount = args[3];
            string track2       = "";

            if (track2.Contains("" + (char)0x1D))
            {
                track2 = track2.Substring(track2.IndexOf((char)0x1D) + 1);
            }
            if (track2.Contains("" + (char)0x1C))
            {
                track2 = track2.Substring(0, track2.IndexOf((char)0x1C));
            }
            //Console.WriteLine("Please swipe card");
            //track1 = Console.ReadLine();
            //track2 = Console.ReadLine();

            string cvd_value      = args[4];
            string language_code  = args[5];
            string info           = args[6];
            string benefit_amount = args[7];
            string payment_type   = args[8];


            EncErnexLoyaltyPurchase ernexLoyaltyPurchase = new EncErnexLoyaltyPurchase(order_id, total_amount, track2,
                                                                                       language_code, benefit_amount, payment_type);

            ernexLoyaltyPurchase.SetCvdValue(cvd_value); //optional
            ernexLoyaltyPurchase.SetInfo(info);          //optional

            ErnexHttpsPostRequest mpgReq = new ErnexHttpsPostRequest(host, store_id, api_token, ernexLoyaltyPurchase);

            try
            {
                ErnexReceipt receipt = mpgReq.GetReceipt();

                Console.WriteLine("ReceiptId = " + receipt.GetReceiptId());
                Console.WriteLine("ResponseCode = " + receipt.GetResponseCode());
                Console.WriteLine("HostReferenceNum = " + receipt.GetHostReferenceNum());
                Console.WriteLine("TransTime = " + receipt.GetTransTime());
                Console.WriteLine("TransDate = " + receipt.GetTransDate());
                Console.WriteLine("TransType = " + receipt.GetTransType());
                Console.WriteLine("Message = " + receipt.GetMessage());
                Console.WriteLine("TransCardCode = " + receipt.GetTransCardCode());
                Console.WriteLine("TransCardType = " + receipt.GetTransCardType());
                Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber());
                Console.WriteLine("TimedOut = " + receipt.GetTimedOut());
                Console.WriteLine("HostTotals = " + receipt.GetHostTotals());
                Console.WriteLine("DisplayText = " + receipt.GetDisplayText());
                Console.WriteLine("ReceiptText = " + receipt.GetReceiptText());
                Console.WriteLine("CardHolderName = " + receipt.GetCardHolderName());
                Console.WriteLine("VoucherType = " + receipt.GetVoucherType());
                Console.WriteLine("VoucherText = " + receipt.GetVoucherText());
                Console.WriteLine("InitialAmount = " + receipt.GetInitialAmount());
                Console.WriteLine("InitialBalance = " + receipt.GetInitialBalance());
                Console.WriteLine("BatchNo = " + receipt.GetBatchNo());
                Console.WriteLine("CurrentBalance = " + receipt.GetCurrentBalance());
                Console.WriteLine("LifetimeBalance = " + receipt.GetLifetimeBalance());
                Console.WriteLine("Benefit = " + receipt.GetBenefit());
                Console.WriteLine("Language = " + receipt.GetLanguage());
                Console.WriteLine("Error Code = " + receipt.GetErrorCode());
                Console.WriteLine("Error Message = " + receipt.GetErrorMessage());
                Console.WriteLine("ActivationCharge = " + receipt.GetActivationCharge());
                Console.WriteLine("RemainingBalance = " + receipt.GetRemainingBalance());
                Console.WriteLine("CardStatus = " + receipt.GetCardStatus());

                foreach (string cardCode in receipt.GetCardCodes())
                {
                    Console.WriteLine("cardCode = " + cardCode);
                    Console.WriteLine("CardCardType = " + receipt.GetCardCardType(cardCode));
                    Console.WriteLine("CheckMod10 = " + receipt.GetCheckMod10(cardCode));
                    Console.WriteLine("CheckLanguage = " + receipt.GetCheckLanguage(cardCode));
                    Console.WriteLine("AmountPrompt = " + receipt.GetAmountPrompt(cardCode));
                    Console.WriteLine("BenefitPrompt = " + receipt.GetBenefitPrompt(cardCode));
                    Console.WriteLine("CVCPrompt = " + receipt.GetCVCPrompt(cardCode));
                    Console.WriteLine("InfoPrompt = " + receipt.GetInfoPrompt(cardCode));
                    Console.WriteLine("InitialAmountPrompt = " + receipt.GetInitialAmountPrompt(cardCode));
                    Console.WriteLine("RefundAllowed = " + receipt.GetRefundAllowed(cardCode));
                    Console.WriteLine("CardLengthMinimum = " + receipt.GetCardLengthMinimum(cardCode));
                    Console.WriteLine("CardLengthMaximum = " + receipt.GetCardLengthMaximum(cardCode));
                    Console.WriteLine("LowBIN1 = " + receipt.GetLowBIN1(cardCode));
                    Console.WriteLine("HighBIN1 = " + receipt.GetHighBIN1(cardCode));
                    Console.WriteLine("LowBIN2 = " + receipt.GetLowBIN2(cardCode));
                    Console.WriteLine("HighBIN2 = " + receipt.GetHighBIN2(cardCode));
                    Console.WriteLine("LowBIN3 = " + receipt.GetLowBIN3(cardCode));
                    Console.WriteLine("HighBIN3 = " + receipt.GetHighBIN3(cardCode));
                    Console.WriteLine("LowBIN4 = " + receipt.GetLowBIN4(cardCode));
                    Console.WriteLine("HighBIN4 = " + receipt.GetHighBIN4(cardCode) + "\n");

                    foreach (string recordType in receipt.GetRecordType(cardCode))
                    {
                        Console.WriteLine("recordType = " + recordType);
                        Console.WriteLine("CardDescription = " + receipt.GetCardDescription(cardCode, recordType));
                        Console.WriteLine("BenefitDescription = " + receipt.GetBenefitDescription(cardCode, recordType));
                        Console.WriteLine("BenefitPromptText = " + receipt.GetBenefitPromptText(cardCode, recordType));
                        Console.WriteLine("AmountPromptText = " + receipt.GetAmountPromptText(cardCode, recordType));
                        Console.WriteLine("InfoPromptText = " + receipt.GetInfoPromptText(cardCode, recordType));
                        Console.WriteLine("InfoPromptText = " + receipt.GetInfoPromptText(cardCode, recordType));
                    }
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
Ejemplo n.º 6
0
        public static void Main(string[] args)
        {
            string host      = "esqa.moneris.com";
            string store_id  = args[0];
            string api_token = args[1];
            string ecr_no    = args[2];

            ErnexHttpsPostRequest mpgReq =
                new ErnexHttpsPostRequest(host, store_id, api_token,
                                          new ErnexInitialization(ecr_no));

            try
            {
                ErnexReceipt receipt = mpgReq.GetReceipt();

                Console.WriteLine("ReceiptId = " + receipt.GetReceiptId());
                Console.WriteLine("ResponseCode = " + receipt.GetResponseCode());
                Console.WriteLine("HostReferenceNum = " + receipt.GetHostReferenceNum());
                Console.WriteLine("TransTime = " + receipt.GetTransTime());
                Console.WriteLine("TransDate = " + receipt.GetTransDate());
                Console.WriteLine("TransType = " + receipt.GetTransType());
                Console.WriteLine("Message = " + receipt.GetMessage());
                Console.WriteLine("TransCardCode = " + receipt.GetTransCardCode());
                Console.WriteLine("TransCardType = " + receipt.GetTransCardType());
                Console.WriteLine("TxnNumber = " + receipt.GetTxnNumber());
                Console.WriteLine("TimedOut = " + receipt.GetTimedOut());
                Console.WriteLine("HostTotals = " + receipt.GetHostTotals());
                Console.WriteLine("DisplayText = " + receipt.GetDisplayText());
                Console.WriteLine("ReceiptText = " + receipt.GetReceiptText());
                Console.WriteLine("CardHolderName = " + receipt.GetCardHolderName());
                Console.WriteLine("VoucherType = " + receipt.GetVoucherType());
                Console.WriteLine("VoucherText = " + receipt.GetVoucherText());
                Console.WriteLine("InitialAmount = " + receipt.GetInitialAmount());
                Console.WriteLine("InitialBalance = " + receipt.GetInitialBalance());
                Console.WriteLine("BatchNo = " + receipt.GetBatchNo());
                Console.WriteLine("CurrentBalance = " + receipt.GetCurrentBalance());
                Console.WriteLine("Benefit = " + receipt.GetBenefit());
                Console.WriteLine("Language = " + receipt.GetLanguage());
                Console.WriteLine("Error Code = " + receipt.GetErrorCode());
                Console.WriteLine("Error Message = " + receipt.GetErrorMessage());
                Console.WriteLine("ActivationCharge = " + receipt.GetActivationCharge());
                Console.WriteLine("RemainingBalance = " + receipt.GetRemainingBalance());
                Console.WriteLine("CardStatus = " + receipt.GetCardStatus());

                foreach (string cardCode in receipt.GetCardCodes())
                {
                    Console.WriteLine("cardCode = " + cardCode);
                    Console.WriteLine("CardCardType = " + receipt.GetCardCardType(cardCode));
                    Console.WriteLine("CheckMod10 = " + receipt.GetCheckMod10(cardCode));
                    Console.WriteLine("CheckLanguage = " + receipt.GetCheckLanguage(cardCode));
                    Console.WriteLine("CVCPrompt = " + receipt.GetCVCPrompt(cardCode));
                    Console.WriteLine("InfoPrompt = " + receipt.GetInfoPrompt(cardCode));
                    Console.WriteLine("InitialAmountPrompt = " + receipt.GetInitialAmountPrompt(cardCode));
                    Console.WriteLine("RefundAllowed = " + receipt.GetRefundAllowed(cardCode));
                    Console.WriteLine("CardLengthMinimum = " + receipt.GetCardLengthMinimum(cardCode));
                    Console.WriteLine("CardLengthMaximum = " + receipt.GetCardLengthMaximum(cardCode));
                    Console.WriteLine("LowBIN1 = " + receipt.GetLowBIN1(cardCode));
                    Console.WriteLine("HighBIN1 = " + receipt.GetHighBIN1(cardCode));
                    Console.WriteLine("LowBIN2 = " + receipt.GetLowBIN2(cardCode));
                    Console.WriteLine("HighBIN2 = " + receipt.GetHighBIN2(cardCode));
                    Console.WriteLine("LowBIN3 = " + receipt.GetLowBIN3(cardCode));
                    Console.WriteLine("HighBIN3 = " + receipt.GetHighBIN3(cardCode));
                    Console.WriteLine("LowBIN4 = " + receipt.GetLowBIN4(cardCode));
                    Console.WriteLine("HighBIN4 = " + receipt.GetHighBIN4(cardCode) + "\n");

                    foreach (string recordType in receipt.GetRecordType(cardCode))
                    {
                        Console.WriteLine("recordType = " + recordType);
                        Console.WriteLine("CardDescription = " + receipt.GetCardDescription(cardCode, recordType));
                        Console.WriteLine("InfoPromptText = " + receipt.GetInfoPromptText(cardCode, recordType));
                    }
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }