Libticketto
    Preparing search index...

    Type Alias Ticket<FileLike>

    This structure represents a ticket.

    type Ticket<FileLike = FileLocation> = {
        attendancePolicy: AttendancePolicy;
        attendances: Timestamp[];
        eventId: EventId;
        forSale: boolean;
        id: TicketId;
        metadata?: TicketMetadata<FileLike>;
        owner: AccountId;
        price?: LineItemPrice;
        restrictions?: TicketRestrictions;
    }

    Type Parameters

    Index

    Properties

    attendancePolicy: AttendancePolicy

    The attendance policy of this ticket.

    attendances: Timestamp[]

    A list of possible attendances for the ticket.

    eventId: EventId

    The identifier for the ticket event.

    forSale: boolean

    A flag marking whther the ticket is available for direct sale.

    A unique identifier for the ticket.

    Optional metadata that is visible when attached on a ticket.

    owner: AccountId

    The account that owns the ticket.

    If the ticket is available for sale, indicate the item's price.

    restrictions?: TicketRestrictions

    The restrictions associated to the ticket.