Skip to content

Commit

Permalink
Merge 3fcafd3 into 4ad26b9
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Galic committed Sep 26, 2019
2 parents 4ad26b9 + 3fcafd3 commit bfa1aeb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
Expand Up @@ -123,30 +123,21 @@ object GuardianWeeklyHolidayStopConfig {

lazy val Prod =
GuardianWeeklyHolidayStopConfig(
HolidayCreditProduct(
productRatePlanId = "2c92a0076ae9189c016b080c930a6186",
productRatePlanChargeId = "2c92a0086ae928d7016b080f638477a6"
),
HolidayCreditProduct.Prod,
guardianWeeklyProductRatePlanIdsPROD,
gwNforNProductRatePlanIdsPROD,
)

lazy val Code =
GuardianWeeklyHolidayStopConfig(
HolidayCreditProduct(
productRatePlanId = "2c92c0f86b0378b0016b08112e870d0a",
productRatePlanChargeId = "2c92c0f86b0378b0016b08112ec70d14"
),
HolidayCreditProduct.Code,
guardianWeeklyProductRatePlanIdsUAT,
gwNforNProductRatePlanIdsUAT
)

lazy val Dev =
GuardianWeeklyHolidayStopConfig(
HolidayCreditProduct(
productRatePlanId = "2c92c0f96b03800b016b081fc04f1ba2",
productRatePlanChargeId = "2c92c0f96b03800b016b081fc0f41bb4"
),
HolidayCreditProduct.Dev,
guardianWeeklyProductRatePlanIdsDEV,
gwNforNProductRatePlanIdsDEV
)
Expand Down
@@ -1,8 +1,10 @@
package com.gu.holiday_stops

/**
* Same Discount product is reused for all products, namely:
* Same Discount holiday stop product is reused for all products, namely:
* 'DO NOT USE MANUALLY: Holiday Credit - automated'
*
* https://www.zuora.com/apps/Product.do?method=view&id=2c92a0ff5345f9200153559c6d2a3385#ST_DO%20NOT%20USE%20MANUALLY:%20Holiday%20Credit%20-%20automated
*/
case class HolidayCreditProduct(
productRatePlanId: String,
Expand Down
@@ -1,31 +1,21 @@
package com.gu.holiday_stops

// DO NOT USE MANUALLY: Holiday Credit - automated
case class SundayVoucherHolidayStopConfig(
holidayCreditProduct: HolidayCreditProduct,
productRatePlanChargeId: String
)

object SundayVoucherHolidayStopConfig {
val Prod = SundayVoucherHolidayStopConfig(
holidayCreditProduct = HolidayCreditProduct(
productRatePlanId = "2c92a0076ae9189c016b080c930a6186",
productRatePlanChargeId = "2c92a0086ae928d7016b080f638477a6"
),
HolidayCreditProduct.Prod,
productRatePlanChargeId = "2c92a0fe5af9a6b9015b0fe1ed121177"
)
val Code = SundayVoucherHolidayStopConfig(
holidayCreditProduct = HolidayCreditProduct(
productRatePlanId = "2c92c0f86b0378b0016b08112e870d0a",
productRatePlanChargeId = "2c92c0f86b0378b0016b08112ec70d14"
),
HolidayCreditProduct.Code,
productRatePlanChargeId = "2c92c0f95aff3b54015b0ee0eb620b30"
)
val Dev = SundayVoucherHolidayStopConfig(
holidayCreditProduct = HolidayCreditProduct(
productRatePlanId = "2c92c0f96b03800b016b081fc04f1ba2",
productRatePlanChargeId = "2c92c0f96b03800b016b081fc0f41bb4"
),
HolidayCreditProduct.Dev,
productRatePlanChargeId = "2c92c0f95aff3b56015b1045fba832d4"
)
}

0 comments on commit bfa1aeb

Please sign in to comment.