-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Same Discount holiday stop product is reused for all products
- Loading branch information
Mario Galic
committed
Sep 26, 2019
1 parent
463f0ab
commit 3fcafd3
Showing
3 changed files
with
9 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
lib/holiday-stops/src/main/scala/com/gu/holiday_stops/HolidayCreditProduct.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 3 additions & 13 deletions
16
lib/holiday-stops/src/main/scala/com/gu/holiday_stops/SundayVoucherHolidayStopConfig.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
) | ||
} |