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