public static PaymentExecution GetPaymentExecution()
        {
            var transactions = new List <Transaction>
            {
                TransactionTest.GetTransaction()
            };
            PaymentExecution execution = new PaymentExecution
            {
                payer_id     = PayerInfoTest.GetPayerInfo().payer_id,
                transactions = transactions
            };

            return(execution);
        }
        public static Payer GetPayerUsingCreditCard()
        {
            var fundingInstrumentList = new List <FundingInstrument>
            {
                FundingInstrumentTest.GetFundingInstrument()
            };
            var pay = new Payer
            {
                funding_instruments = fundingInstrumentList,
                payer_info          = PayerInfoTest.GetPayerInfo()
            };

            pay.payer_info.phone = null;
            pay.payment_method   = "credit_card";
            return(pay);
        }