OrderId

constructor(value: String = newId())

Creates an OrderId with the specified value or generates a new UUID if no value is provided.

Parameters

value

The string representation of the UUID. Defaults to a newly generated UUID.