KItinerary::ProgramMembership

Search for usage in LXR

KItinerary::ProgramMembership Class Reference

#include <programmembership.h>

Properties

KItinerary::Person member
 
QString membershipNumber
 
QString programName
 
QVariantList subjectOf
 
QString token
 
QVariant tokenData
 
KItinerary::Token::TokenType tokenType
 
QDateTime validFrom
 
QDateTime validUntil
 

Public Member Functions

QVariant tokenData () const
 
Token::TokenType tokenType () const
 

Detailed Description

A frequent traveler, bonus points or discount scheme program membership.

See also
https://schema.org/ProgramMembership

Definition at line 21 of file programmembership.h.

Property Documentation

◆ member

KItinerary::Person KItinerary::ProgramMembership::member
readwrite

Definition at line 26 of file programmembership.h.

◆ membershipNumber

QString KItinerary::ProgramMembership::membershipNumber
readwrite

Definition at line 25 of file programmembership.h.

◆ programName

QString KItinerary::ProgramMembership::programName
readwrite

Definition at line 24 of file programmembership.h.

◆ subjectOf

QVariantList KItinerary::ProgramMembership::subjectOf
readwrite

Definition at line 27 of file programmembership.h.

◆ token

QString KItinerary::ProgramMembership::token
readwrite

KItinerary extension: barcode token for program membership cards having a barcode representation (e.g.

Deutsch Bahn BahnCards). Semantics are the same as of Ticket::ticketToken.

See also
Ticket::ticketToken

Definition at line 34 of file programmembership.h.

◆ tokenData

QVariant KItinerary::ProgramMembership::tokenData
read

The token payload for barcodes, otherwise the same as ticketToken.

For binary content barcodes this is a QByteArray, otherwise a QString.

Definition at line 41 of file programmembership.h.

◆ tokenType

KItinerary::Token::TokenType KItinerary::ProgramMembership::tokenType
read

The type of the token.

Definition at line 37 of file programmembership.h.

◆ validFrom

QDateTime KItinerary::ProgramMembership::validFrom
readwrite

Non-standard extension for ticket validity time ranges.

Definition at line 44 of file programmembership.h.

◆ validUntil

QDateTime KItinerary::ProgramMembership::validUntil
readwrite

Definition at line 45 of file programmembership.h.

Member Function Documentation

◆ tokenData()

QVariant ProgramMembership::tokenData ( ) const

Definition at line 42 of file programmembership.cpp.

◆ tokenType()

Token::TokenType ProgramMembership::tokenType ( ) const

Definition at line 37 of file programmembership.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:52:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.