#include <MoneyAmount.h>
|
| static bool | isValid (double value) noexcept |
| | Checks whether a raw amount is finite.
|
Definition at line 12 of file MoneyAmount.h.
◆ MoneyAmount() [1/2]
| core::domain::MoneyAmount::MoneyAmount |
( |
| ) |
|
|
default |
◆ MoneyAmount() [2/2]
| core::domain::MoneyAmount::MoneyAmount |
( |
double | value | ) |
|
|
explicit |
Creates a monetary amount from a raw numeric value.
- Parameters
-
Definition at line 10 of file MoneyAmount.cpp.
◆ isValid()
| bool core::domain::MoneyAmount::isValid |
( |
double | value | ) |
|
|
inlinestaticnoexcept |
Checks whether a raw amount is finite.
- Parameters
-
- Returns
- true when the amount is finite.
Definition at line 28 of file MoneyAmount.h.
◆ value()
| double core::domain::MoneyAmount::value |
( |
| ) |
const |
|
noexcept |
The documentation for this class was generated from the following files: