Syntax
List< Fee >
calculateFees
(
final SubTransaction
txn
,
Authorisation
auth
)
Parameters
-
txn –
the SubTransaction to calculate the fees for
-
auth –
the authorisation, which can be used to copy the fees from (if configured). This parameter is optional, the implementation must search the successful authorisation from the DB if not provided.
Returns
the calculated fees
Usage
Calculates the online fees that are to be considered for the specified transaction. The fees are stored into the database and available via
SubTransaction#getFees()
.
the calculated fees