narsil/Tanshu.Accounts.Contracts/Service Contracts/CheckoutBI.cs
2010-03-02 23:26:21 +05:30

76 lines
2.0 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Data.SqlClient;
using System.ServiceModel;
using System.Runtime.Serialization;
namespace Tanshu.Accounts.Contracts
{
[ServiceContract]
public interface ICheckoutBI
{
#region Properties
[DataMember]
decimal Opening { get; }
[DataMember]
decimal Receipts { get; }
[DataMember]
decimal AdvanceReceipts { get; }
[DataMember]
decimal CCReceipts { get; }
[DataMember]
decimal AdvanceAdjusted { get; }
[DataMember]
decimal CashPayments { get; }
[DataMember]
decimal AdditionalVoids { get; }
[DataMember]
decimal VoidsInSystem { get; }
[DataMember]
decimal PendingBills { get; }
[DataMember]
decimal NetSales { get; }
[DataMember]
decimal ClosingBalance { get; }
[DataMember]
decimal RetainedOvernight { get; }
[DataMember]
decimal CashDeposited { get; } //
[DataMember]
decimal Excess { get; } //
[DataMember]
string Status { get; } //
[DataMember]
string Cashiers { get; } //
[DataMember]
Guid CashierID { get; } //
[DataMember]
string Cashier { get; } //
[DataMember]
DateTime StartDate { get; } //
[DataMember]
DateTime FinishDate { get; } //
[DataMember]
string PendingString { get; }
[DataMember]
string CCString { get; }
[DataMember]
string VoidsString { get; }
[DataMember]
string DiscountString { get; }
[DataMember]
string Manager { get; }
#endregion
[OperationContract]
void Init(Guid cashier, DateTime startDate, DateTime finishDate);
[OperationContract]
void Calculate(decimal cashDeposited, decimal retainedOvernight);
}
}