Package

com.gu.memsub

promo

Permalink

package promo

Visibility
  1. Public
  2. All

Type Members

  1. case class AppliesTo(productRatePlanIds: Set[ProductRatePlanId], countries: Set[Country]) extends Product with Serializable

    Permalink
  2. sealed trait Both extends NewUsers with Upgrades

    Permalink
  3. case class FreeTrial(duration: Days) extends PromotionType with NewUsers with Product with Serializable

    Permalink
  4. case class Incentive(redemptionInstructions: String, termsAndConditions: String) extends PromotionType with Both with Product with Serializable

    Permalink
  5. sealed trait NewUsers extends PromoContext

    Permalink
  6. case class PercentDiscount(durationMonths: Option[Int], amount: Double) extends PromotionType with Both with Product with Serializable

    Permalink
  7. case class PromoCode(get: String) extends Product with Serializable

    Permalink
  8. case class PromoCodeSet(webCode: PromoCode, otherCodes: PromoCode*) extends Product with Serializable

    Permalink
  9. sealed trait PromoContext extends AnyRef

    Permalink
  10. sealed trait PromoError extends AnyRef

    Permalink
  11. case class Promotion[+T <: PromotionType](appliesTo: AppliesTo, campaignName: String, codes: PromoCodeSet, description: String, starts: github.nscala_time.time.Imports.DateTime, expires: github.nscala_time.time.Imports.DateTime, imageUrl: Option[String], promotionType: T, roundelHtml: String, title: String) extends Product with Serializable

    Permalink
  12. trait PromotionApplicator[T <: PromoContext, A] extends AnyRef

    Permalink
  13. trait PromotionMatcher[T <: PromoContext] extends AnyRef

    Permalink
  14. sealed trait PromotionType extends AnyRef

    Permalink
  15. sealed trait Upgrades extends PromoContext

    Permalink
  16. case class ValidPromotion[+C <: PromoContext](code: PromoCode, promotionType: PromotionType with C) extends Product with Serializable

    Permalink

Value Members

  1. object AppliesTo extends Serializable

    Permalink
  2. object ExpiredPromotion extends PromoError with Product with Serializable

    Permalink
  3. object Formatters

    Permalink
  4. object InvalidCountry extends PromoError with Product with Serializable

    Permalink
  5. object InvalidProductRatePlan extends PromoError with Product with Serializable

    Permalink
  6. object NoSuchCode extends PromoError with Product with Serializable

    Permalink
  7. object NotApplicable extends PromoError with Product with Serializable

    Permalink
  8. object Promotion extends Serializable

    Permalink
  9. object PromotionApplicator

    Permalink
  10. object PromotionMatcher

    Permalink
  11. object PromotionNotActiveYet extends PromoError with Product with Serializable

    Permalink
  12. object Tracking extends PromotionType with Both with Product with Serializable

    Permalink

Ungrouped