Home » NOVA Booking » NOVA Booking Data Types

NOVA Booking Data Types (Package ch.voev.nova.booking.datatypes)

Types / Enumerations:


Types

BookableItemID

Type represents the ID of a bookable item (formerly named LeistungsID).


Type Details Details
Alias LeistungsID


Properties / Associations

Name Type Multiplicity Constraints Description
id String 1..1


BookableItemReferenceCode

Type represents a so called reference code for bookable items. The reference code is a short code that can be used to reference a bookable item. As it is not unique clients working with the reference code must be able to handle cases where more than one bookable item can be found using the reference code.


Type Details Details
Alias LeistungsReferenz


Properties / Associations

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


BookingID

Type represents the ID of a booking. A booking consists of one or more bookable items.


Properties / Associations

Name Type Multiplicity Constraints Description
id String 1..1



Enumerations

BookableItemType

Enumeration defines the different types of bookable items.

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
SALE Literal used to represent a sale.
REFUND Literal used to represent a refund. Refunds are used whenever a bookeable item that was issued and handed out to a customer should be returned.
REVOCATION Literal used to represent a revocation of a sale. Revocations are used in case that a wrong bookable item was issued. Usually this can only happen on served channels
ACTIVATION
REVOCATION_OF_REFUND Literal used to represent the case that the refund of bookable item should be undone.
UNKNOWN Please be aware that this enum is an extensible enum. This means that new literals can be introduced without prior notice.