using System; using System.Collections.Generic; using System.Data.SqlClient; using System.ServiceModel; namespace Tanshu.Accounts.Contracts { [ServiceContract] public interface ISaleVoucherBI { [OperationContract] SalesBillItemBO GetDefaultSaleBillItem(Guid productID); [OperationContract] decimal GetProductDiscountLimit(Guid productID); [OperationContract] bool IsBillPrinted(Guid voucherID); [OperationContract] bool Insert(SaleVoucherBO saleVoucher, List inventory); [OperationContract] bool Update(SaleVoucherBO saleVoucher, List inventory); [OperationContract] bool GetSaleVoucher(Guid voucherID, ref SaleVoucherBO voucherSale, ref List iList); [OperationContract] List GetPendingBills(PendingType list, int floor); [OperationContract] Guid? GetPendingVoucherID(string tableID, int floor); [OperationContract] List SaleInventory(Dictionary.ValueCollection list, Guid? voucherID); [OperationContract] void SetAlarm(Guid voucherID, DateTime? alarmTime); [OperationContract] void VoidBill(Guid voucherID, string reason, Guid userID); [OperationContract] void DeclareBillsPaid(Guid userID, List billList, PaidStatus paidStatus); } }