DuxReiNummariae 1.0.0-alpha.23
Simple and powerful budgeting application
 
Loading...
Searching...
No Matches
drn::budgeting::BudgetItemAmountDue Struct Reference

A representation of a budget item due's amount. More...

#include <BudgetItemDue.h>

Collaboration diagram for drn::budgeting::BudgetItemAmountDue:

Public Member Functions

std::strong_ordering operator<=> (const BudgetItemAmountDue &other) const noexcept=default
 

Public Attributes

pecunia::Money amount_ {}
 the amount of money that is currently due for the item.
 
BudgetItemDueIdentifier id_ {}
 The unique identifier of the budget item that is due.
 

Detailed Description

A representation of a budget item due's amount.

Member Function Documentation

◆ operator<=>()

std::strong_ordering drn::budgeting::BudgetItemAmountDue::operator<=> ( const BudgetItemAmountDue & other) const
nodiscarddefaultnoexcept

Member Data Documentation

◆ amount_

pecunia::Money drn::budgeting::BudgetItemAmountDue::amount_ {}

the amount of money that is currently due for the item.

◆ id_

BudgetItemDueIdentifier drn::budgeting::BudgetItemAmountDue::id_ {}

The unique identifier of the budget item that is due.