MagicSmoke  $VERSION$
srcMTOrderRefund.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MTOrderRefund
4 #define WOBGEN_MTOrderRefund
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MTransaction"
12 #include <MOOrder>
13 
15 
18 {
19  Q_OBJECT
20  private:
22  friend class MTOrderRefund_Private;
23  protected:
28  explicit MTOrderRefund(const qint64 &aorderid,const qint64 &aamount,QString iface);
29  public:
31  MTOrderRefund();
35  MTOrderRefund& operator=(const MTOrderRefund&);
37  virtual ~MTOrderRefund();
38  private:
39  void netquery();
40  void asyncnetquery();
41  QByteArray encodeData();
42  void decodeData(QByteArray);
43  protected:
44  virtual void endQuery();
45  public:
50  static MTOrderRefund query(const qint64 &aorderid,const qint64 &aamount,QString iface="MagicSmoke");
55  static MTOrderRefund asyncQuery(const qint64 &aorderid,const qint64 &aamount,QString iface="MagicSmoke");
57  Q_SLOT Nullable<MOOrder> getorder()const;
59  Q_SLOT Nullable<qint64> getamount()const;
60 };
61 
63 
64 //END OF AUTOMATICALLY GENERATED FILE
65 #endif
friend class MTOrderRefund
Definition: srcMTOrderRefund.cpp:15
returns money if too much has been paid (e.g. after an event has been cancelled)
Definition: srcMTOrderRefund.h:17
Definition: transaction.h:25
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMTOrderRefund.h:8
Q_DECLARE_METATYPE(QDomNode)
Definition: srcMTOrderRefund.cpp:12