|
— |
developer:soap-1.6:objects:transactionsearchresult [2012/08/04 11:46] (current) tem created |
| | + | <embed ..:contents/>====== TransactionSearchResult ====== |
| | | | |
| | + | Contains results of a transaction search. |
| | + | |
| | + | ===== Description ===== |
| | + | |
| | + | This object is returned by the [[..:methods:searchTransactions]] method. It describes the result of the search, including the total number of transactions matched, the number being returned, and an array of TransactionObjects |
| | + | |
| | + | |
| | + | ===== Properties ===== |
| | + | |
| | + | ^Type ^Name ^Description ^ |
| | + | |integer |TransactionsMatched |Total number of transactions matched| |
| | + | |integer |TransactionsReturned |Number of transactions returned in this result set| |
| | + | |integer |ErrorsCount |Total number of errors matched| |
| | + | |integer |DeclinesCount |Total number of declines matched| |
| | + | |integer |SalesCount |Total number of Sales matched| |
| | + | |integer |CreditsCount |Total number of Credits matched| |
| | + | |integer |AuthOnlyCount |Total number of AuthOnlys matched| |
| | + | |integer |VoidsCount |Total number of Voids matched| |
| | + | |float |SalesAmount |Total dollar amount of Sales matched| |
| | + | |float |CreditsAmount |Total dollar amount of Credits matched| |
| | + | |float |AuthOnlyAmount |Total dollar amount of AuthOnlys matched| |
| | + | |float |VoidsAmount |Total dollar amount of Voids matched| |
| | + | |float |ErrorsAmount |Total dollar amount of errors matched| |
| | + | |float |DeclinesAmount |Total dollar amount of Declines matched| |
| | + | |integer |StartIndex |The starting index used (defaults to 0)| |
| | + | |integer |Limit |The max number transactions to return in each result set.| |
| | + | |[[.:TransactionObject]] |Transactions |An array TransactionObjects for the matched transactions| |
| | + | |
| | + | |
| | + | ===== Places Used ===== |
| | + | |
| | + | [[..:methods:searchTransactions]] |
| | + | |
| | + | [[..:methods:getCustomerHistory]] |
| | + | |
| | + | ===== Examples ===== |
| | + | |
| | + | ==== .NET VB ==== |
| | + | <code vb> |
| | + | Dim tran As usaepay.TransactionSearchResult |
| | + | tran = New usaepay.TransactionSearchResult |
| | + | |
| | + | tran = client.getCustomerHistory(token, CustNum) |
| | + | </code> |
| | + | |
| | + | ==== .NET C# ==== |
| | + | <code c> |
| | + | usaepay.TransactionSearchResult result = new usaepay.TransactionSearchResult(); |
| | + | |
| | + | try |
| | + | { |
| | + | result = client.searchTransactions(token, search, matchAll, "0", "10", "created"); |
| | + | |
| | + | MessageBox.Show(string.Concat(result.TransactionsMatched)); |
| | + | |
| | + | } |
| | + | |
| | + | </code> |
| | + | |
| | + | ===== Change History ===== |
| | + | |
| | + | ^ Version ^ Change ^ |
| | + | | [[developer:soap-1.1:objects:transactionsearchresult|1.1]] | Method added prior to soap-1.1 | |