Package ch.voev.nova.contract.masterdata
Types / Enumerations:
Types
ContractCondition
Defines a condition of the contract.
Properties / Associations
ContractSubject
Abstract base class that represents the subject of a contract. As different types of contracts have different subjects it is intended that there are several contract type specific subclasses.
Type Details | Details |
Abstract | true |
Properties / Associations
Name | Type | Multiplicity | Constraints | Description |
Handout
Properties / Associations
SubscriptionContractDataUnit
Type Details | Details |
Parent Class | DataUnit |
Properties / Associations
SubscriptionContractFamily
Properties / Associations
SubscriptionContractTemplate
Properties / Associations
SubscriptionContractTemplateMasterData
Properties / Associations
SubscriptionContractTemplateTaxonomy
Type represents a taxonomy for subscription contracts. A taxonomy usually consists of multiple "classes" that are used to categorize subscription contracts.
Properties / Associations
Name | Type | Multiplicity | Constraints | Description |
classes | SubscriptionContractTemplateTaxonomyClass | 0..* | | List with all taxonomy classes that belong to this taxonomy. |
name | String | 1..1 | @Size(min=0, max=255) | Name of the taxonomy. |
SubscriptionContractTemplateTaxonomyClass
Type represents a concrete taxonomy class for subscription contracts. Taxonomy classes are used to categorize subscription contract templates.
Properties / Associations
Name | Type | Multiplicity | Constraints | Description |
className | String | 1..1 | @Size(min=0, max=255) | Name of the class. |
name | LocalizedString | 0..1 | | Localized name to the taxonomy class. |
contractTemplates | SubscriptionContractTemplate | 0..* | | List with all subscription contract templates that belong to this class. |
SubscriptionContractTemplateTaxonomyMasterData
Properties / Associations
SubscriptionContractTerms
Properties / Associations
Name | Type | Multiplicity | Constraints | Description |
sellableFrom | java.time.LocalDate | 1..1 | | |
sellableThrough | java.time.LocalDate | 1..1 | | |
presalePeriod | Duration | 1..1 | | The time period defining the latest start of the contract in the future. |
terminationConditions | TerminationCondition | 0..* | | The list of termination conditions for this contract defining the possible termination cases. |
supportedProducts | ProductTaxonomy | 0..* | | List of products for which the travel credit can be used. In order to avoid new versions of the subscription contract terms over and over again. The list of supported products is not defined directly but by using an product taxonomy. |
handoutLinks | Handout | 0..* | | |
withdrawalPeriod | Duration | 1..1 | | The time period in which a withdrawal from the contract without any consequences for the contract partner is possible. |
conditions | ContractCondition | 1..* | | The conditions of the contract. At least one condition has to be always present. The list is sorted by order of the conditions in the contract layout. |
tariffOwner | Organization | 1..1 | | Tariff owner of the contract terms. |
SubscriptionContractTermsMasterData
Properties / Associations
TerminationCondition
Defines a termination case that is possible for these contract terms. The termination condition consists of a description and the eligible channels that are allowed to issue this termination.
Properties / Associations
Name | Type | Multiplicity | Constraints | Description |
type | TerminationType | 1..1 | | Defines the type of termination reason that belongs to this termination condition |
terminationFee | MoneyAmount | 1..1 | | |
description | LocalizedString | 1..1 | | Can be used by the channel to display a description of the termination condition. |
eligibleChannelTypes | ChannelType | 1..* | | Defines the list of channel types that are allowed to trigger this exact case of termination on a contract. |
TravelCreditContractSubject
Properties / Associations
Name | Type | Multiplicity | Constraints | Description |
credit | MoneyAmount | 1..1 | | Amount that is available to buy tickets. This includes the bonus that might be granted to a customer. |
Enumerations
HandoutCategory
Literals
Name | Description |
AGB | |
OTHER | |
UNKNOWN | Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice. |
PaymentInterval
Literals
Name | Description |
INITIATED_BY_CUSTOMER | |
MONTHLY | |
ANNUAL | |
UNKNOWN | Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice. |