Find transaction logic searching for transactions matching the provided parameters.
Syntax
List< FindTransactionsResultBean >
findTransactions
(
Long
customerId
,
Long
joinedCustomerId
,
Long
caller
,
Date
fromDate
,
Date
toDate
,
Boolean
showFaulty
,
Integer
statusFilter
,
String
merchantOrderIdFilter
,
Integer
maxHierarchyLevel
,
int
maxRecords
,
Long
paymentInstrumentId
,
Boolean
customerIsPayer
,
Boolean
showInitial
) throws IllegalArgumentException
Parameters
-
customerId –
limit results to transactions where this customer participated
-
joinedCustomerId –
limit results to transaction where this customer was the counterpart of the customerId - relevant if filtering by customerIsPayer.
-
caller –
filter by caller
-
fromDate –
search for transactions newer than this date (or equal)
-
toDate –
search for transactions older than this date (or equal)
-
showFaulty –
include transactions with error code not equal to zero
-
statusFilter –
only include transactions with this status
-
merchantOrderIdFilter –
filter by order id
-
maxHierarchyLevel –
if provided, also includes transactions of children of the customerId (up to the passed hierarchy level). When setting this you must also provide customerId.
-
maxRecords –
limit number of records
Returns
a list of found transactions
Exceptions
-
IllegalArgumentException –
if mandatory parameters are not provided.
Usage
a list of found transactions