All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gu.config.HolidayRatePlanIds.scala Maven / Gradle / Ivy

There is a newer version: 0.605
Show newest version
package com.gu.config
import com.typesafe.config.Config
import com.gu.memsub.Subscription.{ProductRatePlanChargeId, ProductRatePlanId}
case class HolidayRatePlanIds(prpId: ProductRatePlanId, prpcId: ProductRatePlanChargeId)

object HolidayRatePlanIds {
  def apply(config: Config): HolidayRatePlanIds =
    HolidayRatePlanIds(
      prpId = ProductRatePlanId(config.getString("plan")),
      prpcId = ProductRatePlanChargeId(config.getString("charge"))
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy