Home » NOVA Tariff » NOVA Tariff Data Types

NOVA Tariff Data Types (Package ch.voev.nova.tariff.datatypes)

Types / Enumerations:


Types

CustomerSegmentCode

Business code to uniquely identify a customer segment.


Properties / Associations

Name Type Multiplicity Constraints Description
code String 1..1 @Size(min=0, max=64)


PassengerRelationshipCode

Business code to uniquely identify a passenger relationship.


Type Details Details
Alias Reisendenbeziehung-Code


Properties / Associations

Name Type Multiplicity Constraints Description
code String 1..1 @Size(min=0, max=255)


ReductionCardCode

Business code to uniquely identify a reduction card.


Type Details Details
Alias Ermässigungskarte-Code


Properties / Associations

Name Type Multiplicity Constraints Description
code String 1..1 @Size(min=0, max=255)


TariffCode


Properties / Associations

Name Type Multiplicity Constraints Description
code String 1..1 @Size(min=0, max=32)



Enumerations

JourneyDirection

Enum which defines the direction of travel, e.g. single or return.

Please be aware that this type is a so called extensible enum. This means that additional literals might be added in the future and that this is considered to be a non-breaking / SemVer compliant change.

Literals

Name Description
SINGLE Literal for tickets where traveling is only allowed in one direction towards the destination stop.
RETURN Literal for tickets where traveling is allowed towards the destination stop and back to the departure stop again.
VALIDITY_AREA Literal for tickets where traveling within a certain area no matter in which direction is allowed.
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.

OfferRequestType

Enumeration defines the available types of offer requests for public transport tickets.

Please be aware that this type is a so called extensible enum. This means that additional literals might be added in the future and that this is considered to be a non-breaking / SemVer compliant change.

Literals

Name Description
TIMETABLE_CONNECTIONS_OFFER_REQUEST
ROUTE_OFFER_REQUEST
FARE_NETWORK_OFFER_REQUEST
PRODUCT_OFFER_REQUEST
RENEWAL_OFFER_REQUEST
ACTIVATION_OFFER_REQUEST
LEG_BASED_OFFER_REQUEST
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.

PassengerSubType

Allows a more detailed description of the passenger (e.g. PRM, WHEELCHAIR, etc.).

Literals

Name Description
PRM
ACCOMP_PRM
ACCOMP_DOG
WHEELCHAIR
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.

PassengerType

Enumeration which defines the passenger type as supported by NOVA (e.g. PERSON, DOG, BICYCLE).

Literals

Name Description
PERSON
BICYCLE
DOG
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.

TicketClass

Please be aware that this type is a so called extensible enum. This means that additional literals might be added in the future and that this is considered to be a non-breaking / SemVer compliant change.

Literals

Name Description
FIRST_CLASS
SECOND_CLASS
CLASS_UPGRADE
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.

TicketType

Enumeration defines the different type of public transport tickets.

Please be aware that this type is a so called extensible enum. This means that additional literals might be added in the future and that this is considered to be a non-breaking / SemVer compliant change.

Literals

Name Description
SINGLE_TICKET
SEASON_TICKET
GROUP_TICKET
MULTI_TRIP_TICKET
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.