calculateCommission(final SubTransaction, final Customer, final Customer, final Long) method

Calculates the commission based on the fee/commission configuration and creates commission (fee) entries for the passed transaction.

Syntax

void calculateCommission ( final SubTransaction txn , final Customer payee , final Customer payer , final Long actor )

Parameters