in lambda/src/main/scala/pricemigrationengine/migrations/Newspaper2024Migration/StaticData.scala [194:210]
def priceLookup(product: String, billingPeriod: BillingPeriod, ratePlanName: String): Option[BigDecimal] = {
val empty: Map[String, BigDecimal] = Map()
val priceMap = (product, billingPeriod) match {
case ("Newspaper Delivery", Monthly) => newspaperHomeDeliveryMonthlyPrices
case ("Newspaper Delivery", Quarterly) => newspaperHomeDeliveryQuarterlyPrices
case ("Newspaper Digital Voucher", Monthly) => newspaperSubscriptionCardMonthlyPrices
case ("Newspaper Digital Voucher", Quarterly) => newspaperSubscriptionCardQuarterlyPrices
case ("Newspaper Digital Voucher", SemiAnnual) => newspaperSubscriptionCardSemiAnnualPrices
case ("Newspaper Digital Voucher", Annual) => newspaperSubscriptionCardAnnualPrices
case ("Newspaper Voucher", Monthly) => newspaperVoucherBookMonthlyPrices
case ("Newspaper Voucher", Quarterly) => newspaperVoucherBookQuarterlyPrices
case ("Newspaper Voucher", SemiAnnual) => newspaperVoucherBookSemiAnnualPrices
case ("Newspaper Voucher", Annual) => newspaperVoucherBookAnnualPrices
case _ => empty
}
priceMap.get(ratePlanName)
}