6#ifndef KITINERARY_FCBTICKET3_H
7#define KITINERARY_FCBTICKET3_H
9#include <KItinerary/Uic9183Block>
11#include "asn1/uperelement.h"
49enum GeoCoordinateSystemType {
53UPER_ENUM(GeoCoordinateSystemType)
55enum HemisphereLongitudeType {
59UPER_ENUM(HemisphereLongitudeType)
61enum HemisphereLatitudeType {
65UPER_ENUM(HemisphereLatitudeType)
70 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::GeoUnitType, geoUnit, milliDegree)
71 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::GeoCoordinateSystemType, coordinateSystem, wgs84)
72 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::HemisphereLongitudeType, hemisphereLongitude, north)
73 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::HemisphereLatitudeType, hemisphereLatitude, east)
74 UPER_ELEMENT(
int, longitude)
75 UPER_ELEMENT(
int, latitude)
76 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::GeoUnitType, accuracy)
83 UPER_ELEMENT(
int, longitude)
84 UPER_ELEMENT(
int, latitude)
90 UPER_EXTENDABLE_GADGET
91 UPER_ELEMENT_OPTIONAL(
int, securityProviderNum)
92 UPER_ELEMENT_OPTIONAL(
QByteArray, securityProviderIA5)
93 UPER_ELEMENT_OPTIONAL(
int, issuerNum)
95 UPER_ELEMENT(
int, issuingYear)
96 UPER_ELEMENT(
int, issuingDay)
97 UPER_ELEMENT(
int, issuingTime)
98 UPER_ELEMENT_OPTIONAL(
QString, issuerName)
99 UPER_ELEMENT(
bool, specimen)
100 UPER_ELEMENT(
bool, securePaperTicket)
101 UPER_ELEMENT(
bool, activated)
102 UPER_ELEMENT_DEFAULT(
QByteArray, currency,
"EUR")
103 UPER_ELEMENT_DEFAULT(
int, currencyFract, 2)
106 UPER_ELEMENT_OPTIONAL(
int, issuedOnTrainNum)
107 UPER_ELEMENT_OPTIONAL(
QByteArray, issuedOnTrainIA5)
108 UPER_ELEMENT_OPTIONAL(
int, issuedOnLine)
112 Q_PROPERTY(
QDateTime issueingDateTime READ issueingDateTime)
114 [[nodiscard]]
QDateTime issueingDateTime()
const;
123UPER_EXTENABLE_ENUM(GenderType)
132 freeAddonPassenger = 6,
135UPER_EXTENABLE_ENUM(PassengerType)
140 UPER_ELEMENT_OPTIONAL(
int, statusProviderNum)
141 UPER_ELEMENT_OPTIONAL(
QByteArray, statusProviderIA5)
142 UPER_ELEMENT_OPTIONAL(
int, customerStatus)
143 UPER_ELEMENT_OPTIONAL(
QByteArray, customerStatusDescr)
149 UPER_EXTENDABLE_GADGET
150 UPER_ELEMENT_OPTIONAL(
QString, firstName)
151 UPER_ELEMENT_OPTIONAL(
QString, secondName)
152 UPER_ELEMENT_OPTIONAL(
QString, lastName)
156 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::GenderType, gender)
157 UPER_ELEMENT_OPTIONAL(
QByteArray, customerIdIA5)
158 UPER_ELEMENT_OPTIONAL(
int, customerIdNum)
159 UPER_ELEMENT_OPTIONAL(
int, yearOfBirth)
160 UPER_ELEMENT_OPTIONAL(
int, monthOfBirth)
161 UPER_ELEMENT_OPTIONAL(
int, dayOfBirthInMonth)
162 UPER_ELEMENT(
bool, ticketHolder)
163 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::PassengerType, passengerType)
164 UPER_ELEMENT_OPTIONAL(
bool, passengerWithReducedMobility)
165 UPER_ELEMENT_OPTIONAL(
int, countryOfResidence)
166 UPER_ELEMENT_OPTIONAL(
int, countryOfPassport)
167 UPER_ELEMENT_OPTIONAL(
int, countryOfIdCard)
174 UPER_EXTENDABLE_GADGET
176 UPER_ELEMENT_OPTIONAL(
QByteArray, preferredLanguage)
177 UPER_ELEMENT_OPTIONAL(
QString, groupName)
183 stationUICReservation = 1,
185 localCarrierStationCodeTable = 3,
186 proprietaryIssuerStationCodeTable = 4,
188UPER_ENUM(CodeTableType)
193 UPER_ELEMENT_OPTIONAL(
int, trainNum)
195 UPER_ELEMENT(
int, travelDate)
196 UPER_ELEMENT(
int, departureTime)
197 UPER_ELEMENT_OPTIONAL(
int, departureUTCOffset)
198 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
199 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
200 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
201 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
202 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
203 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
207 Q_INVOKABLE [[nodiscard]]
QDateTime departureDateTime(
const QDateTime &issueingDateTime)
const;
212 UPER_EXTENDABLE_GADGET
213 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
214 UPER_ELEMENT_OPTIONAL(
int, stationNum)
218 UPER_ELEMENT(
bool, border)
221 UPER_ELEMENT_OPTIONAL(
int, seriesId)
222 UPER_ELEMENT_OPTIONAL(
int, routeId)
223 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
224 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
230 UPER_EXTENDABLE_GADGET
231 UPER_ELEMENT_OPTIONAL(
int, carrierNum)
233 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
234 UPER_ELEMENT_OPTIONAL(
int, entryStationNum)
235 UPER_ELEMENT_OPTIONAL(
QByteArray, entryStationIA5)
236 UPER_ELEMENT_OPTIONAL(
int, terminatingStationNum)
237 UPER_ELEMENT_OPTIONAL(
QByteArray, terminatingStationIA5)
238 UPER_ELEMENT_OPTIONAL(
int, city)
240 UPER_ELEMENT_OPTIONAL(
QByteArray, binaryZoneId)
247 UPER_EXTENDABLE_GADGET
248 UPER_ELEMENT_OPTIONAL(
int, carrierNum)
251 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
252 UPER_ELEMENT_OPTIONAL(
int, entryStationNum)
253 UPER_ELEMENT_OPTIONAL(
QByteArray, entryStationIA5)
254 UPER_ELEMENT_OPTIONAL(
int, terminatingStationNum)
255 UPER_ELEMENT_OPTIONAL(
QByteArray, terminatingStationIA5)
256 UPER_ELEMENT_OPTIONAL(
int, city)
277 UPER_EXTENDABLE_GADGET
282class ReturnRouteDescriptionType {
283 UPER_EXTENDABLE_GADGET
284 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
285 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
286 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
287 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
288 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
289 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
290 UPER_ELEMENT_OPTIONAL(
QString, validReturnRegionDesc)
295enum TravelClassType {
309UPER_EXTENABLE_ENUM(TravelClassType)
311class RouteSectionType {
313 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
314 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
315 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
316 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
317 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
318 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
319 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
323class SeriesDetailType {
325 UPER_ELEMENT_OPTIONAL(
int, supplyingCarrier)
326 UPER_ELEMENT_OPTIONAL(
int, offerIdentification)
327 UPER_ELEMENT_OPTIONAL(
int, series)
333 UPER_EXTENDABLE_GADGET
334 UPER_ELEMENT_OPTIONAL(
int, cardIssuerNum)
335 UPER_ELEMENT_OPTIONAL(
QByteArray, cardIssuerIA5)
336 UPER_ELEMENT_OPTIONAL(
int, cardIdNum)
338 UPER_ELEMENT_OPTIONAL(
QString, cardName)
339 UPER_ELEMENT_OPTIONAL(
int, cardType)
340 UPER_ELEMENT_OPTIONAL(
int, leadingCardIdNum)
341 UPER_ELEMENT_OPTIONAL(
QByteArray, leadingCardIdIA5)
342 UPER_ELEMENT_OPTIONAL(
int, trailingCardIdNum)
343 UPER_ELEMENT_OPTIONAL(
QByteArray, trailingCardIdIA5)
353UPER_ENUM(ServiceType)
359 UPER_ELEMENT_OPTIONAL(
QByteArray, placeString)
360 UPER_ELEMENT_OPTIONAL(
QString, placeDescription)
366enum class CompartmentPositionType {
371UPER_ENUM(CompartmentPositionType)
375 UPER_EXTENDABLE_GADGET
376 UPER_ELEMENT_OPTIONAL(
int, coachType)
377 UPER_ELEMENT_OPTIONAL(
int, compartmentType)
378 UPER_ELEMENT_OPTIONAL(
int, specialAllocation)
379 UPER_ELEMENT_OPTIONAL(
QString, coachTypeDescr)
380 UPER_ELEMENT_OPTIONAL(
QString, compartmentTypeDescr)
381 UPER_ELEMENT_OPTIONAL(
QString, specialAllocationDescr)
382 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CompartmentPositionType, position, CompartmentPositionType::unspecified)
394UPER_ENUM(BerthTypeType)
396enum class CompartmentGenderType {
403UPER_EXTENABLE_ENUM(CompartmentGenderType)
407 UPER_EXTENDABLE_GADGET
408 UPER_ELEMENT(KItinerary::Fcb::v3::BerthTypeType, berthType)
409 UPER_ELEMENT(
int, numberOfBerths)
410 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CompartmentGenderType, gender, CompartmentGenderType::family)
416 UPER_EXTENDABLE_GADGET
417 UPER_ELEMENT_DEFAULT(
int, numberOfPassengers, 1)
418 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::PassengerType, passengerType)
419 UPER_ELEMENT_OPTIONAL(
int, ageBelow)
420 UPER_ELEMENT_OPTIONAL(
int, ageAbove)
422 UPER_ELEMENT(
bool, restrictedToCountryOfResidence)
423 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::RouteSectionType, restrictedToRouteSection)
424 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::SeriesDetailType, seriesDataDetails)
425 UPER_ELEMENT_OPTIONAL(
int, tariffIdNum)
426 UPER_ELEMENT_OPTIONAL(
QByteArray, tariffIdIA5)
427 UPER_ELEMENT_OPTIONAL(
QString, tariffDesc)
438UPER_ENUM(PriceTypeType)
443 UPER_ELEMENT(
int, country)
444 UPER_ELEMENT(
int, percentage)
445 UPER_ELEMENT_OPTIONAL(
int, amount)
452 UPER_EXTENDABLE_GADGET
453 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
454 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
455 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
456 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
457 UPER_ELEMENT_OPTIONAL(
int, externalIssuerId)
458 UPER_ELEMENT_OPTIONAL(
int, issuerAutorizationId)
459 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
461 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
462 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
463 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
464 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
465 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
466 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
467 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::TravelClassType, classCode)
468 UPER_ELEMENT_OPTIONAL(
QByteArray, serviceLevel)
471 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
472 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
474 UPER_ELEMENT_OPTIONAL(
QString, infoText)
475 UPER_ELEMENT_OPTIONAL(
QList<int>, includedTransportType)
476 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedTransportType)
483 UPER_EXTENDABLE_GADGET
484 UPER_ELEMENT_OPTIONAL(
QByteArray, registrationId)
485 UPER_ELEMENT_OPTIONAL(
int, maxWeight)
486 UPER_ELEMENT_OPTIONAL(
int, maxSize)
492 UPER_EXTENDABLE_GADGET
493 UPER_ELEMENT_DEFAULT(
int, maxHandLuggagePieces, 3)
494 UPER_ELEMENT_DEFAULT(
int, maxNonHandLuggagePieces, 1)
501 UPER_EXTENDABLE_GADGET
502 UPER_ELEMENT_OPTIONAL(
int, trainNum)
504 UPER_ELEMENT_DEFAULT(
int, departureDate, 0)
505 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
506 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
507 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
508 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
509 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
510 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
511 UPER_ELEMENT_OPTIONAL(
int, serviceBrand)
512 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandAbrUTF8)
513 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandNameUTF8)
514 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::ServiceType, service, seat)
515 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUICReservation)
516 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
517 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
518 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
519 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
520 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
521 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
522 UPER_ELEMENT(
int, departureTime)
523 UPER_ELEMENT_OPTIONAL(
int, departureUTCOffset)
524 UPER_ELEMENT_DEFAULT(
int, arrivalDate, 0)
525 UPER_ELEMENT_OPTIONAL(
int, arrivalTime)
526 UPER_ELEMENT_OPTIONAL(
int, arrivalUTCOffset)
529 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
530 UPER_ELEMENT_OPTIONAL(
QByteArray, serviceLevel)
535 UPER_ELEMENT_DEFAULT(
int, numberOfOverbooked, 0)
538 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::PriceTypeType, priceType, travelPrice)
539 UPER_ELEMENT_OPTIONAL(
int, price)
541 UPER_ELEMENT_DEFAULT(
int, typeOfSupplement, 0)
542 UPER_ELEMENT_DEFAULT(
int, numberOfSupplements, 0)
544 UPER_ELEMENT_OPTIONAL(
QString, infoText)
549 Q_INVOKABLE [[nodiscard]]
QDateTime departureDateTime(
const QDateTime &issueingDateTime)
const;
550 Q_INVOKABLE [[nodiscard]]
QDateTime arrivalDateTime(
const QDateTime &issueingDateTime)
const;
560 rackWithTwoBoxes = 6,
564UPER_EXTENABLE_ENUM(RoofRackType)
566enum class LoadingDeckType {
571UPER_ENUM(LoadingDeckType)
575 UPER_EXTENDABLE_GADGET
576 UPER_ELEMENT_OPTIONAL(
int, trainNum)
578 UPER_ELEMENT_DEFAULT(
int, beginLoadingDate, 0)
579 UPER_ELEMENT_OPTIONAL(
int, beginLoadingTime)
580 UPER_ELEMENT_OPTIONAL(
int, endLoadingTime)
581 UPER_ELEMENT_OPTIONAL(
int, loadingUTCOffset)
582 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
583 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
584 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
585 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
586 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
587 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
588 UPER_ELEMENT_OPTIONAL(
int, serviceBrand)
589 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandAbrUTF8)
590 UPER_ELEMENT_OPTIONAL(
QString, serviceBrandNameUTF8)
591 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUICReservation)
592 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
593 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
594 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
595 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
596 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
597 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
601 UPER_ELEMENT_OPTIONAL(
QByteArray, numberPlate)
602 UPER_ELEMENT_OPTIONAL(
QByteArray, trailerPlate)
603 UPER_ELEMENT(
int, carCategory)
604 UPER_ELEMENT_OPTIONAL(
int, boatCategory)
605 UPER_ELEMENT(
bool, textileRoof)
606 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::RoofRackType, roofRackType, norack)
607 UPER_ELEMENT_OPTIONAL(
int, roofRackHeight)
608 UPER_ELEMENT_OPTIONAL(
int, attachedBoats)
609 UPER_ELEMENT_OPTIONAL(
int, attachedBicycles)
610 UPER_ELEMENT_OPTIONAL(
int, attachedSurfboards)
611 UPER_ELEMENT_OPTIONAL(
int, loadingListEntry)
612 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::LoadingDeckType, loadingDeck, LoadingDeckType::upper)
616 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::PriceTypeType, priceType, travelPrice)
617 UPER_ELEMENT_OPTIONAL(
int, price)
619 UPER_ELEMENT_OPTIONAL(
QString, infoText)
626 UPER_EXTENDABLE_GADGET
627 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
628 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
629 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
630 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
631 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
632 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
633 UPER_ELEMENT_OPTIONAL(
int, extIssuerId)
634 UPER_ELEMENT_OPTIONAL(
int, issuerAutorizationId)
635 UPER_ELEMENT(
bool, returnIncluded)
636 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
637 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
638 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
639 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
640 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
641 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
642 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
643 UPER_ELEMENT_OPTIONAL(
QString, validRegionDesc)
645 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::ReturnRouteDescriptionType, returnDescription)
646 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
647 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
648 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
649 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
650 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
651 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
652 UPER_ELEMENT_OPTIONAL(
QList<int>, activatedDay)
653 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
654 UPER_ELEMENT_OPTIONAL(
QByteArray, serviceLevel)
657 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
658 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
660 UPER_ELEMENT_OPTIONAL(
int, price)
662 UPER_ELEMENT_OPTIONAL(
QString, infoText)
665 UPER_ELEMENT_OPTIONAL(
QList<int>, includedTransportType)
666 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedTransportType)
671 Q_INVOKABLE [[nodiscard]]
QDateTime validFrom(
const QDateTime &issueingDateTime)
const;
672 Q_INVOKABLE [[nodiscard]]
QDateTime validUntil(
const QDateTime &issueingDateTime)
const;
678 UPER_ELEMENT(
int, fromTime)
679 UPER_ELEMENT(
int, untilTime)
686 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
687 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
688 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
689 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
690 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
691 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
703enum BoardingOrArrivalRestrictionType {
707UPER_EXTENABLE_ENUM(BoardingOrArrivalRestrictionType)
711 UPER_EXTENDABLE_GADGET
712 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
713 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
714 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
715 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
716 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
717 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
718 UPER_ELEMENT_OPTIONAL(
QList<int>, includedCarrierNum)
720 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedCarrierNum)
722 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
723 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
724 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::BoardingOrArrivalRestrictionType, boardingOrArrival, BoardingOrArrivalRestrictionType::boarding)
730 UPER_EXTENDABLE_GADGET
731 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
732 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
733 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
734 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
735 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
736 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
737 UPER_ELEMENT_OPTIONAL(
int, passType)
738 UPER_ELEMENT_OPTIONAL(
QString, passDescription)
739 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
740 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
741 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
742 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
743 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
744 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
745 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
747 UPER_ELEMENT_OPTIONAL(
int, numberOfValidityDays)
749 UPER_ELEMENT_OPTIONAL(
int, numberOfPossibleTrips)
750 UPER_ELEMENT_OPTIONAL(
int, numberOfDaysOfTravel)
751 UPER_ELEMENT_OPTIONAL(
QList<int>, activatedDay)
753 UPER_ELEMENT_OPTIONAL(
QList<int>, includedCarrierNum)
755 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedCarrierNum)
757 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
758 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
761 UPER_ELEMENT_OPTIONAL(
int, price)
763 UPER_ELEMENT_OPTIONAL(
QString, infoText)
768 Q_INVOKABLE [[nodiscard]]
QDateTime validFrom(
const QDateTime &issueingDateTime)
const;
769 Q_INVOKABLE [[nodiscard]]
QDateTime validUntil(
const QDateTime &issueingDateTime)
const;
774 UPER_EXTENDABLE_GADGET
775 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
776 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
777 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
778 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
779 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
780 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
781 UPER_ELEMENT(
int, validFromYear)
782 UPER_ELEMENT(
int, validFromDay)
783 UPER_ELEMENT(
int, validUntilYear)
784 UPER_ELEMENT(
int, validUntilDay)
785 UPER_ELEMENT_DEFAULT(
int, value, 0)
786 UPER_ELEMENT_OPTIONAL(
int, type)
787 UPER_ELEMENT_OPTIONAL(
QString, infoText)
794 UPER_EXTENDABLE_GADGET
797 UPER_ELEMENT_OPTIONAL(
int, cardIdNum)
798 UPER_ELEMENT(
int, validFromYear)
799 UPER_ELEMENT_OPTIONAL(
int, validFromDay)
800 UPER_ELEMENT_DEFAULT(
int, validUntilYear, 0)
801 UPER_ELEMENT_OPTIONAL(
int, validUntilDay)
802 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::TravelClassType, classCode)
803 UPER_ELEMENT_OPTIONAL(
int, cardType)
804 UPER_ELEMENT_OPTIONAL(
QString, cardTypeDescr)
805 UPER_ELEMENT_OPTIONAL(
int, customerStatus)
806 UPER_ELEMENT_OPTIONAL(
QByteArray, customerStatusDescr)
807 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServices)
811 Q_PROPERTY(
QDate validFrom READ validFrom)
812 Q_PROPERTY(
QDate validUntil READ validUntil)
814 [[nodiscard]]
QDate validFrom()
const;
815 [[nodiscard]]
QDate validUntil()
const;
820 UPER_EXTENDABLE_GADGET
821 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
822 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
823 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
824 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
825 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
826 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
827 UPER_ELEMENT_OPTIONAL(
QByteArray, ticketReferenceIA5)
828 UPER_ELEMENT_OPTIONAL(
int, ticketReferenceNum)
829 UPER_ELEMENT(
int, numberOfCountermark)
830 UPER_ELEMENT(
int, totalOfCountermarks)
831 UPER_ELEMENT(
QString, groupName)
832 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
833 UPER_ELEMENT_OPTIONAL(
int, fromStationNum)
834 UPER_ELEMENT_OPTIONAL(
QByteArray, fromStationIA5)
835 UPER_ELEMENT_OPTIONAL(
int, toStationNum)
836 UPER_ELEMENT_OPTIONAL(
QByteArray, toStationIA5)
837 UPER_ELEMENT_OPTIONAL(
QString, fromStationNameUTF8)
838 UPER_ELEMENT_OPTIONAL(
QString, toStationNameUTF8)
839 UPER_ELEMENT_OPTIONAL(
QString, validRegionDesc)
841 UPER_ELEMENT(
bool, returnIncluded)
842 UPER_ELEMENT_OPTIONAL(KItinerary::Fcb::v3::ReturnRouteDescriptionType, returnDescription)
843 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
844 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
845 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
846 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
847 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
848 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
849 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
852 UPER_ELEMENT_OPTIONAL(
QList<int>, includedServiceBrands)
853 UPER_ELEMENT_OPTIONAL(
QList<int>, excludedServiceBrands)
854 UPER_ELEMENT_OPTIONAL(
QString, infoText)
861 UPER_EXTENDABLE_GADGET
862 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
863 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
865 UPER_ELEMENT(
int, fromParkingDate)
866 UPER_ELEMENT_DEFAULT(
int, untilParkingDate, 0)
867 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
868 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
869 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
870 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
872 UPER_ELEMENT(
QString, location)
873 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
874 UPER_ELEMENT_OPTIONAL(
int, stationNum)
875 UPER_ELEMENT_OPTIONAL(
QString, stationIA5)
876 UPER_ELEMENT_OPTIONAL(
QString, specialInformation)
877 UPER_ELEMENT_OPTIONAL(
QString, entryTrack)
878 UPER_ELEMENT_OPTIONAL(
QByteArray, numberPlate)
879 UPER_ELEMENT_OPTIONAL(
int, price)
887 UPER_EXTENDABLE_GADGET
888 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
889 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
890 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
891 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
892 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
893 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
894 UPER_ELEMENT_DEFAULT(
int, validFromDay, 0)
895 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
896 UPER_ELEMENT_OPTIONAL(
QList<int>, activatedDay)
899 UPER_ELEMENT(
int, numberOfTravelDays)
900 UPER_ELEMENT(
bool, includesSupplements)
901 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TravelClassType, classCode, second)
908 UPER_EXTENDABLE_GADGET
909 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
910 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
911 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
912 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
913 UPER_ELEMENT_OPTIONAL(
int, productIdNum)
914 UPER_ELEMENT_OPTIONAL(
QByteArray, productIdIA5)
915 UPER_ELEMENT_OPTIONAL(
QString, productName)
916 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
920 UPER_ELEMENT_OPTIONAL(
QList<int>, areaCodeNum)
923 UPER_ELEMENT(
int, validFromDay)
924 UPER_ELEMENT_OPTIONAL(
int, validFromTime)
925 UPER_ELEMENT_OPTIONAL(
int, validFromUTCOffset)
926 UPER_ELEMENT_DEFAULT(
int, validUntilDay, 0)
927 UPER_ELEMENT_OPTIONAL(
int, validUntilTime)
928 UPER_ELEMENT_OPTIONAL(
int, validUntilUTCOffset)
929 UPER_ELEMENT_OPTIONAL(
int, numberOfDaysValid)
934enum ConfirmationType {
935 trainDelayConfirmation = 0,
936 travelerDelayConfirmation = 1,
937 trainLinkedTicketDelay = 2,
939UPER_EXTENABLE_ENUM(ConfirmationType)
945 carCarriageReservation = 3,
947UPER_EXTENABLE_ENUM(TicketType)
951 onlyValidInCombination = 1,
953UPER_EXTENABLE_ENUM(LinkMode)
956class TicketLinkType {
957 UPER_EXTENDABLE_GADGET
958 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
959 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
960 UPER_ELEMENT_OPTIONAL(
QString, issuerName)
962 UPER_ELEMENT_OPTIONAL(
int, productOwnerNum)
963 UPER_ELEMENT_OPTIONAL(
QByteArray, productOwnerIA5)
964 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::TicketType, ticketType, openTicket)
965 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::LinkMode, linkMode, issuedTogether)
971 UPER_EXTENDABLE_GADGET
972 UPER_ELEMENT_OPTIONAL(
QByteArray, referenceIA5)
973 UPER_ELEMENT_OPTIONAL(
int, referenceNum)
974 UPER_ELEMENT_OPTIONAL(
int, trainNum)
976 UPER_ELEMENT_OPTIONAL(
int, departureYear)
977 UPER_ELEMENT_OPTIONAL(
int, departureDay)
978 UPER_ELEMENT_OPTIONAL(
int, departureTime)
979 UPER_ELEMENT_OPTIONAL(
int, departureUTCOffset)
980 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::CodeTableType, stationCodeTable, stationUIC)
981 UPER_ELEMENT_OPTIONAL(
int, stationNum)
983 UPER_ELEMENT(
int, delay)
984 UPER_ELEMENT(
bool, trainCancelled)
985 UPER_ELEMENT_DEFAULT(KItinerary::Fcb::v3::ConfirmationType, confirmationType, travelerDelayConfirmation)
987 UPER_ELEMENT_OPTIONAL(
QString, infoText)
995 UPER_ELEMENT_OPTIONAL(
int, tokenProviderNum)
996 UPER_ELEMENT_OPTIONAL(
QByteArray, tokenProviderIA5)
997 UPER_ELEMENT_OPTIONAL(
QByteArray, tokenSpecification)
1018 UPER_EXTENDABLE_GADGET
1020 UPER_ELEMENT_CHOICE(ticket,
1033 UPER_GADGET_FINALIZE
1038 UPER_EXTENDABLE_GADGET
1039 UPER_ELEMENT_OPTIONAL(QList <KItinerary::Fcb::v3::CardReferenceType>, identificationByCardReference)
1040 UPER_ELEMENT(
bool, identificationByIdCard)
1041 UPER_ELEMENT(
bool, identificationByPassportId)
1042 UPER_ELEMENT_OPTIONAL(
int, identificationItem)
1043 UPER_ELEMENT(
bool, passportValidationRequired)
1044 UPER_ELEMENT(
bool, onlineValidationRequired)
1045 UPER_ELEMENT_OPTIONAL(
int, randomDetailedValidationRequired)
1046 UPER_ELEMENT(
bool, ageCheckRequired)
1047 UPER_ELEMENT(
bool, reductionCardCheckRequired)
1048 UPER_ELEMENT_OPTIONAL(
QString, infoText)
1051 UPER_GADGET_FINALIZE
1055class KITINERARY_EXPORT UicRailTicketData {
1056 UPER_EXTENDABLE_GADGET
1062 UPER_GADGET_FINALIZE
1064 UicRailTicketData();
1066 explicit UicRailTicketData(
const QByteArray &data);
1068 [[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.