Skip to content

Commit

Permalink
Get the HolidayStopCreditProcessor to process Tier Three
Browse files Browse the repository at this point in the history
  • Loading branch information
rupertbates committed Jun 20, 2024
1 parent f7102c2 commit 2a2f2ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ object HolidayStopCreditProcessor {
NewspaperDigitalVoucher,
GuardianWeekly,
NewspaperNationalDelivery,
TierThree,
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ object ZuoraProductTypes {
object NewspaperDigitalVoucher extends ZuoraProductType("Newspaper - Digital Voucher")
object NewspaperNationalDelivery extends ZuoraProductType("Newspaper - National Delivery")
object GuardianWeekly extends ZuoraProductType("Guardian Weekly")
object TierThree extends ZuoraProductType("Tier Three") // Tier Three is a bundle product containing Guardian Weekly
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,23 +82,6 @@ object SupportedProduct {
"GW Oct 18 - Monthly - Domestic",
List(SupportedRatePlanCharge("GW Oct 18 - Monthly - Domestic", DayOfWeek.FRIDAY)),
),
// Tier Three rate plans
SupportedRatePlan(
"Supporter Plus & Guardian Weekly Domestic - Monthly",
List(SupportedRatePlanCharge("Guardian Weekly", DayOfWeek.FRIDAY)),
),
SupportedRatePlan(
"Supporter Plus & Guardian Weekly Domestic - Annual",
List(SupportedRatePlanCharge("Guardian Weekly", DayOfWeek.FRIDAY)),
),
SupportedRatePlan(
"Supporter Plus & Guardian Weekly ROW - Monthly",
List(SupportedRatePlanCharge("Guardian Weekly", DayOfWeek.FRIDAY)),
),
SupportedRatePlan(
"Supporter Plus & Guardian Weekly ROW - Annual",
List(SupportedRatePlanCharge("Guardian Weekly", DayOfWeek.FRIDAY)),
),
),
),
SupportedProduct(
Expand Down

0 comments on commit 2a2f2ff

Please sign in to comment.