private def getSubscriptionFriendlyName()

in membership-attribute-service/app/models/ExistingPaymentOption.scala [23:28]


    private def getSubscriptionFriendlyName(plan: RatePlan, catalog: Catalog): String = plan.product(catalog) match {
      case _: Product.Weekly => "Guardian Weekly"
      case Product.Membership => plan.productName + " Membership"
      case Product.Contribution => plan.name(catalog)
      case _ => plan.productName // Newspaper & Digipack
    }