LeadEvent class

Constructors

LeadEvent({required String id, required String leadUuid, required DateTime leadCreatedAt, required EventType eventType, required DateTime eventCreatedAt, DateTime? eventDeletedAt, EventData? eventData, double? amountInCents, required String supplySubAccountUuid, required String supplySubAccountName, String? financialInstitutionUuid, String? financialInstitutionName, String? unifiedProductType, ProductType? productType, ProductSubType? productSubType, String? offerUuid, required bool isTest, required DateTime paginationTimestamp})
Returns a new LeadEvent instance.

Properties

amountInCents ↔ double?
The amount of liquidity provided to the end user by the FI. Only present for some events.
getter/setter pair
eventCreatedAt ↔ DateTime
The time that the event occurred.
getter/setter pair
eventData ↔ EventData?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
eventDeletedAt ↔ DateTime?
The time that the event was deleted.
getter/setter pair
eventType ↔ EventType
getter/setter pair
financialInstitutionName ↔ String?
The name of the associated financial institution. This value is subject to change, so financialInstitutionUuid should be used as a stable identifier. Only present for event types associated with financial institutions.
getter/setter pair
financialInstitutionUuid ↔ String?
A unique identifier for the associated financial institution. Only present for event types associated with financial institutions.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String
A hash of the leadUuid, eventType and eventCreatedAt which uniquely identifies a leadEvent.
getter/setter pair
isTest ↔ bool
Whether a Lead was created using a test access token
getter/setter pair
leadCreatedAt ↔ DateTime
The time that the associated lead was created.
getter/setter pair
leadUuid ↔ String
The unique identifier for the associated lead.
getter/setter pair
offerUuid ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
paginationTimestamp ↔ DateTime
Time when event was captured by our system. Used for pagination.
getter/setter pair
productSubType ↔ ProductSubType?
A legacy product subtype describing a type of financial product.
getter/setter pair
productType ↔ ProductType?
A legacy product type of financial offer.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supplySubAccountName ↔ String
The name of the associated supply sub-account. This value is subject to change, so supplySubAccountUuid should be used as a stable identifier.
getter/setter pair
supplySubAccountUuid ↔ String
The unique identifier for the associated supply sub-account.
getter/setter pair
unifiedProductType ↔ String?
The product type of financial offer. Replaces productType and productSubType.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → LeadEvent?
Returns a new LeadEvent instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<LeadEvent>
mapFromJson(dynamic json) → Map<String, LeadEvent>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<LeadEvent>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.