ThawaniCustomers class

ViewModel for handling customer operations with Thawani payment API.

Constructors

ThawaniCustomers()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checker({required bool testMode, required String apiKey, String? customer, required String customerId, required void onError(Map<String, dynamic>), required void onDone(String customerID, String customerRefrensID), required void newCustomer(CreateCustomerModel data)}) Future<void>
Checks if a customer exists and creates one if it doesn't.
create({required bool testMode, required String apiKey, required String customerId, required void onError(Map<String, dynamic>), required void onDone(CreateCustomerModel data)}) Future<void>
Creates a new customer.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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