KItinerary
ssbv3ticket.h
18 * @see ERA TAP TSI TD B.12 Digital Security Elements For Rail Passenger Ticketing - ยง7 SSB - Small Structured Barcode
115 Q_INVOKABLE [[nodiscard]] QDate issueDate(const QDateTime &contextDate = QDateTime::currentDateTime()) const;
117 Q_INVOKABLE [[nodiscard]] QDate type1DepartureDay(const QDateTime &contextDate = QDateTime::currentDateTime()) const;
119 Q_INVOKABLE [[nodiscard]] QDate type2ValidFrom(const QDateTime &contextDate = QDateTime::currentDateTime()) const;
121 Q_INVOKABLE [[nodiscard]] QDate type2ValidUntil(const QDateTime &contextDate = QDateTime::currentDateTime()) const;
123 Q_INVOKABLE [[nodiscard]] QDate type3ValidFrom(const QDateTime &contextDate = QDateTime::currentDateTime()) const;
125 Q_INVOKABLE [[nodiscard]] QDate type3ValidUntil(const QDateTime &contextDate = QDateTime::currentDateTime()) const;
Q_INVOKABLE QDate issueDate(const QDateTime &contextDate=QDateTime::currentDateTime()) const
Date of issue.
Definition ssbv3ticket.cpp:58
Q_INVOKABLE QDate type2ValidFrom(const QDateTime &contextDate=QDateTime::currentDateTime()) const
First day of validity for type 2 (NRT) tickets.
Definition ssbv3ticket.cpp:83
Q_INVOKABLE QDate type3ValidUntil(const QDateTime &contextDate=QDateTime::currentDateTime()) const
Last day of validity for type 3 (GRP) tickets.
Definition ssbv3ticket.cpp:110
Q_INVOKABLE QDate type3ValidFrom(const QDateTime &contextDate=QDateTime::currentDateTime()) const
First day of validity for type 3 (GRP) tickets.
Definition ssbv3ticket.cpp:101
Q_INVOKABLE QDate type2ValidUntil(const QDateTime &contextDate=QDateTime::currentDateTime()) const
Last day of validity for type 2 (NRT) tickets.
Definition ssbv3ticket.cpp:92
static bool maybeSSB(const QByteArray &data)
Returns true if data might be an ERA SSB ticket.
Definition ssbv3ticket.cpp:50
Q_INVOKABLE QDate type1DepartureDay(const QDateTime &contextDate=QDateTime::currentDateTime()) const
Departure day for type 1 (IRT/RES/BOA) tickets.
Definition ssbv3ticket.cpp:73
Q_SCRIPTABLE QString start(QString train="")
Classes for reservation/travel data models, data extraction and data augmentation.
Definition berelement.h:17
QDateTime currentDateTime()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:52:35 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.