PaymobPakistan class

Constructors

PaymobPakistan()

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

initialize({required String apiKey, required int integrationID, required int iFrameID, required int jazzcashIntegrationId, required int easypaisaIntegrationID, int userTokenExpiration = 3600}) Future<bool>
Initializing PaymobPayment instance.
initializePayment({required String currency, required String amountInCents, List? items}) Future<PaymentInitializationResult>
Proceed to pay with only calling this function. Opens a WebView at Paymob redirectedURL to accept user payment info. First step: Get authToken and orderId
makePayment(BuildContext context, {required String currency, required String amountInCents, void onPayment(PaymobResponse response)?, required PaymentType paymentType, List? items, PaymobBillingData? billingData, required String authToken, required int orderID}) Future<PaymobResponse?>
Second step: Make the payment
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

Static Properties

instance PaymobPakistan
getter/setter pair