6#ifndef KITINERARY_FCBTICKET3_H
7#define KITINERARY_FCBTICKET3_H
9#include <KItinerary/Uic9183Block>
11#include "asn1/uperelement.h"
47enum GeoCoordinateSystemType {
51UPER_ENUM(GeoCoordinateSystemType)
53enum HemisphereLongitudeType {
57UPER_ENUM(HemisphereLongitudeType)
59enum HemisphereLatitudeType {
63UPER_ENUM(HemisphereLatitudeType)
68 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::GeoUnitType, geoUnit, milliDegree)
69 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::GeoCoordinateSystemType, coordinateSystem, wgs84)
70 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::HemisphereLongitudeType, hemisphereLongitude, north)
71 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::HemisphereLatitudeType, hemisphereLatitude, east)
72 UPER_ELEMENT(
int, longitude)
73 UPER_ELEMENT(
int, latitude)
74 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::GeoUnitType, accuracy)
81 UPER_ELEMENT(
int, longitude)
82 UPER_ELEMENT(
int, latitude)
88 UPER_EXTENDABLE_GADGET
89 UPER_ELEMENT_OPTIONAL(
int, securityProviderNum)
90 UPER_ELEMENT_OPTIONAL(
QByteArray, securityProviderIA5)
91 UPER_ELEMENT_OPTIONAL(
int, issuerNum)
93 UPER_ELEMENT(
int, issuingYear)
94 UPER_ELEMENT(
int, issuingDay)
95 UPER_ELEMENT(
int, issuingTime)
96 UPER_ELEMENT_OPTIONAL(
QString, issuerName)
97 UPER_ELEMENT(
bool, specimen)
98 UPER_ELEMENT(
bool, securePaperTicket)
99 UPER_ELEMENT(
bool, activated)
100 UPER_ELEMENT_DEFAULT(
QByteArray, currency,
"EUR")
101 UPER_ELEMENT_DEFAULT(
int, currencyFract, 2)
104 UPER_ELEMENT_OPTIONAL(
int, issuedOnTrainNum)
105 UPER_ELEMENT_OPTIONAL(
QByteArray, issuedOnTrainIA5)
106 UPER_ELEMENT_OPTIONAL(
int, issuedOnLine)
110 Q_PROPERTY(
QDateTime issueingDateTime READ issueingDateTime)
112 [[nodiscard]]
QDateTime issueingDateTime()
const;
121UPER_EXTENABLE_ENUM(GenderType)
130 freeAddonPassenger = 6,
133UPER_EXTENABLE_ENUM(PassengerType)
138 UPER_ELEMENT_OPTIONAL(
int, statusProviderNum)
139 UPER_ELEMENT_OPTIONAL(
QByteArray, statusProviderIA5)
140 UPER_ELEMENT_OPTIONAL(
int, customerStatus)
141 UPER_ELEMENT_OPTIONAL(
QByteArray, customerStatusDescr)
147 UPER_EXTENDABLE_GADGET
148 UPER_ELEMENT_OPTIONAL(
QString, firstName)
149 UPER_ELEMENT_OPTIONAL(
QString, secondName)
150 UPER_ELEMENT_OPTIONAL(
QString, lastName)
154 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::GenderType, gender)
155 UPER_ELEMENT_OPTIONAL(
QByteArray, customerIdIA5)
156 UPER_ELEMENT_OPTIONAL(
int, customerIdNum)
157 UPER_ELEMENT_OPTIONAL(
int, yearOfBirth)
158 UPER_ELEMENT_OPTIONAL(
int, monthOfBirth)
159 UPER_ELEMENT_OPTIONAL(
int, dayOfBirthInMonth)
160 UPER_ELEMENT(
bool, ticketHolder)
161 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::PassengerType, passengerType)
162 UPER_ELEMENT_OPTIONAL(
bool, passengerWithReducedMobility)
163 UPER_ELEMENT_OPTIONAL(
int, countryOfResidence)
164 UPER_ELEMENT_OPTIONAL(
int, countryOfPassport)
165 UPER_ELEMENT_OPTIONAL(
int, countryOfIdCard)
172 UPER_EXTENDABLE_GADGET
174 UPER_ELEMENT_OPTIONAL(
QByteArray, preferredLanguage)
175 UPER_ELEMENT_OPTIONAL(
QString, groupName)
181 stationUICReservation = 1,
183 localCarrierStationCodeTable = 3,
184 proprietaryIssuerStationCodeTable = 4,
186UPER_ENUM(CodeTableType)
191 UPER_ELEMENT_OPTIONAL(
int, trainNum)
193 UPER_ELEMENT(
int, travelDate)
194 UPER_ELEMENT(
int, departureTime)
195 UPER_ELEMENT_OPTIONAL(
int, departureUTCOffset)
196 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
197 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
198 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
199 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
200 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
201 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
205 Q_INVOKABLE [[nodiscard]]
QDateTime departureDateTime(
const QDateTime &issueingDateTime)
const;
210 UPER_EXTENDABLE_GADGET
211 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
212 UPER_ELEMENT_OPTIONAL(
int, stationNum)
216 UPER_ELEMENT(
bool, border)
219 UPER_ELEMENT_OPTIONAL(
int, seriesId)
220 UPER_ELEMENT_OPTIONAL(
int, routeId)
221 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
222 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
228 UPER_EXTENDABLE_GADGET
229 UPER_ELEMENT_OPTIONAL(
int, carrierNum)
231 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
232 UPER_ELEMENT_OPTIONAL(
int, entryStationNum)
233 UPER_ELEMENT_OPTIONAL(
QByteArray, entryStationIA5)
234 UPER_ELEMENT_OPTIONAL(
int, terminatingStationNum)
235 UPER_ELEMENT_OPTIONAL(
QByteArray, terminatingStationIA5)
236 UPER_ELEMENT_OPTIONAL(
int, city)
238 UPER_ELEMENT_OPTIONAL(
QByteArray, binaryZoneId)
245 UPER_EXTENDABLE_GADGET
246 UPER_ELEMENT_OPTIONAL(
int, carrierNum)
249 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
250 UPER_ELEMENT_OPTIONAL(
int, entryStationNum)
251 UPER_ELEMENT_OPTIONAL(
QByteArray, entryStationIA5)
252 UPER_ELEMENT_OPTIONAL(
int, terminatingStationNum)
253 UPER_ELEMENT_OPTIONAL(
QByteArray, terminatingStationIA5)
254 UPER_ELEMENT_OPTIONAL(
int, city)
275 UPER_EXTENDABLE_GADGET
280class ReturnRouteDescriptionType {
281 UPER_EXTENDABLE_GADGET
282 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
283 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
284 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
285 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
286 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
287 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
288 UPER_ELEMENT_OPTIONAL(
QString, validReturnRegionDesc)
293enum TravelClassType {
307UPER_EXTENABLE_ENUM(TravelClassType)
309class RouteSectionType {
311 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
312 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
313 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
314 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
315 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
316 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
317 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
321class SeriesDetailType {
323 UPER_ELEMENT_OPTIONAL(
int, supplyingCarrier)
324 UPER_ELEMENT_OPTIONAL(
int, offerIdentification)
325 UPER_ELEMENT_OPTIONAL(
int, series)
331 UPER_EXTENDABLE_GADGET
332 UPER_ELEMENT_OPTIONAL(
int, cardIssuerNum)
333 UPER_ELEMENT_OPTIONAL(
QByteArray, cardIssuerIA5)
334 UPER_ELEMENT_OPTIONAL(
int, cardIdNum)
336 UPER_ELEMENT_OPTIONAL(
QString, cardName)
337 UPER_ELEMENT_OPTIONAL(
int, cardType)
338 UPER_ELEMENT_OPTIONAL(
int, leadingCardIdNum)
339 UPER_ELEMENT_OPTIONAL(
QByteArray, leadingCardIdIA5)
340 UPER_ELEMENT_OPTIONAL(
int, trailingCardIdNum)
341 UPER_ELEMENT_OPTIONAL(
QByteArray, trailingCardIdIA5)
351UPER_ENUM(ServiceType)
357 UPER_ELEMENT_OPTIONAL(
QByteArray, placeString)
358 UPER_ELEMENT_OPTIONAL(
QString, placeDescription)
364enum class CompartmentPositionType {
369UPER_ENUM(CompartmentPositionType)
373 UPER_EXTENDABLE_GADGET
374 UPER_ELEMENT_OPTIONAL(
int, coachType)
375 UPER_ELEMENT_OPTIONAL(
int, compartmentType)
376 UPER_ELEMENT_OPTIONAL(
int, specialAllocation)
377 UPER_ELEMENT_OPTIONAL(
QString, coachTypeDescr)
378 UPER_ELEMENT_OPTIONAL(
QString, compartmentTypeDescr)
379 UPER_ELEMENT_OPTIONAL(
QString, specialAllocationDescr)
380 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CompartmentPositionType, position, CompartmentPositionType::unspecified)
392UPER_ENUM(BerthTypeType)
394enum class CompartmentGenderType {
401UPER_EXTENABLE_ENUM(CompartmentGenderType)
405 UPER_EXTENDABLE_GADGET
406 UPER_ELEMENT(KItinerary::Fcb::v3::BerthTypeType, berthType)
407 UPER_ELEMENT(
int, numberOfBerths)
408 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CompartmentGenderType, gender, CompartmentGenderType::family)
414 UPER_EXTENDABLE_GADGET
415 UPER_ELEMENT_DEFAULT(
int, numberOfPassengers, 1)
416 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::PassengerType, passengerType)
417 UPER_ELEMENT_OPTIONAL(
int, ageBelow)
418 UPER_ELEMENT_OPTIONAL(
int, ageAbove)
420 UPER_ELEMENT(
bool, restrictedToCountryOfResidence)
421 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::RouteSectionType, restrictedToRouteSection)
422 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::SeriesDetailType, seriesDataDetails)
423 UPER_ELEMENT_OPTIONAL(
int, tariffIdNum)
424 UPER_ELEMENT_OPTIONAL(
QByteArray, tariffIdIA5)
425 UPER_ELEMENT_OPTIONAL(
QString, tariffDesc)
436UPER_ENUM(PriceTypeType)
441 UPER_ELEMENT(
int, country)
442 UPER_ELEMENT(
int, percentage)
443 UPER_ELEMENT_OPTIONAL(
int, amount)
450 UPER_EXTENDABLE_GADGET
451 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
452 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
453 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
454 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
455 UPER_ELEMENT_OPTIONAL(
int, externalIssuerId)
456 UPER_ELEMENT_OPTIONAL(
int, issuerAutorizationId)
457 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
459 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
460 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
461 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
462 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
463 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
464 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
465 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::TravelClassType, classCode)
466 UPER_ELEMENT_OPTIONAL(
QByteArray, serviceLevel)
469 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
470 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
472 UPER_ELEMENT_OPTIONAL(
QString, infoText)
473 UPER_ELEMENT_OPTIONAL(
QList<int>, includedTransportType)
474 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedTransportType)
481 UPER_EXTENDABLE_GADGET
482 UPER_ELEMENT_OPTIONAL(
QByteArray, registrationId)
483 UPER_ELEMENT_OPTIONAL(
int, maxWeight)
484 UPER_ELEMENT_OPTIONAL(
int, maxSize)
490 UPER_EXTENDABLE_GADGET
491 UPER_ELEMENT_DEFAULT(
int, maxHandLuggagePieces, 3)
492 UPER_ELEMENT_DEFAULT(
int, maxNonHandLuggagePieces, 1)
499 UPER_EXTENDABLE_GADGET
500 UPER_ELEMENT_OPTIONAL(
int, trainNum)
502 UPER_ELEMENT_DEFAULT(
int, departureDate, 0)
503 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
504 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
505 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
506 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
507 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
508 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
509 UPER_ELEMENT_OPTIONAL(
int, serviceBrand)
510 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandAbrUTF8)
511 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandNameUTF8)
512 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::ServiceType, service, seat)
513 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUICReservation)
514 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
515 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
516 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
517 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
518 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
519 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
520 UPER_ELEMENT(
int, departureTime)
521 UPER_ELEMENT_OPTIONAL(
int, departureUTCOffset)
522 UPER_ELEMENT_DEFAULT(
int, arrivalDate, 0)
523 UPER_ELEMENT_OPTIONAL(
int, arrivalTime)
524 UPER_ELEMENT_OPTIONAL(
int, arrivalUTCOffset)
527 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
528 UPER_ELEMENT_OPTIONAL(
QByteArray, serviceLevel)
533 UPER_ELEMENT_DEFAULT(
int, numberOfOverbooked, 0)
536 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::PriceTypeType, priceType, travelPrice)
537 UPER_ELEMENT_OPTIONAL(
int, price)
539 UPER_ELEMENT_DEFAULT(
int, typeOfSupplement, 0)
540 UPER_ELEMENT_DEFAULT(
int, numberOfSupplements, 0)
542 UPER_ELEMENT_OPTIONAL(
QString, infoText)
547 Q_INVOKABLE [[nodiscard]]
QDateTime departureDateTime(
const QDateTime &issueingDateTime)
const;
548 Q_INVOKABLE [[nodiscard]]
QDateTime arrivalDateTime(
const QDateTime &issueingDateTime)
const;
558 rackWithTwoBoxes = 6,
562UPER_EXTENABLE_ENUM(RoofRackType)
564enum class LoadingDeckType {
569UPER_ENUM(LoadingDeckType)
573 UPER_EXTENDABLE_GADGET
574 UPER_ELEMENT_OPTIONAL(
int, trainNum)
576 UPER_ELEMENT_DEFAULT(
int, beginLoadingDate, 0)
577 UPER_ELEMENT_OPTIONAL(
int, beginLoadingTime)
578 UPER_ELEMENT_OPTIONAL(
int, endLoadingTime)
579 UPER_ELEMENT_OPTIONAL(
int, loadingUTCOffset)
580 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
581 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
582 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
583 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
584 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
585 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
586 UPER_ELEMENT_OPTIONAL(
int, serviceBrand)
587 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandAbrUTF8)
588 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandNameUTF8)
589 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUICReservation)
590 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
591 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
592 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
593 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
594 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
595 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
599 UPER_ELEMENT_OPTIONAL(
QByteArray, numberPlate)
600 UPER_ELEMENT_OPTIONAL(
QByteArray, trailerPlate)
601 UPER_ELEMENT(
int, carCategory)
602 UPER_ELEMENT_OPTIONAL(
int, boatCategory)
603 UPER_ELEMENT(
bool, textileRoof)
604 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::RoofRackType, roofRackType, norack)
605 UPER_ELEMENT_OPTIONAL(
int, roofRackHeight)
606 UPER_ELEMENT_OPTIONAL(
int, attachedBoats)
607 UPER_ELEMENT_OPTIONAL(
int, attachedBicycles)
608 UPER_ELEMENT_OPTIONAL(
int, attachedSurfboards)
609 UPER_ELEMENT_OPTIONAL(
int, loadingListEntry)
610 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::LoadingDeckType, loadingDeck, LoadingDeckType::upper)
614 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::PriceTypeType, priceType, travelPrice)
615 UPER_ELEMENT_OPTIONAL(
int, price)
617 UPER_ELEMENT_OPTIONAL(
QString, infoText)
624 UPER_EXTENDABLE_GADGET
625 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
626 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
627 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
628 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
629 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
630 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
631 UPER_ELEMENT_OPTIONAL(
int, extIssuerId)
632 UPER_ELEMENT_OPTIONAL(
int, issuerAutorizationId)
633 UPER_ELEMENT(
bool, returnIncluded)
634 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
635 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
636 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
637 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
638 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
639 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
640 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
641 UPER_ELEMENT_OPTIONAL(
QString, validRegionDesc)
643 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::ReturnRouteDescriptionType, returnDescription)
644 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
645 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
646 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
647 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
648 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
649 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
650 UPER_ELEMENT_OPTIONAL(
QList<int>, activatedDay)
651 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
652 UPER_ELEMENT_OPTIONAL(
QByteArray, serviceLevel)
655 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
656 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
658 UPER_ELEMENT_OPTIONAL(
int, price)
660 UPER_ELEMENT_OPTIONAL(
QString, infoText)
663 UPER_ELEMENT_OPTIONAL(
QList<int>, includedTransportType)
664 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedTransportType)
669 Q_INVOKABLE [[nodiscard]]
QDateTime validFrom(
const QDateTime &issueingDateTime)
const;
670 Q_INVOKABLE [[nodiscard]]
QDateTime validUntil(
const QDateTime &issueingDateTime)
const;
676 UPER_ELEMENT(
int, fromTime)
677 UPER_ELEMENT(
int, untilTime)
684 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
685 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
686 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
687 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
688 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
689 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
701enum BoardingOrArrivalRestrictionType {
705UPER_EXTENABLE_ENUM(BoardingOrArrivalRestrictionType)
709 UPER_EXTENDABLE_GADGET
710 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
711 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
712 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
713 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
714 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
715 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
716 UPER_ELEMENT_OPTIONAL(
QList<int>, includedCarrierNum)
718 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedCarrierNum)
720 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
721 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
722 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::BoardingOrArrivalRestrictionType, boardingOrArrival, BoardingOrArrivalRestrictionType::boarding)
728 UPER_EXTENDABLE_GADGET
729 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
730 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
731 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
732 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
733 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
734 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
735 UPER_ELEMENT_OPTIONAL(
int, passType)
736 UPER_ELEMENT_OPTIONAL(
QString, passDescription)
737 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
738 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
739 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
740 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
741 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
742 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
743 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
745 UPER_ELEMENT_OPTIONAL(
int, numberOfValidityDays)
747 UPER_ELEMENT_OPTIONAL(
int, numberOfPossibleTrips)
748 UPER_ELEMENT_OPTIONAL(
int, numberOfDaysOfTravel)
749 UPER_ELEMENT_OPTIONAL(
QList<int>, activatedDay)
751 UPER_ELEMENT_OPTIONAL(
QList<int>, includedCarrierNum)
753 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedCarrierNum)
755 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
756 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
759 UPER_ELEMENT_OPTIONAL(
int, price)
761 UPER_ELEMENT_OPTIONAL(
QString, infoText)
766 Q_INVOKABLE [[nodiscard]]
QDateTime validFrom(
const QDateTime &issueingDateTime)
const;
767 Q_INVOKABLE [[nodiscard]]
QDateTime validUntil(
const QDateTime &issueingDateTime)
const;
772 UPER_EXTENDABLE_GADGET
773 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
774 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
775 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
776 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
777 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
778 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
779 UPER_ELEMENT(
int, validFromYear)
780 UPER_ELEMENT(
int, validFromDay)
781 UPER_ELEMENT(
int, validUntilYear)
782 UPER_ELEMENT(
int, validUntilDay)
783 UPER_ELEMENT_DEFAULT(
int, value, 0)
784 UPER_ELEMENT_OPTIONAL(
int, type)
785 UPER_ELEMENT_OPTIONAL(
QString, infoText)
792 UPER_EXTENDABLE_GADGET
795 UPER_ELEMENT_OPTIONAL(
int, cardIdNum)
796 UPER_ELEMENT(
int, validFromYear)
797 UPER_ELEMENT_OPTIONAL(
int, validFromDay)
798 UPER_ELEMENT_DEFAULT(
int, validUntilYear, 0)
799 UPER_ELEMENT_OPTIONAL(
int, validUntilDay)
800 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::TravelClassType, classCode)
801 UPER_ELEMENT_OPTIONAL(
int, cardType)
802 UPER_ELEMENT_OPTIONAL(
QString, cardTypeDescr)
803 UPER_ELEMENT_OPTIONAL(
int, customerStatus)
804 UPER_ELEMENT_OPTIONAL(
QByteArray, customerStatusDescr)
805 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServices)
809 Q_PROPERTY(
QDate validFrom READ validFrom)
810 Q_PROPERTY(
QDate validUntil READ validUntil)
812 [[nodiscard]]
QDate validFrom()
const;
813 [[nodiscard]]
QDate validUntil()
const;
818 UPER_EXTENDABLE_GADGET
819 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
820 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
821 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
822 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
823 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
824 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
825 UPER_ELEMENT_OPTIONAL(
QByteArray, ticketReferenceIA5)
826 UPER_ELEMENT_OPTIONAL(
int, ticketReferenceNum)
827 UPER_ELEMENT(
int, numberOfCountermark)
828 UPER_ELEMENT(
int, totalOfCountermarks)
829 UPER_ELEMENT(
QString, groupName)
830 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
831 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
832 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
833 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
834 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
835 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
836 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
837 UPER_ELEMENT_OPTIONAL(
QString, validRegionDesc)
839 UPER_ELEMENT(
bool, returnIncluded)
840 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::ReturnRouteDescriptionType, returnDescription)
841 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
842 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
843 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
844 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
845 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
846 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
847 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
850 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
851 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
852 UPER_ELEMENT_OPTIONAL(
QString, infoText)
859 UPER_EXTENDABLE_GADGET
860 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
861 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
863 UPER_ELEMENT(
int, fromParkingDate)
864 UPER_ELEMENT_DEFAULT(
int, untilParkingDate, 0)
865 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
866 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
867 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
868 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
870 UPER_ELEMENT(
QString, location)
871 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
872 UPER_ELEMENT_OPTIONAL(
int, stationNum)
873 UPER_ELEMENT_OPTIONAL(
QString, stationIA5)
874 UPER_ELEMENT_OPTIONAL(
QString, specialInformation)
875 UPER_ELEMENT_OPTIONAL(
QString, entryTrack)
876 UPER_ELEMENT_OPTIONAL(
QByteArray, numberPlate)
877 UPER_ELEMENT_OPTIONAL(
int, price)
885 UPER_EXTENDABLE_GADGET
886 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
887 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
888 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
889 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
890 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
891 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
892 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
893 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
894 UPER_ELEMENT_OPTIONAL(
QList<int>, activatedDay)
897 UPER_ELEMENT(
int, numberOfTravelDays)
898 UPER_ELEMENT(
bool, includesSupplements)
899 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
906 UPER_EXTENDABLE_GADGET
907 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
908 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
909 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
910 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
911 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
912 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
913 UPER_ELEMENT_OPTIONAL(
QString, productName)
914 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
918 UPER_ELEMENT_OPTIONAL(
QList<int>, areaCodeNum)
921 UPER_ELEMENT(
int, validFromDay)
922 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
923 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
924 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
925 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
926 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
927 UPER_ELEMENT_OPTIONAL(
int, numberOfDaysValid)
932enum ConfirmationType {
933 trainDelayConfirmation = 0,
934 travelerDelayConfirmation = 1,
935 trainLinkedTicketDelay = 2,
937UPER_EXTENABLE_ENUM(ConfirmationType)
943 carCarriageReservation = 3,
945UPER_EXTENABLE_ENUM(TicketType)
949 onlyValidInCombination = 1,
951UPER_EXTENABLE_ENUM(LinkMode)
954class TicketLinkType {
955 UPER_EXTENDABLE_GADGET
956 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
957 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
958 UPER_ELEMENT_OPTIONAL(
QString, issuerName)
960 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
961 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
962 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TicketType, ticketType, openTicket)
963 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::LinkMode, linkMode, issuedTogether)
969 UPER_EXTENDABLE_GADGET
970 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
971 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
972 UPER_ELEMENT_OPTIONAL(
int, trainNum)
974 UPER_ELEMENT_OPTIONAL(
int, departureYear)
975 UPER_ELEMENT_OPTIONAL(
int, departureDay)
976 UPER_ELEMENT_OPTIONAL(
int, departureTime)
977 UPER_ELEMENT_OPTIONAL(
int, departureUTCOffset)
978 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
979 UPER_ELEMENT_OPTIONAL(
int, stationNum)
981 UPER_ELEMENT(
int, delay)
982 UPER_ELEMENT(
bool, trainCancelled)
983 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::ConfirmationType, confirmationType, travelerDelayConfirmation)
985 UPER_ELEMENT_OPTIONAL(
QString, infoText)
993 UPER_ELEMENT_OPTIONAL(
int, tokenProviderNum)
994 UPER_ELEMENT_OPTIONAL(
QByteArray, tokenProviderIA5)
995 UPER_ELEMENT_OPTIONAL(
QByteArray, tokenSpecification)
1016 UPER_EXTENDABLE_GADGET
1019 UPER_GADGET_FINALIZE
1024 UPER_EXTENDABLE_GADGET
1025 UPER_ELEMENT_OPTIONAL(QList <KItinerary::Fcb::v3::CardReferenceType>, identificationByCardReference)
1026 UPER_ELEMENT(
bool, identificationByIdCard)
1027 UPER_ELEMENT(
bool, identificationByPassportId)
1028 UPER_ELEMENT_OPTIONAL(
int, identificationItem)
1029 UPER_ELEMENT(
bool, passportValidationRequired)
1030 UPER_ELEMENT(
bool, onlineValidationRequired)
1031 UPER_ELEMENT_OPTIONAL(
int, randomDetailedValidationRequired)
1032 UPER_ELEMENT(
bool, ageCheckRequired)
1033 UPER_ELEMENT(
bool, reductionCardCheckRequired)
1034 UPER_ELEMENT_OPTIONAL(
QString, infoText)
1037 UPER_GADGET_FINALIZE
1041class KITINERARY_EXPORT UicRailTicketData {
1042 UPER_EXTENDABLE_GADGET
1048 UPER_GADGET_FINALIZE
1050 UicRailTicketData();
1053 [[nodiscard]]
bool isValid()
const;
Car carriage reservation document.
Customer card information.
Customer status information.
Delay confirmation document.
Delta encoding of a geographic coordinate.
Variant wrapper for specific document types.
Open tickets included into a reservation.
Luggage restriction information.
Open ticket document (NRT).
Rail pass document (RPT).
Regional validity information.
Reservation document (IRT, RES).
Station passage document.
Reference to a specific train journey.
Validity information for PassData.
Information about a single traveler.
Set of validity time period.
Decoder for data encoded according to X.691 ASN.1 Unaligned Packed Encoding Rules (UPER).
A data block from a UIC 918.3 ticket.
ERA Flexible Content Barcode (FCB) version 1.3.
Classes for reservation/travel data models, data extraction and data augmentation.