InitResponse class

Constructors

InitResponse({required String redirectUrl, required bool hasRedirect, required String pollUrl, required String error, required bool success, required String hash, required String instructions})

Properties

error String
Error String
final
hash String
Transaction Hash
final
hashCode int
The hash code for this object.
no setterinherited
hasRedirect bool
Boolean indicating whether the response contains a url to redirect to
final
instructions String
Instruction for transcation status.
final
pollUrl String
The poll URL sent from Paynow
final
redirectUrl String
The url the user should be taken to so they can make a payment
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success bool
Boolean indicating whether initiate request was successful or not.
final

Methods

call() Map<String, dynamic>
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

Static Methods

fromJson(Map<String, dynamic> data) → dynamic
Returns InitResponse