Libticketto
    Preparing search index...

    Type Alias TicketClass

    A specific class of ticket that is issued for attending to an event.

    type TicketClass = {
        attendancePolicy: AttendancePolicy;
        constraints?: Record<string, unknown>;
        description?: string;
        maxIssuance?: number;
        metadata?: Metadata;
        ticketprice: LineItemPrice;
        ticketRestrictions: TicketRestrictions;
    }
    Index

    Properties

    attendancePolicy: AttendancePolicy

    The attendance policy for a ticket. This defines how to validate whether marking an attendance for a ticket should be accepted or not.

    constraints?: Record<string, unknown>

    A series of (business-logic) requirements the seller might require when issuing a ticket instance of this class

    description?: string

    A descriptive message for users to understand what this class means (e.g. Early Bird, VIP)

    maxIssuance?: number

    The maxmimum number of ticket instances that can be issued for this class. Cannot be greater than the capacity of the event.

    metadata?: Metadata

    JSON Schema that specifies metadata (e.g. location, tier, acommodations) associated to the class

    ticketprice: LineItemPrice

    The price for the tickets sold for this event.

    ticketRestrictions: TicketRestrictions

    The restrictions imposed on the tickets sold for this event.