A getOrElse
operator that returns a defined rate, and if this object is UndefinedRate
will evaluate the
method argument.
A getOrElse
operator that returns a defined rate, and if this object is UndefinedRate
will evaluate the
method argument.
The identifier of a MaybeRate
is either -1
(undefined) or the identifier of a defined rate (>= 0
).
The identifier of a MaybeRate
is either -1
(undefined) or the identifier of a defined rate (>= 0
).
Lifts this optional rate into an Option[Rate]
.
Lifts this optional rate into an Option[Rate]
. An UndefinedRate
becomes None
, a define Rate
becomes Some
.
An undefined rate signifies that a rate is either unknown or will be implicitly resolved.