trait Acquisition extends ThriftStruct with Product21[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]], Option[String], Option[Set[QueryParameter]]] with ValidatingThriftStruct[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, ValidatingThriftStruct[Acquisition], HasThriftStructCodec3[Acquisition], Product21[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]], Option[String], Option[Set[QueryParameter]]], scala.Product, Equals, ThriftStruct, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Acquisition
  2. Serializable
  3. ValidatingThriftStruct
  4. HasThriftStructCodec3
  5. Product21
  6. Product
  7. Equals
  8. ThriftStruct
  9. AnyRef
  10. 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 identityId: Option[String]

    The identity id of a user

  11. 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.

  12. abstract def paymentFrequency: PaymentFrequency

    If the payment is a one off or reccuring

  13. abstract def paymentProvider: Option[PaymentProvider]

    The payment provider the user paid with

  14. abstract def platform: Option[Platform]

    Platform on which the acquisition occurred e.g.

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

  15. abstract def printOptions: Option[PrintOptions]

    Extra parameters only applicable to print products

  16. abstract def product: Product

    Product type

  17. abstract def promoCode: Option[String]

    Promo code for the acquisition.

    Promo code for the acquisition. Only applicable to subscriptions.

  18. abstract def queryParameters: Option[Set[QueryParameter]]

    Query string parameters associated with an acquisition

  19. 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

  20. 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

  21. 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 → Product21
  5. def _10: Option[String]
    Definition Classes
    Acquisition → Product21
  6. def _11: Option[String]
    Definition Classes
    Acquisition → Product21
  7. def _12: Option[ComponentType]
    Definition Classes
    Acquisition → Product21
  8. def _13: Option[AcquisitionSource]
    Definition Classes
    Acquisition → Product21
  9. def _14: Option[PrintOptions]
    Definition Classes
    Acquisition → Product21
  10. def _15: Option[Platform]
    Definition Classes
    Acquisition → Product21
  11. def _16: Option[Short]
    Definition Classes
    Acquisition → Product21
  12. def _17: Option[Double]
    Definition Classes
    Acquisition → Product21
  13. def _18: Option[String]
    Definition Classes
    Acquisition → Product21
  14. def _19: Option[Set[String]]
    Definition Classes
    Acquisition → Product21
  15. def _2: PaymentFrequency
    Definition Classes
    Acquisition → Product21
  16. def _20: Option[String]
    Definition Classes
    Acquisition → Product21
  17. def _21: Option[Set[QueryParameter]]
    Definition Classes
    Acquisition → Product21
  18. def _3: String
    Definition Classes
    Acquisition → Product21
  19. def _4: Double
    Definition Classes
    Acquisition → Product21
  20. def _5: Option[PaymentProvider]
    Definition Classes
    Acquisition → Product21
  21. def _6: Option[Set[String]]
    Definition Classes
    Acquisition → Product21
  22. def _7: Option[AbTestInfo]
    Definition Classes
    Acquisition → Product21
  23. def _8: Option[String]
    Definition Classes
    Acquisition → Product21
  24. def _9: Option[String]
    Definition Classes
    Acquisition → Product21
  25. def _codec: ValidatingThriftStructCodec3[Acquisition]
    Definition Classes
    Acquisition → ValidatingThriftStruct → HasThriftStructCodec3
  26. def _passthroughFields: Map[Short, TFieldBlob]
  27. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  28. def canEqual(other: Any): Boolean
    Definition Classes
    Acquisition → Equals
  29. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. 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, identityId: Option[String] = this.identityId, queryParameters: Option[Set[QueryParameter]] = this.queryParameters, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Acquisition
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def equals(other: Any): Boolean
    Definition Classes
    Acquisition → Equals → AnyRef → Any
  33. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. 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.

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

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

  37. def hashCode(): Int
    Definition Classes
    Acquisition → AnyRef → Any
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  42. def productArity: Int
    Definition Classes
    Acquisition → Product21 → Product
  43. def productElement(n: Int): Any
    Definition Classes
    Acquisition → Product21 → Product
  44. def productIterator: Iterator[Any]
    Definition Classes
    Product
  45. def productPrefix: String
    Definition Classes
    Acquisition → Product
  46. 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.

  47. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  48. def toString(): String
    Definition Classes
    Acquisition → AnyRef → Any
  49. 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]], Option[String], Option[Set[QueryParameter]])
  50. def unsetAbTests: Acquisition
  51. def unsetAmount: Acquisition
  52. def unsetCampaignCode: Acquisition
  53. def unsetComponentId: Acquisition
  54. def unsetComponentTypeV2: Acquisition
  55. def unsetCountryCode: Acquisition
  56. def unsetCurrency: Acquisition
  57. def unsetDiscountLengthInMonths: Acquisition
  58. def unsetDiscountPercentage: Acquisition
  59. 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.

  60. def unsetIdentityId: Acquisition
  61. def unsetLabels: Acquisition
  62. def unsetPaymentFrequency: Acquisition
  63. def unsetPaymentProvider: Acquisition
  64. def unsetPlatform: Acquisition
  65. def unsetPrintOptions: Acquisition
  66. 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.

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

Inherited from Serializable

Inherited from ValidatingThriftStruct[Acquisition]

Inherited from HasThriftStructCodec3[Acquisition]

Inherited from Product21[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]], Option[String], Option[Set[QueryParameter]]]

Inherited from scala.Product

Inherited from Equals

Inherited from ThriftStruct

Inherited from AnyRef

Inherited from Any

Ungrouped