using Biskilog_Cloud.Shared.CustomModels; using Biskilog_Cloud.Shared.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Biskilog_Cloud.Shared.Interfaces { public interface ISalesInterface { Task FetchRecentTransaction(int a_limit); Task FetchTransaction(DateTime a_start, DateTime a_end); IEnumerable GetTransactions(DateTime a_start, DateTime a_end); IEnumerable GetRecentTransaction(); Task FetchReceipt(string a_receiptId); IEnumerable GetReceipt(string a_receiptId); Task> GetReceiptDetail(string a_receiptId); event EventHandler TransactionsChanged; event EventHandler FetchComplete; event EventHandler FetchStart; Task> FetchCartTbl(DateTime a_lastSync, string a_branch); Task> FetchCancelledTransaction(DateTime a_lastSync, string a_branch); Task> FetchCreditPurchase(DateTime a_lastSync, string a_branch); Task> FetchCustomerAccount(DateTime a_lastSync, string a_branch); Task> FetchCustomerPurchase(DateTime a_lastSync, string a_branch); Task> FetchDiscountLogs(DateTime a_lastSync, string a_branch); Task> FetchDeliveryDetails(DateTime a_lastSync, string a_branch); Task> FetchDeliveryHead(DateTime a_lastSync, string a_branch); Task> FetchDeliveryRecipients(DateTime a_lastSync, string a_branch); Task> FetchInvoice(DateTime a_lastSync, string a_branch); } }