private static Payment GetPaymentUsingPayPal(string intent)
        {
            var payment = new Payment();

            payment.intent       = intent;
            payment.transactions = TransactionTest.GetTransactionList();
            payment.transactions[0].amount.details             = null;
            payment.transactions[0].payee                      = null;
            payment.transactions[0].item_list.shipping_address = null;
            payment.payer         = PayerTest.GetPayerUsingPayPal();
            payment.redirect_urls = RedirectUrlsTest.GetRedirectUrls();
            return(payment);
        }
        private static Payment GetPaymentUsingCreditCard(string intent)
        {
            var payment = new Payment();

            payment.intent       = intent;
            payment.transactions = TransactionTest.GetTransactionList();
            payment.transactions[0].amount.details = null;
            payment.transactions[0].payee          = null;
            payment.payer = PayerTest.GetPayerUsingCreditCard();
            payment.payer.payer_info.phone = null;
            payment.redirect_urls          = RedirectUrlsTest.GetRedirectUrls();
            return(payment);
        }