ValueBasedAllocation

Functions

Link copied to clipboard
abstract fun allocate(difference: Money, allocations: List<Money>): List<Money>

Allocates the difference in the allocations list.

Link copied to clipboard
abstract fun applyDifferenceOnValue(    difference: Money,     value: Money,     allocations: List<Money>): List<Money>

Apply the difference in a specific value in the allocations list.