PaymentInitiationRequestModel class

A request model for payment initiation.

Constructors

PaymentInitiationRequestModel({required int amount, required String mobile, required String productIdentity, required String productName, required String transactionPin, String? productUrl, Map<String, Object>? additionalData})
Default constructor for PaymentInitiationRequestModel.

Properties

additionalData Map<String, Object?>?
finalinherited
amount int
finalinherited
hashCode int
The hash code for this object.
no setterinherited
mobile String
finalinherited
productIdentity String
finalinherited
productName String
finalinherited
productUrl String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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