Allocation

sealed interface Allocation<T : AllocationBy>(source)

Defines the Money allocation interface.

Inheritors

Functions

Link copied to clipboard
abstract fun allocate(money: Money, by: T): Result

Allocates a Money.