コード例 #1
0
 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);
 }