Braintree.Tests.Integration.CustomerIntegrationTest.Find_IncludesApplePayCardsInPaymentMethods C# (CSharp) Метод

Find_IncludesApplePayCardsInPaymentMethods() приватный Метод

private Find_IncludesApplePayCardsInPaymentMethods ( ) : void
Результат void
        public void Find_IncludesApplePayCardsInPaymentMethods()
        {
            var createRequest = new CustomerRequest
            {
                PaymentMethodNonce = Nonce.ApplePayAmex
            };
            Customer createdCustomer = gateway.Customer.Create(createRequest).Target;
            Customer customer = gateway.Customer.Find(createdCustomer.Id);
            Assert.IsNotNull(customer.ApplePayCards);
            Assert.IsNotNull(customer.PaymentMethods);
            ApplePayCard card = customer.ApplePayCards[0];
            Assert.IsNotNull(card.Token);
            Assert.AreEqual(card, customer.PaymentMethods[0]);
        }
CustomerIntegrationTest