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

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

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