RequisitionModel class
Requisition Model for Nordigen.
Contains the id of the Requisition, its status, end-user agreements
,
the redirectURL to which it should redirect, reference ID if any,
accounts associated, and the associated institutionID.
Constructors
-
RequisitionModel({required String id, String? created, required String redirectURL, RequisitionStatus status = const RequisitionStatus(short: '', long: '', description: ''), required String institutionID, required String agreement, required String reference, List<
String> accounts = const <String>[], String userLanguage = 'EN', required String link}) - RequisitionModel.fromMap(dynamic fetchedMap)
-
For easy Data Model Generation from Map fetched by querying Nordigen.
factory
Properties
-
accounts
→ List<
String> -
Agreements associated with the Requistion
final
- agreement → String
-
End-User Agreement associated with the Requistion
final
- created → String
-
Timestamp of when the Requisition was created in ISO8601 DateTime String
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier (typically UUID) of this Requisition used to link accounts
final
- institutionID → String
-
Institution/Bank ID associated with the transaction (typically UUID)
final
- link → String
-
Verification String link associated with the requisition.
final
- redirectURL → String
-
Link where end user will be redirected for authenticating in Institution.
final
- reference → String
-
Additional layer of unique ID defined by user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → RequisitionStatus
-
Status of the Requisition
final
- userLanguage → String
-
String code of the Language of the requisition verification.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Forms a Map of
String
keys anddynamic
values from Class Data. -
toString(
) → String -
Returns the class data converted to a map as a Serialized JSON String.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited