developer:soap-1.3:methods:getreceipt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap-1.3:methods:getreceipt [2010/08/09 14:17]
epouchak
developer:soap-1.3:methods:getreceipt [2010/10/13 15:48]
irina
Line 66: Line 66:
 For directions on how to set up the web reference and create "​token"​ and "​client"​ variables, go to the  [[..:​howto:​vb|VB Soap How-to]]. For directions on how to set up the web reference and create "​token"​ and "​client"​ variables, go to the  [[..:​howto:​vb|VB Soap How-to]].
 <code vb> <code vb>
 +Dim receipt As usaepay.Receipt
 +        Dim receiptNum As String
 +        receiptNum = "​2"​
 +        receipt = client.getReceipt(token,​ receiptNum)
 +        MsgBox(receipt.Name)
  
-    Dim receipt As usaepay.Receipt+</​code>​
  
-    ​receipt = client.getReceipt(token, 1)+==== .NET C# ==== 
 +<code c> 
 +string receiptNumber = "​3";​ 
 +            usaepay.Receipt ​receipt = new usaepay.Receipt();
  
 +            try
 +            {
 +                receipt = client.getReceipt(token,​ receiptNumber);​
 +                MessageBox.Show(string.Concat(receipt.Name));​
 +
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 </​code>​ </​code>​
 +
 ==== XML (RPC/​Encoded) ==== ==== XML (RPC/​Encoded) ====
 Request: Request:
developer/soap-1.3/methods/getreceipt.txt · Last modified: 2010/10/13 15:48 by irina

Page Tools