3 #ifndef WOBGEN_MOCouponInfo
4 #define WOBGEN_MOCouponInfo
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
19 Q_PROPERTY(Nullable<QString> couponid READ couponid WRITE setcouponid)
21 Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
23 Q_PROPERTY(Nullable<qint64> validfrom READ validfrom WRITE setvalidfrom)
25 Q_PROPERTY(Nullable<qint64> validtill READ validtill WRITE setvalidtill)
27 Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
36 virtual Nullable<QString>
couponid()
const{
return mp_couponid;}
38 virtual Nullable<QString>
description()
const{
return mp_description;}
40 virtual Nullable<qint64>
validfrom()
const{
return mp_validfrom;}
42 virtual Nullable<qint64>
validtill()
const{
return mp_validtill;}
44 virtual Nullable<QString>
flags()
const{
return mp_flags;}
54 virtual void setflags(Nullable<QString> s){mp_flags=s;}
61 QDomElement toXml(QDomDocument&doc,QString name=
"CouponInfo");
63 void toXml(QDomDocument&,QDomElement&);
Nullable< qint64 > mp_validfrom
Definition: srcMOCouponInfo.h:31
MOCouponInfo()
default constructor: constructs an invalid instance of MOCouponInfo
Definition: srcMOCouponInfo.h:66
virtual Nullable< qint64 > validtill() const
Definition: srcMOCouponInfo.h:42
virtual void setvalidfrom(Nullable< qint64 > s)
Definition: srcMOCouponInfo.h:50
virtual void setvalidtill(Nullable< qint64 > s)
Definition: srcMOCouponInfo.h:52
virtual Nullable< QString > description() const
Definition: srcMOCouponInfo.h:38
virtual void setflags(Nullable< QString > s)
Definition: srcMOCouponInfo.h:54
Nullable< QString > mp_flags
Definition: srcMOCouponInfo.h:33
This class represents the bare minimum info of a coupon.
Definition: srcMOCouponInfo.h:15
Nullable< QString > mp_couponid
Definition: srcMOCouponInfo.h:29
virtual ~MOCouponInfo()
destructor: deletes this copy of the object
Definition: srcMOCouponInfo.h:78
Q_DECLARE_METATYPE(QDomNode)
Nullable< QString > mp_description
Definition: srcMOCouponInfo.h:30
virtual Nullable< QString > couponid() const
Definition: srcMOCouponInfo.h:36
virtual Nullable< QString > flags() const
Definition: srcMOCouponInfo.h:44
virtual Nullable< qint64 > validfrom() const
Definition: srcMOCouponInfo.h:40
virtual void setdescription(Nullable< QString > s)
Definition: srcMOCouponInfo.h:48
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOCouponInfo.h:8
virtual void setcouponid(Nullable< QString > s)
Definition: srcMOCouponInfo.h:46
Nullable< qint64 > mp_validtill
Definition: srcMOCouponInfo.h:32