// This file generated by libqtelegram-code-generator.
// You can download it from: https://github.com/Aseman-Land/libqtelegram-code-generator
// DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

#ifndef LQTG_TYPE_PAYMENTCHARGE_OBJECT
#define LQTG_TYPE_PAYMENTCHARGE_OBJECT

#include "telegramtypeqobject.h"
#include "telegram/types/paymentcharge.h"

#include <QPointer>

class LIBQTELEGRAMSHARED_EXPORT PaymentChargeObject : public TelegramTypeQObject
{
    Q_OBJECT
    Q_ENUMS(PaymentChargeClassType)
    Q_PROPERTY(QString id READ id WRITE setId NOTIFY idChanged)
    Q_PROPERTY(QString providerChargeId READ providerChargeId WRITE setProviderChargeId NOTIFY providerChargeIdChanged)
    Q_PROPERTY(PaymentCharge core READ core WRITE setCore NOTIFY coreChanged)
    Q_PROPERTY(quint32 classType READ classType WRITE setClassType NOTIFY classTypeChanged)

public:
    enum PaymentChargeClassType {
        TypePaymentCharge
    };

    PaymentChargeObject(const PaymentCharge &core, QObject *parent = 0);
    PaymentChargeObject(QObject *parent = 0);
    virtual ~PaymentChargeObject();

    void setId(const QString &id);
    QString id() const;

    void setProviderChargeId(const QString &providerChargeId);
    QString providerChargeId() const;

    void setClassType(quint32 classType);
    quint32 classType() const;

    void setCore(const PaymentCharge &core);
    PaymentCharge core() const;

    PaymentChargeObject &operator =(const PaymentCharge &b);
    bool operator ==(const PaymentCharge &b) const;

Q_SIGNALS:
    void coreChanged();
    void classTypeChanged();
    void idChanged();
    void providerChargeIdChanged();

private Q_SLOTS:

private:
    PaymentCharge m_core;
};

#endif // LQTG_TYPE_PAYMENTCHARGE_OBJECT
