Paygate class
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
init({int identifierLength = 20, PaygateVersion? apiVersion, required String apiKey, String? apiKeyDebug})
→ void
-
Initialize plugin.
-
pay({PaygateVersion? version, String? identifier, String? description, String? callbackUrl, required double amount, required String phoneNumber, required PaygateProvider provider})
→ Future<NewTransactionResponse>
-
-
payMoovMoney(double amount, PaygateVersion version, {required String phoneNumber, String? description, String? identifier, String? callbackUrl})
→ Future<NewTransactionResponse>
-
-
payTMoney(double amount, PaygateVersion version, {required String phoneNumber, String? description, String? identifier, String? callbackUrl})
→ Future<void>
-
-
payV1({String? identifier, String? description, required String phoneNumber, required PaygateProvider provider, required double amount})
→ Future<NewTransactionResponse>
-
-
payV2({String? identifier, String? description, String? callbackUrl, String? phoneNumber, PaygateProvider? provider, required double amount})
→ Future<NewTransactionResponse>
-
-
verifyTransaction({String? trxIdentifier, String? txReference})
→ Future<Transaction>
-
Verify a transaction status via Paygate API.