def validateBillingPeriod()

in app/com/gu/memsub/subsv2/reads/ChargeListReads.scala [213:217]


    def validateBillingPeriod(zBillingPeriod: ZBillingPeriod): ValidationNel[String, BillingPeriod] = zBillingPeriod match {
      case ZMonth => Validation.success[NonEmptyList[String], BillingPeriod](Month)
      case ZYear => Validation.success[NonEmptyList[String], BillingPeriod](Year)
      case _ => Validation.failureNel(s"Tier three must have a Monthly or Annual billing period, not $zBillingPeriod")
    }