trait Proxy extends Acquisition
This Proxy trait allows you to extend the Acquisition trait with additional state or behavior and implement the read-only methods from Acquisition using an underlying instance.
- Alphabetic
- By Inheritance
- Proxy
- Acquisition
- Serializable
- HasThriftStructCodec3
- Product21
- Product
- Equals
- ThriftStruct
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
_underlying_Acquisition: Acquisition
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_1: Product
- Definition Classes
- Acquisition → Product21
-
def
_10: Option[String]
- Definition Classes
- Acquisition → Product21
-
def
_11: Option[String]
- Definition Classes
- Acquisition → Product21
-
def
_12: Option[ComponentType]
- Definition Classes
- Acquisition → Product21
-
def
_13: Option[AcquisitionSource]
- Definition Classes
- Acquisition → Product21
-
def
_14: Option[PrintOptions]
- Definition Classes
- Acquisition → Product21
-
def
_15: Option[Platform]
- Definition Classes
- Acquisition → Product21
-
def
_16: Option[Short]
- Definition Classes
- Acquisition → Product21
-
def
_17: Option[Double]
- Definition Classes
- Acquisition → Product21
-
def
_18: Option[String]
- Definition Classes
- Acquisition → Product21
-
def
_19: Option[Set[String]]
- Definition Classes
- Acquisition → Product21
-
def
_2: PaymentFrequency
- Definition Classes
- Acquisition → Product21
-
def
_20: Option[String]
- Definition Classes
- Acquisition → Product21
-
def
_21: Option[Set[QueryParameter]]
- Definition Classes
- Acquisition → Product21
-
def
_3: String
- Definition Classes
- Acquisition → Product21
-
def
_4: Double
- Definition Classes
- Acquisition → Product21
-
def
_5: Option[PaymentProvider]
- Definition Classes
- Acquisition → Product21
-
def
_6: Option[Set[String]]
- Definition Classes
- Acquisition → Product21
-
def
_7: Option[AbTestInfo]
- Definition Classes
- Acquisition → Product21
-
def
_8: Option[String]
- Definition Classes
- Acquisition → Product21
-
def
_9: Option[String]
- Definition Classes
- Acquisition → Product21
-
def
_codec: ThriftStructCodec3[Acquisition]
- Definition Classes
- Acquisition → HasThriftStructCodec3
-
def
_passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Proxy → Acquisition
-
def
abTests: Option[AbTestInfo]
The ab tests the user was in on dotcom
The ab tests the user was in on dotcom
- Definition Classes
- Proxy → Acquisition
-
def
amount: Double
Contributed amount in units of the currency received
Contributed amount in units of the currency received
- Definition Classes
- Proxy → Acquisition
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
campaignCode: Option[Set[String]]
The campaign code of the campaign that the user came from
The campaign code of the campaign that the user came from
- Definition Classes
- Proxy → Acquisition
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Acquisition → Equals
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
componentId: Option[String]
An ID that can be used to distinguish different instances of a given component type
An ID that can be used to distinguish different instances of a given component type
- Definition Classes
- Proxy → Acquisition
-
def
componentTypeV2: Option[ComponentType]
The type of component that the acquisition came from
The type of component that the acquisition came from
- Definition Classes
- Proxy → Acquisition
-
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
- Definition Classes
- Acquisition
-
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
- Definition Classes
- Proxy → Acquisition
-
def
currency: String
Currency code (ISO 4217 3-character, upper-case, eg USD, GBP)
Currency code (ISO 4217 3-character, upper-case, eg USD, GBP)
- Definition Classes
- Proxy → Acquisition
-
def
discountLengthInMonths: Option[Short]
Length of the discount in months
Length of the discount in months
- Definition Classes
- Proxy → Acquisition
-
def
discountPercentage: Option[Double]
Amount of discount, as a percentage
Amount of discount, as a percentage
- Definition Classes
- Proxy → Acquisition
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Acquisition → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
- Definition Classes
- Acquisition
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- Acquisition
-
def
hashCode(): Int
- Definition Classes
- Acquisition → AnyRef → Any
-
def
identityId: Option[String]
The identity id of a user
The identity id of a user
- Definition Classes
- Proxy → Acquisition
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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.
- Definition Classes
- Proxy → Acquisition
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
paymentFrequency: PaymentFrequency
If the payment is a one off or reccuring
If the payment is a one off or reccuring
- Definition Classes
- Proxy → Acquisition
-
def
paymentProvider: Option[PaymentProvider]
The payment provider the user paid with
The payment provider the user paid with
- Definition Classes
- Proxy → Acquisition
-
def
platform: Option[Platform]
Platform on which the acquisition occurred e.g.
Platform on which the acquisition occurred e.g. Contributions, S&C
- Definition Classes
- Proxy → Acquisition
-
def
printOptions: Option[PrintOptions]
Extra parameters only applicable to print products
Extra parameters only applicable to print products
- Definition Classes
- Proxy → Acquisition
-
def
product: Product
Product type
Product type
- Definition Classes
- Proxy → Acquisition
-
def
productArity: Int
- Definition Classes
- Acquisition → Product21 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Acquisition → Product21 → Product
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Acquisition → Product
-
def
promoCode: Option[String]
Promo code for the acquisition.
Promo code for the acquisition. Only applicable to subscriptions.
- Definition Classes
- Proxy → Acquisition
-
def
queryParameters: Option[Set[QueryParameter]]
Query string parameters associated with an acquisition
Query string parameters associated with an acquisition
- Definition Classes
- Proxy → Acquisition
-
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
- Definition Classes
- Proxy → Acquisition
-
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
- Definition Classes
- Proxy → Acquisition
-
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.
- Definition Classes
- Acquisition
-
def
source: Option[AcquisitionSource]
The source of the acquisition
The source of the acquisition
- Definition Classes
- Proxy → Acquisition
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Acquisition → AnyRef → Any
-
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]])
- Definition Classes
- Acquisition
-
def
unsetAbTests: Acquisition
- Definition Classes
- Acquisition
-
def
unsetAmount: Acquisition
- Definition Classes
- Acquisition
-
def
unsetCampaignCode: Acquisition
- Definition Classes
- Acquisition
-
def
unsetComponentId: Acquisition
- Definition Classes
- Acquisition
-
def
unsetComponentTypeV2: Acquisition
- Definition Classes
- Acquisition
-
def
unsetCountryCode: Acquisition
- Definition Classes
- Acquisition
-
def
unsetCurrency: Acquisition
- Definition Classes
- Acquisition
-
def
unsetDiscountLengthInMonths: Acquisition
- Definition Classes
- Acquisition
-
def
unsetDiscountPercentage: Acquisition
- Definition Classes
- Acquisition
-
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.
- Definition Classes
- Acquisition
-
def
unsetIdentityId: Acquisition
- Definition Classes
- Acquisition
-
def
unsetLabels: Acquisition
- Definition Classes
- Acquisition
-
def
unsetPaymentFrequency: Acquisition
- Definition Classes
- Acquisition
-
def
unsetPaymentProvider: Acquisition
- Definition Classes
- Acquisition
-
def
unsetPlatform: Acquisition
- Definition Classes
- Acquisition
-
def
unsetPrintOptions: Acquisition
- Definition Classes
- Acquisition
-
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.
- Definition Classes
- Acquisition
-
def
unsetPromoCode: Acquisition
- Definition Classes
- Acquisition
-
def
unsetQueryParameters: Acquisition
- Definition Classes
- Acquisition
-
def
unsetReferrerPageViewId: Acquisition
- Definition Classes
- Acquisition
-
def
unsetReferrerUrl: Acquisition
- Definition Classes
- Acquisition
-
def
unsetSource: Acquisition
- Definition Classes
- Acquisition
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- Acquisition → ThriftStruct