import { Observable } from 'rxjs';
import { AdminTransaction, AdminTransactionListFilters, AdminTransactionsListResult } from '../models/admin-transaction.model';

export interface AdminTransactionsGateway {
  loadTransactions(filters: AdminTransactionListFilters): Observable<AdminTransactionsListResult>;
  retryFailed(id: string): Observable<AdminTransaction | null>;
  setFraudFlag(id: string, flagged: boolean): Observable<AdminTransaction | null>;
}
