update payment

This commit is contained in:
Phuoc Nguyen
2025-12-01 16:07:49 +07:00
parent e62c466155
commit 12bd70479c
10 changed files with 796 additions and 136 deletions

View File

@@ -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);
}