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. case class FreeTrial(duration: Days) extends PromotionType with Product with Serializable

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

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

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

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

    Permalink
  7. sealed trait PromoError extends AnyRef

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

    Permalink
  9. sealed trait PromotionType extends AnyRef

    Permalink

Value Members

  1. object AppliesTo extends Serializable

    Permalink
  2. object ExpiredPromotion extends PromoError with Product with Serializable

    Permalink
  3. object InvalidCountry extends PromoError with Product with Serializable

    Permalink
  4. object InvalidProductRatePlan extends PromoError with Product with Serializable

    Permalink
  5. object NoSuchCode extends PromoError with Product with Serializable

    Permalink
  6. object Promotion extends Serializable

    Permalink
  7. object Testing extends PromotionType with Product with Serializable

    Permalink
  8. object Writers

    Permalink

Ungrouped