PaymentLinkResponse class
Response model from payment link generation
Constructors
- PaymentLinkResponse({required bool isSuccessful, required String responseMessage, required String responseCode, String? launchUrl, dynamic data})
-
Creates a new PaymentLinkResponse
const
-
PaymentLinkResponse.fromJson(Map<
String, dynamic> json) -
Creates a PaymentLinkResponse from JSON
factory
Properties
- data → dynamic
-
Additional data (reserved for future use)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccessful → bool
-
Whether the API call was successful
final
- launchUrl → String?
-
The hosted checkout URL to open
final
- responseCode → String
-
Response code (000 = success)
final
- responseMessage → String
-
Human-readable response message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited