public void Test_010_Amex_Sale()
        {
            Logger.AppendText("\r\nTest_010_Amex_Sale");

            Transaction response = AmexToken.Charge(13.5m)
                                   .WithCurrency("USD")
                                   .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);
        }
        public void Test_025_AMEX_Internet()
        {
            Logger.AppendText("\r\nTest_025_AMEX_Internet");

            MasterCardManual.ThreeDSecure = new ThreeDSecure {
                Eci = "5",
                AuthenticationValue = "12345678901234567890123456789012345678901234567890123456789012345678901234567890"
            };

            Transaction response = AmexToken.Charge(32.02m)
                                   .WithCurrency("USD")
                                   .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);
        }
        public void Test_014_Amex_Sale()
        {
            Logger.AppendText("\r\nTest_014_Amex_Sale");

            Transaction response = AmexToken.Charge(4m)
                                   .WithCurrency("USD")
                                   .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);


            Logger.AppendText("\r\nTest_021_Full_Void");

            Transaction voidResponse = response.Void().Execute();

            Assert.IsNotNull(voidResponse);
            Assert.AreEqual("00", voidResponse.ResponseCode);
        }
        public void Test_003_Amex_Level_II_Sale()
        {
            Logger.AppendText("\r\nTest_003_Amex_Level_II_Sale");

            var commercialData = new CommercialData(TaxType.NOTUSED)
            {
                SupplierReferenceNumber = "123456",
                CustomerReferenceId     = "987654",
                DestinationPostalCode   = "85284",
                Description             = "AMEX LEVEL 2 TEST CASE"
            };

            Transaction response = AmexToken.Charge(1.5m)
                                   .WithCurrency("USD")
                                   .WithCommercialData(commercialData)
                                   .Execute();

            Assert.IsNotNull(response);
            Assert.AreEqual("00", response.ResponseCode);
        }