Allocates a Money.
A Result with the allocation result.
The Money amount to allocate according to by.
The parameter to calculate the allocations.
When by is not supported.