next

abstract fun next(): String

A new global id, such as the id of a line, a payment attempt or a correlation key.


abstract fun next(type: AggregateType): String

A new id for an aggregate of type, as admission gives a creating command that names none.