Create a new transaction data bean.
Syntax
TransactionData
(
final Long
actorId
,
final long
payeeNetAmount
,
final long
payerNetAmount
,
final SubTransaction
transaction
,
final SubTransaction
refTxn
,
final List< IKeyValue >
unstructuredDataRequest
,
final List< IKeyValue >
unstructuredDataResponse
)
Parameters
-
actorId –
the current authenticated user.
-
payeeNetAmount –
the net amount the payee must receive
-
payerNetAmount –
the net amount the maper must be charged
-
transaction –
the current sub transaction
-
refTxn –
the sub transaction this current payment action is referenced to (might be null if the current payment action is an authorization, i.e. the first step in payment processing).
-
unstructuredDataRequest –
additional data from the request.
-
unstructuredDataResponse –
can be used by the payment handler to add additional data into the Mobiliser response.