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 Campaign(code: CampaignCode, productFamily: ProductFamily, name: String) extends Product with Serializable

    Permalink
  4. case class CampaignCode(get: String) extends Product with Serializable

    Permalink
  5. case class Channel(get: String) extends Product with Serializable

    Permalink
  6. class DynamoPromoCollection extends PromotionCollection

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

    Permalink
  8. case class Incentive(redemptionInstructions: String, termsAndConditions: Option[String]) extends PromotionType with Both with Product with Serializable

    Permalink
  9. case class LandingPage(title: Option[String], description: Option[String], roundelHtml: Option[String], imageUrl: Option[Uri], sectionColour: Option[SectionColour]) extends Product with Serializable

    Permalink
  10. sealed trait NewUsers extends PromoContext

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

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

    Permalink
  13. sealed trait PromoContext extends AnyRef

    Permalink
  14. sealed trait PromoError extends AnyRef

    Permalink
  15. case class Promotion[+T <: PromotionType, M[_]](uuid: UUID, name: String, description: String, appliesTo: AppliesTo, campaign: CampaignCode, channelCodes: Map[Channel, Set[PromoCode]], landingPage: M[LandingPage], starts: github.nscala_time.time.Imports.DateTime, expires: Option[github.nscala_time.time.Imports.DateTime], promotionType: T) extends Product with Serializable

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

    Permalink
  17. trait PromotionCollection extends AnyRef

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

    Permalink
  19. sealed trait PromotionType extends AnyRef

    Permalink
  20. sealed trait SectionColour extends AnyRef

    Permalink
  21. case class StaticPromotionCollection(all: AnyPromotion*) extends PromotionCollection with Product with Serializable

    Permalink
  22. sealed trait Upgrades extends PromoContext

    Permalink
  23. 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 Blue extends SectionColour with Product with Serializable

    Permalink
  3. object DynamoPromoCollection

    Permalink
  4. object DynamoTables

    Permalink
  5. object ExpiredPromotion extends PromoError with Product with Serializable

    Permalink
  6. object Formatters

    Permalink
  7. object Grey extends SectionColour with Product with Serializable

    Permalink
  8. object InvalidCountry extends PromoError with Product with Serializable

    Permalink
  9. object InvalidProductRatePlan extends PromoError with Product with Serializable

    Permalink
  10. object NoSuchCode extends PromoError with Product with Serializable

    Permalink
  11. object NotApplicable extends PromoError with Product with Serializable

    Permalink
  12. object PercentDiscount extends Serializable

    Permalink
  13. object Promotion extends Serializable

    Permalink
  14. object PromotionApplicator

    Permalink
  15. object PromotionMatcher

    Permalink
  16. object PromotionNotActiveYet extends PromoError with Product with Serializable

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

    Permalink
  18. object White extends SectionColour with Product with Serializable

    Permalink

Ungrouped