developer:soap-1.3:methods:searchproducts

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
developer:soap-1.3:methods:searchproducts [2010/09/01 16:41]
irina
developer:soap-1.3:methods:searchproducts [2010/10/12 16:41] (current)
irina
Line 140: Line 140:
 ==== VB ==== ==== VB ====
 <code vb> <code vb>
-  ​Dim client ​As usaepay.usaepayService ​= New usaepay.usaepayService +Dim MatchAll As Boolean 
-  Dim token As usaepay.ueSecurityToken+        MatchAll = False 
 +        Dim searchParams(1) ​As usaepay.SearchParam 
 +        searchParams(0) ​= New usaepay.SearchParam 
 +        ​searchParams(0).Field = "​Created"​ 
 +        searchParams(0).Type = "​gt"​ 
 +        searchParams(0).Value = "​2010-09-07"​
  
-  token Me.CreateToken("982lz9VsLm87MA54Sv8E582h8OZMArL6", "443311")+        Dim SearchResults As usaepay.ProductSearchResult ​New usaepay.ProductSearchResult 
 +        SearchResults = client.searchProducts(token, searchParams,​ MatchAll, "​0", ​"1000", "created")
  
-  Dim MatchAll As Boolean +        ​MsgBox(SearchResults.ProductsMatched)
- +
-  MatchAll = False +
- +
-  Dim searchParams(1) As usaepay.SearchParam +
-    searchParams(0) = New usaepay.SearchParam +
-    searchParams(0).Field = "​Created"​ +
-    searchParams(0).Type = "​eq"​ +
-    searchParams(0).Value = "​2009-02-19"​ +
- +
-  Dim SearchResults As usaepay.TransactionSearchResult = New usaepay.TransactionSearchResult +
-  SearchResults = client.searchTransactions(token,​ searchParams,​ MatchAll, 0, 1000, "​created"​) +
- +
-  ​MsgBox(SearchResults.TransactionsMatched)+
 </​code>​ </​code>​
  
developer/soap-1.3/methods/searchproducts.txt · Last modified: 2010/10/12 16:41 by irina

Page Tools