Implemented communication with EET portal.
This commit is contained in:
@@ -4,6 +4,11 @@ ShopSettings::ShopSettings(QObject *parent) : QObject(parent)
|
||||
{
|
||||
m_codepage = ASCII;
|
||||
m_lettersPerLine = 48;
|
||||
|
||||
m_eetActive = false;
|
||||
m_eetMode = 1;
|
||||
m_eetTest = 0;
|
||||
m_eetPlayground = 0;
|
||||
}
|
||||
|
||||
QString ShopSettings::output() const
|
||||
@@ -45,3 +50,83 @@ void ShopSettings::setByMessage(const QString &byMessage)
|
||||
{
|
||||
m_byMessage = byMessage;
|
||||
}
|
||||
|
||||
bool ShopSettings::eetActive() const
|
||||
{
|
||||
return m_eetActive;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetActive(bool eetActive)
|
||||
{
|
||||
m_eetActive = eetActive;
|
||||
}
|
||||
|
||||
QString ShopSettings::eetShopId() const
|
||||
{
|
||||
return m_eetShopId;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetShopId(const QString &eetShopId)
|
||||
{
|
||||
m_eetShopId = eetShopId;
|
||||
}
|
||||
|
||||
QString ShopSettings::eetRegisterId() const
|
||||
{
|
||||
return m_eetRegisterId;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetRegisterId(const QString &eetRegisterId)
|
||||
{
|
||||
m_eetRegisterId = eetRegisterId;
|
||||
}
|
||||
|
||||
int ShopSettings::eetMode() const
|
||||
{
|
||||
return m_eetMode;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetMode(int eetMode)
|
||||
{
|
||||
m_eetMode = eetMode;
|
||||
}
|
||||
|
||||
QString ShopSettings::eetCertificate() const
|
||||
{
|
||||
return m_eetCertificate;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetCertificate(const QString &eetCertificate)
|
||||
{
|
||||
m_eetCertificate = eetCertificate;
|
||||
}
|
||||
|
||||
QString ShopSettings::eetKeyPassword() const
|
||||
{
|
||||
return m_eetKeyPassword;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetKeyPassword(const QString &eetKeyPassword)
|
||||
{
|
||||
m_eetKeyPassword = eetKeyPassword;
|
||||
}
|
||||
|
||||
bool ShopSettings::eetTest() const
|
||||
{
|
||||
return m_eetTest;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetTest(bool eetTest)
|
||||
{
|
||||
m_eetTest = eetTest;
|
||||
}
|
||||
|
||||
bool ShopSettings::eetPlayground() const
|
||||
{
|
||||
return m_eetPlayground;
|
||||
}
|
||||
|
||||
void ShopSettings::setEetPlayground(bool eetPlayground)
|
||||
{
|
||||
m_eetPlayground = eetPlayground;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user