PaymayaRedirectUrls class

Example:

  final redirectUrl = PaymayaRedirectUrl(
    success: 'yourwebsite.com/success?id=655936',
    failure: 'yourwebsite.com/failure?id=655936',
    cancel: 'yourwebsite.com/cancel?id=659936'
  )

Constructors

PaymayaRedirectUrls({required String success, required String failure, required String cancel})
const
PaymayaRedirectUrls.fromJson(String source)
factory
PaymayaRedirectUrls.fromMap(Map<String, dynamic> map)
factory

Properties

cancel String
User chose to cancel the transaction.
final
failure String
An error occured on PayMaya. The transaction was incomplete and will redirect to failure link.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success String
After successful transaction. PayMaya will use this link to redirect to your link.
final

Methods

copyWith({String? success, String? failure, String? cancel}) PaymayaRedirectUrls
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
converts Map to JSON.
toMap() Map<String, dynamic>
converts PaymayaRedirectUrls to Map.
toString() String
A string representation of this object.
override

Operators

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