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); [OperationContract] Guid? GetPendingVoucherID(string tableID); [OperationContract] List SaleInventory(Dictionary.ValueCollection list, Guid? voucherID); [OperationContract] void GetComplexBillInformation(Guid voucherID, Guid complexProductID, ref decimal rate, ref decimal quantity, ref string name); [OperationContract] void SetAlarm(Guid voucherID, DateTime? alarmTime); [OperationContract] void VoidBill(Guid voucherID, string reason); [OperationContract] void DeclareBillsPaid(Guid userID, List billList, bool creditCard); [OperationContract] void ToggleImportant(Guid voucherID); } }