Core classCoredna\Kernel\Types
Money
Money objects are immutable. Arithmetic methods return a new instance with the result, handle rounding and ensure currencies match.
Properties 11
Take no arguments.
-
#
isGreaterThan() -
bool - Compares the current Money object with the given Money object. Will return true if the current Money object is greater than the given Money object.
-
#
isGreaterThanOrEqual() -
bool - Compares the current Money object with the given Money object. Will return true if the current Money object is greater than or equal to the given Money object.
-
#
isLessThan() -
bool - Compares the current Money object with the given Money object. Will return true if the current Money object is less than the given Money object.
-
#
isLessThanOrEqual() -
bool - Compares the current Money object with the given Money object. Will return true if the current Money object is less than or equal to the given Money object.
No members match the filter.