EasyPaymob 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
-
getTransactionStatus({required String transactionId})
→ Future<EasyPaymobResponse?>
-
get transaction status with only calling this function by transactionId.
-
initialize({required String apiKey, required int? integrationCardID, required int? integrationCashID, required int? integrationKioskID, required int? iFrameID, int userTokenExpiration = 3600})
→ Future<bool>
-
Initializing EasyPaymob instance.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
payWithCard({required BuildContext context, required String amountInCents, void onPayment(EasyPaymobResponse response)?, List? items, EasyPaymobBillingModel? billingData})
→ Future<EasyPaymobResponse?>
-
Proceed to pay with only calling this function.
Opens a WebView at Paymob redirectedURL to accept user payment info.
-
payWithKiosk({required String amountInCents, void onPayment(EasyPaymobResponse response)?, List? items, EasyPaymobBillingModel? billingData})
→ Future<EasyPaymobResponse?>
-
Proceed to pay with only calling this function.
-
payWithWallet({required BuildContext context, required String amountInCents, required String phoneNumber, void onPayment(EasyPaymobResponse response)?, List? items, EasyPaymobBillingModel? billingData})
→ Future<EasyPaymobResponse?>
-
Proceed to pay with only calling this function.
Opens a WebView at Paymob redirectedURL to accept user payment info.
-
toString()
→ String
-
A string representation of this object.
inherited