3 #ifndef WOBGEN_MTCreateOrder
4 #define WOBGEN_MTCreateOrder
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
11 #include "MTransaction"
12 #include <MOCartOrder>
15 #include <MOCartOrder>
45 QByteArray encodeData();
46 void decodeData(QByteArray);
48 virtual void endQuery();
55 static MTCreateOrder query(
const MOCartOrder &acart,
const bool &aissale,
const QList<QString> &avouchers,QString iface=
"MagicSmoke");
61 static MTCreateOrder asyncQuery(
const MOCartOrder &acart,
const bool &aissale,
const QList<QString> &avouchers,QString iface=
"MagicSmoke");
63 Q_SLOT Nullable<MOOrder> getorder()
const;
65 Q_SLOT QList<MOVoucher> getvouchers()
const;
67 Q_SLOT Nullable<qint64> getpaidcash()
const;
69 Q_SLOT Nullable<MOCartOrder> getcart()
const;
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTCreateOrder.h:8
friend class MTCreateOrder
Definition: srcMTCreateOrder.cpp:15
The cart as used from the remote (non-web) system, this is a transaction object, it has no equivalent...
Definition: srcMOCartOrder.h:18
Definition: transaction.h:25
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTCreateOrder.cpp:12
CreateOrder creates orders that are queued to be executed immediately or sales that are marked execut...
Definition: srcMTCreateOrder.h:20