in lambda/src/main/scala/pricemigrationengine/migrations/Newspaper2024Migration/StaticData.scala [787:807]
def priceDistributionLookup(
product: String,
billingPeriod: BillingPeriod,
ratePlanName: String
): Option[ChargeDistribution2024] = {
val empty: Map[String, ChargeDistribution2024] = Map()
val priceMap = (product, billingPeriod) match {
case ("Newspaper Delivery", Monthly) => newspaperHomeDeliveryMonthlyChargeDistributionsMap
case ("Newspaper Delivery", Quarterly) => newspaperHomeDeliveryQuarterlyChargeDistributionsMap
case ("Newspaper Digital Voucher", Monthly) => newspaperSubscriptionCardMonthlyChargeDistributionsMap
case ("Newspaper Digital Voucher", Quarterly) => newspaperSubscriptionCardQuarterlyChargeDistributionsMap
case ("Newspaper Digital Voucher", SemiAnnual) => newspaperSubscriptionCardSemiAnnualChargeDistributionsMap
case ("Newspaper Digital Voucher", Annual) => newspaperSubscriptionCardAnnualChargeDistributionsMap
case ("Newspaper Voucher", Monthly) => newspaperVoucherBookMonthlChargeDistibutionsMap
case ("Newspaper Voucher", Quarterly) => newspaperVoucherBookQuarterlyChargeDistibutionsMap
case ("Newspaper Voucher", SemiAnnual) => newspaperVoucherBookSemiAnnualChargeDistributionsMap
case ("Newspaper Voucher", Annual) => newspaperVoucherBookAnnualChargeDistributionsMap
case _ => empty
}
priceMap.get(ratePlanName)
}