trait Acquisition extends ThriftStruct with Product19[Product, PaymentFrequency, String, Double, Option[PaymentProvider], Option[Set[String]], Option[AbTestInfo], Option[String], Option[String], Option[String], Option[String], Option[ComponentType], Option[AcquisitionSource], Option[PrintOptions], Option[Platform], Option[Short], Option[Double], Option[String], Option[Set[String]]] with HasThriftStructCodec3[Acquisition] with Serializable

Prefer the companion object's ophan.thrift.event.Acquisition.apply for construction if you don't need to specify passthrough fields.

Linear Supertypes
Serializable, HasThriftStructCodec3[Acquisition], Product19[Product, PaymentFrequency, String, Double, Option[PaymentProvider], Option[Set[String]], Option[AbTestInfo], Option[String], Option[String], Option[String], Option[String], Option[ComponentType], Option[AcquisitionSource], Option[PrintOptions], Option[Platform], Option[Short], Option[Double], Option[String], Option[Set[String]]], scala.Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Acquisition
  2. Serializable
  3. HasThriftStructCodec3
  4. Product19
  5. Product
  6. Equals
  7. ThriftStruct
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def abTests: Option[AbTestInfo]

    The ab tests the user was in on dotcom

  2. abstract def amount: Double

    Contributed amount in units of the currency received

  3. abstract def campaignCode: Option[Set[String]]

    The campaign code of the campaign that the user came from

  4. abstract def componentId: Option[String]

    An ID that can be used to distinguish different instances of a given component type

  5. abstract def componentTypeV2: Option[ComponentType]

    The type of component that the acquisition came from

  6. abstract def countryCode: Option[String]

    ISO-3166-aplha-2 country code representing where the user is from.

    ISO-3166-aplha-2 country code representing where the user is from. It is either the country of the card used, or the country of the contributor s address

  7. abstract def currency: String

    Currency code (ISO 4217 3-character, upper-case, eg USD, GBP)

  8. abstract def discountLengthInMonths: Option[Short]

    Length of the discount in months

  9. abstract def discountPercentage: Option[Double]

    Amount of discount, as a percentage

  10. abstract def labels: Option[Set[String]]

    Any additional labels.

    Any additional labels. In particular, extra information that is needed to calculate Annualised Value for this Acquisition (e.g. promotions like Guardian Weekly Six For Six) can go here.

  11. abstract def paymentFrequency: PaymentFrequency

    If the payment is a one off or reccuring

  12. abstract def paymentProvider: Option[PaymentProvider]

    The payment provider the user paid with

  13. abstract def platform: Option[Platform]

    Platform on which the acquisition occurred e.g.

    Platform on which the acquisition occurred e.g. Contributions, S&C

  14. abstract def printOptions: Option[PrintOptions]

    Extra parameters only applicable to print products

  15. abstract def product: Product

    Product type

  16. abstract def promoCode: Option[String]

    Promo code for the acquisition.

    Promo code for the acquisition. Only applicable to subscriptions.

  17. abstract def referrerPageViewId: Option[String]

    Page view id of the page the reader was on that lead them through to the contribution page e.g.

    Page view id of the page the reader was on that lead them through to the contribution page e.g. by clicking on the Contribute Now button in the Epic component

  18. abstract def referrerUrl: Option[String]

    Url of the page the reader was on that lead them through to the contribution page e.g.

    Url of the page the reader was on that lead them through to the contribution page e.g. by clicking on the Contribute Now button in the Epic component

  19. abstract def source: Option[AcquisitionSource]

    The source of the acquisition

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: Product
    Definition Classes
    Acquisition → Product19
  5. def _10: Option[String]
    Definition Classes
    Acquisition → Product19
  6. def _11: Option[String]
    Definition Classes
    Acquisition → Product19
  7. def _12: Option[ComponentType]
    Definition Classes
    Acquisition → Product19
  8. def _13: Option[AcquisitionSource]
    Definition Classes
    Acquisition → Product19
  9. def _14: Option[PrintOptions]
    Definition Classes
    Acquisition → Product19
  10. def _15: Option[Platform]
    Definition Classes
    Acquisition → Product19
  11. def _16: Option[Short]
    Definition Classes
    Acquisition → Product19
  12. def _17: Option[Double]
    Definition Classes
    Acquisition → Product19
  13. def _18: Option[String]
    Definition Classes
    Acquisition → Product19
  14. def _19: Option[Set[String]]
    Definition Classes
    Acquisition → Product19
  15. def _2: PaymentFrequency
    Definition Classes
    Acquisition → Product19
  16. def _3: String
    Definition Classes
    Acquisition → Product19
  17. def _4: Double
    Definition Classes
    Acquisition → Product19
  18. def _5: Option[PaymentProvider]
    Definition Classes
    Acquisition → Product19
  19. def _6: Option[Set[String]]
    Definition Classes
    Acquisition → Product19
  20. def _7: Option[AbTestInfo]
    Definition Classes
    Acquisition → Product19
  21. def _8: Option[String]
    Definition Classes
    Acquisition → Product19
  22. def _9: Option[String]
    Definition Classes
    Acquisition → Product19
  23. def _codec: ThriftStructCodec3[Acquisition]
    Definition Classes
    Acquisition → HasThriftStructCodec3
  24. def _passthroughFields: Map[Short, TFieldBlob]
  25. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  26. def canEqual(other: Any): Boolean
    Definition Classes
    Acquisition → Equals
  27. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. def copy(product: Product = this.product, paymentFrequency: PaymentFrequency = this.paymentFrequency, currency: String = this.currency, amount: Double = this.amount, paymentProvider: Option[PaymentProvider] = this.paymentProvider, campaignCode: Option[Set[String]] = this.campaignCode, abTests: Option[AbTestInfo] = this.abTests, countryCode: Option[String] = this.countryCode, referrerPageViewId: Option[String] = this.referrerPageViewId, referrerUrl: Option[String] = this.referrerUrl, componentId: Option[String] = this.componentId, componentTypeV2: Option[ComponentType] = this.componentTypeV2, source: Option[AcquisitionSource] = this.source, printOptions: Option[PrintOptions] = this.printOptions, platform: Option[Platform] = this.platform, discountLengthInMonths: Option[Short] = this.discountLengthInMonths, discountPercentage: Option[Double] = this.discountPercentage, promoCode: Option[String] = this.promoCode, labels: Option[Set[String]] = this.labels, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Acquisition
  29. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. def equals(other: Any): Boolean
    Definition Classes
    Acquisition → Equals → AnyRef → Any
  31. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def getFieldBlob(_fieldId: Short): Option[TFieldBlob]

    Gets a field value encoded as a binary blob using TCompactProtocol.

    Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.

  34. def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]

    Collects TCompactProtocol-encoded field values according to getFieldBlob into a map.

  35. def hashCode(): Int
    Definition Classes
    Acquisition → AnyRef → Any
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def productArity: Int
    Definition Classes
    Acquisition → Product19 → Product
  41. def productElement(n: Int): Any
    Definition Classes
    Acquisition → Product19 → Product
  42. def productIterator: Iterator[Any]
    Definition Classes
    Product
  43. def productPrefix: String
    Definition Classes
    Acquisition → Product
  44. def setField(_blob: TFieldBlob): Acquisition

    Sets a field using a TCompactProtocol-encoded binary blob.

    Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.

  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    Acquisition → AnyRef → Any
  47. def toTuple: (Product, PaymentFrequency, String, Double, Option[PaymentProvider], Option[Set[String]], Option[AbTestInfo], Option[String], Option[String], Option[String], Option[String], Option[ComponentType], Option[AcquisitionSource], Option[PrintOptions], Option[Platform], Option[Short], Option[Double], Option[String], Option[Set[String]])
  48. def unsetAbTests: Acquisition
  49. def unsetAmount: Acquisition
  50. def unsetCampaignCode: Acquisition
  51. def unsetComponentId: Acquisition
  52. def unsetComponentTypeV2: Acquisition
  53. def unsetCountryCode: Acquisition
  54. def unsetCurrency: Acquisition
  55. def unsetDiscountLengthInMonths: Acquisition
  56. def unsetDiscountPercentage: Acquisition
  57. def unsetField(_fieldId: Short): Acquisition

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

  58. def unsetLabels: Acquisition
  59. def unsetPaymentFrequency: Acquisition
  60. def unsetPaymentProvider: Acquisition
  61. def unsetPlatform: Acquisition
  62. def unsetPrintOptions: Acquisition
  63. def unsetProduct: Acquisition

    If the specified field is optional, it is set to None.

    If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.

  64. def unsetPromoCode: Acquisition
  65. def unsetReferrerPageViewId: Acquisition
  66. def unsetReferrerUrl: Acquisition
  67. def unsetSource: Acquisition
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  71. def write(_oprot: TProtocol): Unit
    Definition Classes
    Acquisition → ThriftStruct

Inherited from Serializable

Inherited from HasThriftStructCodec3[Acquisition]

Inherited from Product19[Product, PaymentFrequency, String, Double, Option[PaymentProvider], Option[Set[String]], Option[AbTestInfo], Option[String], Option[String], Option[String], Option[String], Option[ComponentType], Option[AcquisitionSource], Option[PrintOptions], Option[Platform], Option[Short], Option[Double], Option[String], Option[Set[String]]]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped