示例#1
0
        public void Test1()
        {
            var transaction = new TransactionBuilder()
                              .AddPayment(new CreditCardModel {
                CcExp     = "0128",
                CcNumber  = "4111111111111111",
                Cvv       = "123",
                FirstName = "John",
                LastName  = "Doe"
            })
                              .AddCustomer()
                              .AsSale();

            var response = _gatewayService.Process(transaction);

            Assert.Pass();
        }