import 'package:fcs/domain/entities/discount.dart'; import 'package:fcs/domain/entities/payment_method.dart'; import 'package:fcs/domain/vo/message.dart'; abstract class CommonService { // Payment Future createPaymentMethod(PaymentMethod paymentMethod); Future updatePaymentMethod(PaymentMethod paymentMethod); Future deletePayment(String id); // Messaging Future sendMessage(Message message); Future seenMessage(String ownerID, bool seenByOwner); // Payment Future createDiscount(Discount discount); Future updateDiscount(Discount discount); Future deleteDiscount(String id); }