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, required String? authorizationCode, required DateTime? authorizationExpires, required String? authorizationQr})

Properties

authorizationCode → String?
Authorization Code The authorization code for the transaction
final
authorizationExpires → DateTime?
Authorization Expires (Date & Time)
final
authorizationQr → String?
Authorization QR URL to the QR code for the transaction (display to customer)
final
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 transaction 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