update invoice
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/// Invoice Repository Interface
|
||||
///
|
||||
/// Defines the contract for invoice-related data operations.
|
||||
library;
|
||||
|
||||
import 'package:worker/features/invoices/domain/entities/invoice.dart';
|
||||
|
||||
/// Invoice Repository Interface
|
||||
abstract class InvoiceRepository {
|
||||
/// Get list of invoices
|
||||
Future<List<Invoice>> getInvoicesList({
|
||||
int limitStart = 0,
|
||||
int limitPageLength = 0,
|
||||
});
|
||||
|
||||
/// Get invoice detail by ID
|
||||
Future<Invoice> getInvoiceDetail(String name);
|
||||
}
|
||||
Reference in New Issue
Block a user