public void complexCapture() { var capture = new capture(); capture.litleTxnId = 123456000; capture.amount = 106; capture.payPalNotes = "Notes"; var enhanceddata = new enhancedData(); enhanceddata.customerReference = "Litle"; enhanceddata.salesTax = 50; enhanceddata.deliveryType = enhancedDataDeliveryType.TBD; capture.enhancedData = enhanceddata; capture.payPalOrderComplete = true; var response = litle.Capture(capture); Assert.AreEqual("Approved", response.message); }
public void complexCapture() { capture capture = new capture(); capture.litleTxnId = 123456000; capture.amount = 106; capture.payPalNotes = "Notes"; enhancedData enhanceddata = new enhancedData(); enhanceddata.customerReference = "Litle"; enhanceddata.salesTax = 50; enhanceddata.deliveryType = enhancedDataDeliveryType.TBD; capture.enhancedData = enhanceddata; capture.payPalOrderComplete = true; captureResponse response = litle.Capture(capture); Assert.AreEqual("Approved", response.message); }