PaymentConfirmationRequestModel class

A request model for payment initiation.

Constructors

PaymentConfirmationRequestModel({required String confirmationCode, required String token, required String transactionPin})
Default constructor for PaymentConfirmationRequestModel.

Properties

confirmationCode String
The confirmationCode received as SMS in registered mobile number or email address.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
The token received in payment initiation step.
final
transactionPin String
The Khalti MPIN.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool beautify = false}) String
The JSON representation of the KhaltiRequestModel.
inherited
toMap() Map<String, Object?>
The map representation of the KhaltiRequestModel.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited