3 #ifndef WOBGEN_MOOrderAudit
4 #define WOBGEN_MOOrderAudit
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
36 static OrderState str2OrderState(QString,
bool*ok=0);
38 static QString OrderState2str(OrderState);
40 static OrderState locstr2OrderState(QString,
bool*ok=0);
42 static QString OrderState2locstr(OrderState);
44 Q_PROPERTY(Nullable<qint64> orderid READ orderid WRITE setorderid)
46 Q_PROPERTY(Nullable<qint64> customerid READ customerid WRITE setcustomerid)
48 Q_PROPERTY(Nullable<QString> soldby READ soldby WRITE setsoldby)
50 Q_PROPERTY(Nullable<
OrderState> status READ status WRITE setstatus)
52 Q_PROPERTY(Nullable<qint64> amountpaid READ amountpaid WRITE setamountpaid)
54 Q_PROPERTY(Nullable<qint64> shippingcosts READ shippingcosts WRITE setshippingcosts)
56 Q_PROPERTY(Nullable<qint64> ordertime READ ordertime WRITE setordertime)
58 Q_PROPERTY(Nullable<qint64> senttime READ senttime WRITE setsenttime)
60 Q_PROPERTY(Nullable<qint64> audittime READ audittime WRITE setaudittime)
62 Q_PROPERTY(Nullable<QString> audituname READ audituname WRITE setaudituname)
64 Q_PROPERTY(Nullable<QString> audittransaction READ audittransaction WRITE setaudittransaction)
66 Q_PROPERTY(Nullable<QString> paytype READ paytype WRITE setpaytype)
68 Q_PROPERTY(Nullable<QString> paydata READ paydata WRITE setpaydata)
70 Nullable<qint64> mp_orderid;
71 Nullable<qint64> mp_customerid;
72 Nullable<QString> mp_soldby;
74 Nullable<qint64> mp_amountpaid;
75 Nullable<qint64> mp_shippingcosts;
76 Nullable<qint64> mp_ordertime;
77 Nullable<qint64> mp_senttime;
78 Nullable<qint64> mp_audittime;
79 Nullable<QString> mp_audituname;
80 Nullable<QString> mp_audittransaction;
81 Nullable<QString> mp_paytype;
82 Nullable<QString> mp_paydata;
85 virtual Nullable<qint64> orderid()
const{
return mp_orderid;}
87 virtual Nullable<qint64>
customerid()
const{
return mp_customerid;}
89 virtual Nullable<QString>
soldby()
const{
return mp_soldby;}
91 virtual Nullable<OrderState>
status()
const{
return mp_status;}
93 virtual Nullable<qint64>
amountpaid()
const{
return mp_amountpaid;}
97 virtual Nullable<qint64>
ordertime()
const{
return mp_ordertime;}
99 virtual Nullable<qint64>
senttime()
const{
return mp_senttime;}
101 virtual Nullable<qint64>
audittime()
const{
return mp_audittime;}
103 virtual Nullable<QString>
audituname()
const{
return mp_audituname;}
107 virtual Nullable<QString>
paytype()
const{
return mp_paytype;}
109 virtual Nullable<QString>
paydata()
const{
return mp_paydata;}
115 virtual void setsoldby(Nullable<QString> s){mp_soldby=s;}
117 virtual void setstatus(Nullable<OrderState> s){mp_status=s;}
142 QDomElement toXml(QDomDocument&doc,QString name=
"OrderAudit");
144 void toXml(QDomDocument&,QDomElement&);
MOOrderAudit()
default constructor: constructs an invalid instance of MOOrderAudit
Definition: srcMOOrderAudit.h:147
virtual void setordertime(Nullable< qint64 > s)
Definition: srcMOOrderAudit.h:123
virtual void setaudittime(Nullable< qint64 > s)
Definition: srcMOOrderAudit.h:127
virtual Nullable< qint64 > senttime() const
Definition: srcMOOrderAudit.h:99
virtual void setaudittransaction(Nullable< QString > s)
Definition: srcMOOrderAudit.h:131
virtual void setsenttime(Nullable< qint64 > s)
Definition: srcMOOrderAudit.h:125
virtual void setshippingcosts(Nullable< qint64 > s)
costs for shipping
Definition: srcMOOrderAudit.h:121
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOOrderAudit.h:8
virtual ~MOOrderAudit()
destructor: deletes this copy of the object
Definition: srcMOOrderAudit.h:159
virtual void setorderid(Nullable< qint64 > s)
Definition: srcMOOrderAudit.h:111
virtual void setcustomerid(Nullable< qint64 > s)
Definition: srcMOOrderAudit.h:113
virtual Nullable< qint64 > audittime() const
Definition: srcMOOrderAudit.h:101
virtual Nullable< QString > paydata() const
Definition: srcMOOrderAudit.h:109
virtual Nullable< qint64 > shippingcosts() const
costs for shipping
Definition: srcMOOrderAudit.h:95
virtual void setsoldby(Nullable< QString > s)
Definition: srcMOOrderAudit.h:115
This class represents the audit information about an order.
Definition: srcMOOrderAudit.h:15
virtual Nullable< QString > soldby() const
Definition: srcMOOrderAudit.h:89
virtual Nullable< QString > audituname() const
Definition: srcMOOrderAudit.h:103
virtual void setpaytype(Nullable< QString > s)
Definition: srcMOOrderAudit.h:133
virtual void setaudituname(Nullable< QString > s)
Definition: srcMOOrderAudit.h:129
virtual Nullable< qint64 > amountpaid() const
amount that has been paid for this order
Definition: srcMOOrderAudit.h:93
Q_DECLARE_METATYPE(QDomNode)
OrderState
Status the order is in right now.
Definition: srcMOOrderAudit.h:21
virtual Nullable< qint64 > customerid() const
Definition: srcMOOrderAudit.h:87
virtual void setamountpaid(Nullable< qint64 > s)
amount that has been paid for this order
Definition: srcMOOrderAudit.h:119
virtual Nullable< qint64 > ordertime() const
Definition: srcMOOrderAudit.h:97
virtual Nullable< QString > audittransaction() const
Definition: srcMOOrderAudit.h:105
virtual void setstatus(Nullable< OrderState > s)
Definition: srcMOOrderAudit.h:117
virtual Nullable< QString > paytype() const
Definition: srcMOOrderAudit.h:107
virtual void setpaydata(Nullable< QString > s)
Definition: srcMOOrderAudit.h:135
virtual Nullable< OrderState > status() const
Definition: srcMOOrderAudit.h:91