decimal GetConversionRate( int affiliateId, DateTime startDate, DateTime endDate, int totalReferrals )
Parameters
- affiliateId
- Id of the affiliate to calculate conversion rate for.
- startDate
- Inclusive start date of timeframe to calculate.
- endDate
- Inclusive end date of timeframe to calculate.
- totalReferrals
- The number of referrals for the timeframe.
Return Value
The conversion rate for the affiliate for the given timeframe.