EvenParts

class EvenParts(val parts: Int) : AllocationBy(source)

Parameter type for even allocation.

Parameters

parts

The number of parts to allocate a Money amount.

Throws

When parts is zero or negative.

Constructors

Link copied to clipboard
constructor(parts: Int)

Properties

Link copied to clipboard
val parts: Int

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String