allocate

abstract fun allocate(difference: Money, allocations: List<Money>): List<Money>(source)

Allocates the difference in the allocations list.

Return

The allocation result.

Parameters

difference

A Money amount representing the difference to allocate in the allocations list.

allocations

The allocations list.