toggle menu
Money
0.1.0
jvm
switch theme
search in API
Money
/
com.eriksencosta.money.allocation
/
ProportionalAllocation
Proportional
Allocation
interface
ProportionalAllocation
:
Allocation
<
Ratios
>
(
source
)
Allocates a
Money
in ratios.
Inheritors
ProportionalAllocator
Members
Functions
allocate
Link copied to clipboard
abstract
fun
allocate
(
money
:
Money
,
by
:
Ratios
)
:
Result
Allocates a
Money
.
open
fun
allocate
(
money
:
Money
,
vararg
ratios
:
Percentage
)
:
Result
open
fun
allocate
(
money
:
Money
,
ratios
:
List
<
Percentage
>
)
:
Result
Allocates a
Money
in ratios.