decimal CalculateCommission( Affiliate affiliate, int orderCount, decimal productSubtotal, decimal orderTotal )
Parameters
- affiliate
- Affiliate for which you want to calculate commission
- orderCount
- Number of orders
- productSubtotal
- Sub total of the products
- orderTotal
- Total value of orders
Return Value
The calculated commission