Implemented communication with EET portal.
This commit is contained in:
@@ -16,6 +16,7 @@ Voucher::Voucher(QObject *parent) : QObject(parent)
|
||||
m_totalPriceVatFirstLower = 0;
|
||||
m_totalPriceVatSecondLower = 0;
|
||||
m_totalPrice = 0;
|
||||
m_eetStatus = EET_FOR_SEND;
|
||||
}
|
||||
|
||||
QString Voucher::name() const
|
||||
@@ -230,6 +231,56 @@ void Voucher::setPayDateTime(const QDateTime &payDateTime)
|
||||
m_payDateTime = payDateTime;
|
||||
}
|
||||
|
||||
Voucher::EetStatus Voucher::eetStatus() const
|
||||
{
|
||||
return m_eetStatus;
|
||||
}
|
||||
|
||||
void Voucher::setEetStatus(const Voucher::EetStatus &eetStatus)
|
||||
{
|
||||
m_eetStatus = eetStatus;
|
||||
}
|
||||
|
||||
QDateTime Voucher::eetSendDateTime() const
|
||||
{
|
||||
return m_eetSendDateTime;
|
||||
}
|
||||
|
||||
void Voucher::setEetSendDateTime(const QDateTime &eetSendDateTime)
|
||||
{
|
||||
m_eetSendDateTime = eetSendDateTime;
|
||||
}
|
||||
|
||||
QString Voucher::eetPkp() const
|
||||
{
|
||||
return m_eetPkp;
|
||||
}
|
||||
|
||||
void Voucher::setEetPkp(const QString &eetPkp)
|
||||
{
|
||||
m_eetPkp = eetPkp;
|
||||
}
|
||||
|
||||
QString Voucher::eetBkp() const
|
||||
{
|
||||
return m_eetBkp;
|
||||
}
|
||||
|
||||
void Voucher::setEetBkp(const QString &eetBkp)
|
||||
{
|
||||
m_eetBkp = eetBkp;
|
||||
}
|
||||
|
||||
QString Voucher::eetFik() const
|
||||
{
|
||||
return m_eetFik;
|
||||
}
|
||||
|
||||
void Voucher::setEetFik(const QString &eetFik)
|
||||
{
|
||||
m_eetFik = eetFik;
|
||||
}
|
||||
|
||||
int Voucher::id() const
|
||||
{
|
||||
return m_id;
|
||||
|
||||
Reference in New Issue
Block a user