PaymentModel class

Payment model class for sending request to the respective platforms

Constructors

PaymentModel({required String amount, required String currencyCode, required String customerName, required String paymentDescription, required String paymentReference, required String customerEmail, String? customerPhoneNumber = "", required PaymentMethod paymentMethod})

Properties

amount String
final
currencyCode String
final
customerEmail String
final
customerName String
final
customerPhoneNumber String?
final
hashCode int
The hash code for this object.
no setterinherited
paymentDescription String
final
paymentMethod PaymentMethod
final
paymentReference String
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
toMap() Map<String, String>
Returns a map of the properties of the class
toString() String
A string representation of this object.
inherited

Operators

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