Ercaspay class

Constructors

Ercaspay({required BuildContext context, required String token, required String paymentReference, required String redirectUrl, required double amount, required String currency, required String paymentMethods, required String feeBearer, required CustomerDetails customerDetails, String? description, Map<String, dynamic>? metadata, bool? live})

Properties

amount double
final
context BuildContext
final
currency String
final
customerDetails CustomerDetails
final
description String?
final
feeBearer String
final
hashCode int
The hash code for this object.
no setterinherited
live bool?
final
metadata Map<String, dynamic>?
final
paymentMethods String
final
paymentReference String
final
redirectUrl String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
final

Methods

chargeTransaction() Future<PaymentResponse?>
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