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 scala.Product with Serializable

    Permalink
  2. sealed trait Both extends NewUsers with Upgrades

    Permalink
  3. case class Campaign(code: CampaignCode, productFamily: ProductFamily, name: String) extends scala.Product with Serializable

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

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

    Permalink
  6. class DynamoPromoCollection extends PromotionCollection

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

    Permalink
  8. case class HeroImage(image: ResponsiveImageGroup, alignment: HeroImageAlignment) extends scala.Product with Serializable

    Permalink
  9. sealed trait HeroImageAlignment extends AnyRef

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

    Permalink
  11. sealed trait LandingPage extends AnyRef

    Permalink
  12. case class MembershipLandingPage(title: Option[String], subtitle: Option[String], description: Option[String], roundelHtml: Option[String], heroImage: Option[HeroImage], image: Option[ResponsiveImageGroup]) extends LandingPage with scala.Product with Serializable

    Permalink
  13. sealed trait NewUsers extends PromoContext

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

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

    Permalink
  16. sealed trait PromoContext extends AnyRef

    Permalink
  17. sealed trait PromoError extends AnyRef

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

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

    Permalink
  20. trait PromotionCollection extends AnyRef

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

    Permalink
  22. sealed trait PromotionType extends AnyRef

    Permalink
  23. sealed trait SectionColour extends AnyRef

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

    Permalink
  25. case class SubscriptionsLandingPage(title: Option[String], description: Option[String], roundelHtml: Option[String], image: Option[ResponsiveImageGroup], sectionColour: Option[SectionColour]) extends LandingPage with scala.Product with Serializable

    Permalink
  26. sealed trait Upgrades extends PromoContext

    Permalink
  27. case class ValidPromotion[+C <: PromoContext](code: PromoCode, promotion: Promotion[PromotionType with C, Option, LandingPage]) extends scala.Product with Serializable

    Permalink

Value Members

  1. object AppliesTo extends Serializable

    Permalink
  2. object Blue extends SectionColour with scala.Product with Serializable

    Permalink
  3. object Bottom extends HeroImageAlignment with scala.Product with Serializable

    Permalink
  4. object Centre extends HeroImageAlignment with scala.Product with Serializable

    Permalink
  5. object DynamoPromoCollection

    Permalink
  6. object DynamoTables

    Permalink
  7. object ExpiredPromotion extends PromoError with scala.Product with Serializable

    Permalink
  8. object Formatters

    Permalink
  9. object Grey extends SectionColour with scala.Product with Serializable

    Permalink
  10. object InvalidCountry extends PromoError with scala.Product with Serializable

    Permalink
  11. object InvalidProductRatePlan extends PromoError with scala.Product with Serializable

    Permalink
  12. object NoSuchCode extends PromoError with scala.Product with Serializable

    Permalink
  13. object NotApplicable extends PromoError with scala.Product with Serializable

    Permalink
  14. object PercentDiscount extends Serializable

    Permalink
  15. object Promotion extends Serializable

    Permalink
  16. object PromotionApplicator

    Permalink
  17. object PromotionMatcher

    Permalink
  18. object PromotionNotActiveYet extends PromoError with scala.Product with Serializable

    Permalink
  19. object PromotionType

    Permalink
  20. object Top extends HeroImageAlignment with scala.Product with Serializable

    Permalink
  21. object Tracking extends PromotionType with Both with scala.Product with Serializable

    Permalink
  22. object White extends SectionColour with scala.Product with Serializable

    Permalink

Ungrouped