-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #999 from guardian/ph-20240304-1000-GW2024-Prices
Encode GW2024 prices
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
lambda/src/main/scala/pricemigrationengine/migrations/GW2024Migration.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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package pricemigrationengine.migrations | ||
|
||
object GW2024Migration { | ||
|
||
val priceMapMonthlies: Map[String, BigDecimal] = Map( | ||
"GBP" -> BigDecimal(15), | ||
"USD" -> BigDecimal(30), | ||
"CAD" -> BigDecimal(33), | ||
"AUD" -> BigDecimal(40), | ||
"NZD" -> BigDecimal(50), | ||
"EUR" -> BigDecimal(26.5), | ||
) | ||
|
||
val priceMapQuarterlies: Map[String, BigDecimal] = Map( | ||
"GBP" -> BigDecimal(45), | ||
"USD" -> BigDecimal(90), | ||
"CAD" -> BigDecimal(99), | ||
"AUD" -> BigDecimal(120), | ||
"NZD" -> BigDecimal(150), | ||
"EUR" -> BigDecimal(79.5), | ||
) | ||
|
||
val priceMapAnnuals: Map[String, BigDecimal] = Map( | ||
"GBP" -> BigDecimal(180), | ||
"USD" -> BigDecimal(360), | ||
"CAD" -> BigDecimal(396), | ||
"AUD" -> BigDecimal(480), | ||
"NZD" -> BigDecimal(600), | ||
"EUR" -> BigDecimal(318), | ||
) | ||
|
||
} |