summaryrefslogtreecommitdiff
path: root/src/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amount.h')
-rw-r--r--src/amount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amount.h b/src/amount.h
index 990b326f..b3c632af 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -384,6 +384,8 @@ public:
const optional<datetime_t>& moment = none,
const optional<commodity_t&>& in_terms_of = none) const;
+ amount_t price() const;
+
/*@}*/
/** @name Truth tests