def apply()

in notificationworkerlambda/src/main/scala/com/gu/notifications/worker/delivery/apns/models/payload/ApnsPayloadBuilder.scala [18:26]


  def apply(notification: Notification): Option[ApnsPayload] = notification match {
      case n: BreakingNewsNotification => Some(breakingNewsPayload(n))
      case n: ContentNotification => Some(contentPayload(n))
      case n: FootballMatchStatusNotification => Some(footballMatchStatusPayload(n))
      case n: NewsstandShardNotification => Some(newsstandPayload(n))
      case n: EditionsNotification => Some(editionsPayload(n))
      case n: Us2020ResultsNotification => Some(us2020ResultsPayload(n))
      case _ => None
  }