public void SimpleSaleWithPayPal()
 {
     Sale saleObj = new Sale();
     saleObj.Amount = 106;
     saleObj.LitleTxnId = 123456;
     saleObj.OrderId = "12344";
     saleObj.OrderSource = OrderSourceType.Ecommerce;
     PayPal payPalObj = new PayPal();
     payPalObj.PayerId = "1234";
     payPalObj.Token = "1234";
     payPalObj.TransactionId = "123456";
     saleObj.Paypal = payPalObj;
     SaleResponse responseObj = litle.Sale(saleObj);
     StringAssert.AreEqualIgnoringCase("Approved", responseObj.Message);
 }
        public void SimpleCreditWithPaypal()
        {
            Credit creditObj = new Credit();
            creditObj.Amount = 106;
            creditObj.OrderId = "123456";
            creditObj.OrderSource = OrderSourceType.Ecommerce;
            PayPal payPalObj = new PayPal();
            payPalObj.PayerId = "1234";

            creditObj.Paypal = payPalObj;

            CreditResponse response = litle.Credit(creditObj);
            Assert.AreEqual("Approved", response.Message);
        }