EncoreClaimedOffer class
The advertiser offer a claim ran against — the claim's factual payload.
Constructors
- EncoreClaimedOffer({String? offerId, required String campaignId, required String advertiserName, String? transactionId, bool userConfirmedCompletion = false, String? claimUrl})
-
const
-
EncoreClaimedOffer.fromMap(Map<
String, dynamic> map) -
factory
Properties
- advertiserName → String
-
final
- campaignId → String
-
final
- claimUrl → String?
-
The attributable link the user opened for this claim. It carries their
transactionId: whoever opens it completes the offer as this user, so
treat it as user-specific and keep it out of third-party logs or
analytics. It stays creditable for as long as the advertiser's network
attributes it (often up to ~30 days; Encore sets no fixed expiry). Null
when there is no such link, such as for a demo offer, a lead form or a
link that carries no transaction id.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- offerId → String?
-
Identifier of the claimed offer.
nullon Android, whose nativeClaimedOffercarries only the campaign; on iOS an offer is a campaign, so this equals campaignId.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionId → String?
-
Joins this claim to a later EncoreStrictUnlockVerified outcome, and to
the server-side completion event that can land days afterwards.
final
- userConfirmedCompletion → bool
-
The user tapped "Yes, I completed it" on the reward-for-trying question
and Encore's server granted the prize (see EncorePublisherRewardPolicy).
This is when your app
grants the EncorePublisherReward it passed on the placement.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited