UserAffiliate class abstract
The user's affiliate standing with this app.
Properties:
- id - The unique identifier of the affiliate.
- status - Where the affiliate stands with this app.
bannedis terminal;rejected,withdrawn,archivedanddeactivateddescribe affiliates who may apply again. - codes - The codes the affiliate can currently promote, oldest first. Empty until they create one — an approved affiliate with no code yet is a normal state.
- stats - The affiliate's totals on this app.
- Annotations
-
- @BuiltValue.new()
Constructors
- UserAffiliate([void updates(UserAffiliateBuilder b)])
-
factory
Properties
-
codes
→ BuiltList<
UserAffiliateCode> -
The codes the affiliate can currently promote, oldest first. Empty until they create one — an approved affiliate with no code yet is a normal state.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The unique identifier of the affiliate.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stats → UserAffiliateStats
-
The affiliate's totals on this app.
no setter
- status → UserAffiliateStatusEnum
-
Where the affiliate stands with this app.
bannedis terminal;rejected,withdrawn,archivedanddeactivateddescribe affiliates who may apply again.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(UserAffiliateBuilder)) → UserAffiliate -
Rebuilds the instance.
inherited
-
toBuilder(
) → UserAffiliateBuilder -
Converts the instance to a builder
B.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
UserAffiliate> -
no setter