RateTable class

Constructors

RateTable({required String uuid, required String leadUuid, int? loanAmount, DateTime? createdAt, String? embedUrl, String? partnerPageUrl, List<CreditCardOffer> creditCardOffers = const [], List<LoanOffer> loanOffers = const [], List<MortgageOffer> mortgageOffers = const [], List<SavingsOffer> savingsOffers = const [], List<SpecialOffer> specialOffers = const [], required RateTableAdditionalOffers additionalOffers, List<Originator> pendingOriginators = const [], List<PendingResponse> pendingResponses = const []})
Returns a new RateTable instance.

Properties

additionalOffers ↔ RateTableAdditionalOffers
getter/setter pair
createdAt ↔ DateTime?
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
creditCardOffers ↔ List<CreditCardOffer>
getter/setter pair
embedUrl ↔ String?
A URL with which to build an iframe to embed rate table offer results in your experience. Only available to channels with integrations configured in control center.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
leadUuid ↔ String
UUID of the associated Lead
getter/setter pair
loanAmount ↔ int?
Lead's provided loan amount at the time of RateTable creation
getter/setter pair
loanOffers ↔ List<LoanOffer>
getter/setter pair
mortgageOffers ↔ List<MortgageOffer>
getter/setter pair
partnerPageUrl ↔ String?
A partner page URL to send your user to see the rate table offer results. Only available to channels with integrations configured in control center.
getter/setter pair
pendingOriginators ↔ List<Originator>
List of originators which have been queried, but have not responded yet. This list only contains loan originators, and should no longer be used
getter/setter pair
pendingResponses ↔ List<PendingResponse>
List of demand partners which have been queried, but have not responded yet. It is a guarantee that no offers will be added to the rate table after this list is empty
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
savingsOffers ↔ List<SavingsOffer>
getter/setter pair
specialOffers ↔ List<SpecialOffer>
getter/setter pair
uuid ↔ String
Primary UUID for a RateTable
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) → RateTable?
Returns a new RateTable instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<RateTable>
mapFromJson(dynamic json) → Map<String, RateTable>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<RateTable>>

Constants

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