Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shtukas committed Jan 28, 2024
1 parent 18f8b9a commit 22a0095
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package pricemigrationengine.migrations.newspaper2024Migration
import pricemigrationengine.model._
import pricemigrationengine.util.StringObfuscation.obfuscate

import java.time.LocalDate

Expand Down Expand Up @@ -866,6 +865,6 @@ object PriceCapping {
"1&244AS097T" -> BigDecimal(0.83),
"1&244S4TAT6" -> BigDecimal(0.83),
)
mapping.getOrElse(obfuscate(subscription.subscriptionNumber), BigDecimal(1))
mapping.getOrElse(StringObfuscation.obfuscate(subscription.subscriptionNumber), BigDecimal(1))
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pricemigrationengine.util
package pricemigrationengine.migrations.newspaper2024Migration
import java.time.LocalDate

object StringObfuscation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import pricemigrationengine.migrations.newspaper2024Migration.Estimation._
import pricemigrationengine.migrations.newspaper2024Migration.Amendment._
import pricemigrationengine.migrations.newspaper2024Migration.{Estimation, StaticData}
import pricemigrationengine.migrations.newspaper2024Migration.StaticData.{ChargeDistribution2024, IndividualCharge2024}
import pricemigrationengine.util.StringObfuscation
import pricemigrationengine.migrations.newspaper2024Migration.StringObfuscation

/*
Correspondence between product names in Salesforce versus Zuora
Expand Down

0 comments on commit 22a0095

Please sign in to comment.