-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinvoices.h
54 lines (40 loc) · 1.01 KB
/
invoices.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef INVOICES_H
#define INVOICES_H
#include <QString>
#include <vector>
class Invoices
{
public:
Invoices();
Invoices(int rgnr,
int kdnr,
QString rgdate,
double summe,
double ust,
double skonto,
QString currency);
~Invoices();
int rgnr() const;
void setRgnr(int rgnr);
int kdnr() const;
void setKdnr(int kdnr);
QString rgdate() const;
void setRgdate(const QString &rgdate);
double amount() const;
void setAmount(double amount);
int ust() const;
void setUst(int ust);
int skonto() const;
void setSkonto(int skonto);
QString currency() const;
void setCurrency(const QString ¤cy);
private:
int m_rgnr;
int m_kdnr;
QString m_rgdate;
double m_amount;
int m_ust;
int m_skonto;
QString m_currency;
};
#endif // INVOICES_H