PaymentInterface class abstract

Implementers

Constructors

PaymentInterface()

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

checkCode({required BuildContext context, required String code}) Future<Either>
crateCard({required BuildContext context, required String number, required String date}) Future<Either>
deleteCard({required BuildContext context, required int cardId}) Future<Either>
fetchCards({required BuildContext context}) Future<Either<List<CardModel>, dynamic>>
fetchTransactions({required BuildContext context, required int skip}) Future<Either<List<TransactionModel>, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
topUp({required BuildContext context, required int cartId, required num amount}) Future<Either>
toString() String
A string representation of this object.
inherited
withdraw({required BuildContext context, required int cartId, required num amount}) Future<Either>

Operators

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