Invoice++
Loading...
Searching...
No Matches
product_data.h
Go to the documentation of this file.
1
#ifndef PRODUCT_H
2
#define PRODUCT_H
3
#include <string>
4
5
class
ProductData
{
6
public
:
7
ProductData
(
const
std::string &
name
,
const
int
count
,
const
double
price_per_unit
) {
8
this->name =
name
;
9
this->count =
count
;
10
this->price_per_unit =
price_per_unit
;
11
}
12
std::string
name
;
13
int
count
;
14
double
price_per_unit
;
15
};
16
17
#endif
//PRODUCT_H
ProductData::price_per_unit
double price_per_unit
Definition
product_data.h:14
ProductData::count
int count
Definition
product_data.h:13
ProductData::name
std::string name
Definition
product_data.h:12
ProductData::ProductData
ProductData(const std::string &name, const int count, const double price_per_unit)
Definition
product_data.h:7
data_objects
product_data.h
Generated on Sun Mar 30 2025 17:46:37 for Invoice++ by
1.13.2