add messaging
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import 'package:fcs/fcs/common/domain/entities/payment_method.dart';
|
||||
import 'package:fcs/fcs/common/domain/vo/message.dart';
|
||||
|
||||
abstract class CommonService {
|
||||
// Payment Service
|
||||
// Payment
|
||||
Future<void> createPaymentMethod(PaymentMethod paymentMethod);
|
||||
Future<void> updatePaymentMethod(PaymentMethod paymentMethod);
|
||||
Future<void> deletePayment(String id);
|
||||
|
||||
// Messaging
|
||||
Future<void> sendMessage(Message message);
|
||||
Future<void> seenMessage(String ownerID, bool seenByOwner);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user