Class AttendingTicketUIModel

java.lang.Object
com.example.breeze_seas.AttendingTicketUIModel

public class AttendingTicketUIModel extends Object
UI-facing model for confirmed attending tickets.

This remains separate from any eventual Firestore document shape so the repository can map backend data into ticket-specific presentation fields later.

  • Constructor Details

    • AttendingTicketUIModel

      public AttendingTicketUIModel(String eventId, String title, String dateLabel, String locationLabel, String ticketTypeLabel, String entryNote, String actionLabel)
      Creates a presentation model for one attending ticket card.
      Parameters:
      eventId - Firestore event identifier for the related event.
      title - Event title shown on the card.
      dateLabel - Human-readable date string shown on the card.
      locationLabel - Human-readable location string shown on the card.
      ticketTypeLabel - Summary label describing the ticket type/state.
      entryNote - Supporting copy shown under the main ticket details.
      actionLabel - Label describing the tap action available on the card.
    • AttendingTicketUIModel

      public AttendingTicketUIModel(String eventId, String title, String dateLabel, String locationLabel, String ticketTypeLabel, String entryNote, String actionLabel, @Nullable String imageDocId)
      Creates a presentation model for one attending ticket card.
      Parameters:
      eventId - Firestore event identifier for the related event.
      title - Event title shown on the card.
      dateLabel - Human-readable date string shown on the card.
      locationLabel - Human-readable location string shown on the card.
      ticketTypeLabel - Summary label describing the ticket type/state.
      entryNote - Supporting copy shown under the main ticket details.
      actionLabel - Label describing the tap action available on the card.
      imageDocId - Optional image document id for the event poster.
  • Method Details

    • getEventId

      public String getEventId()
      Returns the Firestore event identifier for the related event.
      Returns:
      Firestore event identifier.
    • getTitle

      public String getTitle()
      Returns the title shown on the attending ticket card.
      Returns:
      Event title shown on the card.
    • getDateLabel

      public String getDateLabel()
      Returns the date string shown on the attending ticket card.
      Returns:
      Human-readable event date label.
    • getLocationLabel

      public String getLocationLabel()
      Returns the location string shown on the attending ticket card.
      Returns:
      Human-readable location label.
    • getTicketTypeLabel

      public String getTicketTypeLabel()
      Returns the ticket-type label shown on the attending ticket card.
      Returns:
      Ticket-type summary label.
    • getEntryNote

      public String getEntryNote()
      Returns the supporting note shown below the main card details.
      Returns:
      Supporting entry note.
    • getActionLabel

      public String getActionLabel()
      Returns the label describing the available card action.
      Returns:
      Action label shown on the card.
    • getImageDocId

      @Nullable public String getImageDocId()
      Returns the optional event poster image document id.
      Returns:
      Firestore image document id, or null when unavailable.