PaynowPaymentInfo class
Containing Payment Information required during transaction
Constructors
- PaynowPaymentInfo({required PaynowPaymentMethod paymentMethod, String? phone, String? returnUrl, String? resultUrl, MobilePaymentMethod? mobilePaymentMethod})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mobilePaymentMethod → MobilePaymentMethod?
-
Only use in cases of express checkout
final
- paymentMethod → PaynowPaymentMethod
-
Express or Web
final
- phone → String?
-
Valid ZW Phone number of client
Required if payment method is PaynowPaymentMethod.express
final
- resultUrl → String?
-
This the url Paynow will post the results of a payment to
e.g https://yourserver.com/payments/user_id
final
- returnUrl → String?
-
This is where Paynow redirects the user after a payment whether cancelled or successful
You can also use this to automatically return your users back to the app after payment
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited