Braintree.Tests.Integration.CustomerIntegrationTest.Create_CreateCustomerWithCreditCardAndVerificationAmount C# (CSharp) 메소드

Create_CreateCustomerWithCreditCardAndVerificationAmount() 개인적인 메소드

        public void Create_CreateCustomerWithCreditCardAndVerificationAmount()
        {
            var createRequest = new CustomerRequest()
            {
                FirstName = "Michael",
                LastName = "Angelo",
                Company = "Some Company",
                Email = "[email protected]",
                Phone = "312.555.1111",
                Fax = "312.555.1112",
                Website = "www.example.com",
                CreditCard = new CreditCardRequest()
                {
                    Number = "5555555555554444",
                    ExpirationDate = "05/12",
                    CVV = "123",
                    CardholderName = "Michael Angelo",
                    Options = new CreditCardOptionsRequest
                    {
                        VerifyCard = true,
                        VerificationAmount = "1.02"
                    }
                }
            };

            Result<Customer> result = gateway.Customer.Create(createRequest);
            Assert.IsTrue(result.IsSuccess());
        }
CustomerIntegrationTest