-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUserExpenseBalanceSheet.cs
75 lines (63 loc) · 1.73 KB
/
UserExpenseBalanceSheet.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
using SplitwiseExpenseApp.Model;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace SplitwiseExpenseApp
{
public class UserExpenseBalanceSheet
{
Dictionary<string, Balance> userVsBalance;
double totalYourExpense;
double totalPayment;
double totalYouOwe;
double totalYouGetBack;
public UserExpenseBalanceSheet ()
{
userVsBalance = new Dictionary<string, Balance>();
totalYourExpense = 0;
totalYourExpense = 0;
totalYouOwe = 0;
totalYouGetBack = 0;
}
public Dictionary<string, Balance> getUserVsBalance()
{
return userVsBalance;
}
public double getTotalYourExpense()
{
return totalYourExpense;
}
public void setTotalYourExpense(double totalYourExpense)
{
this.totalYourExpense = totalYourExpense;
}
public double getTotalYouOwe()
{
return totalYouOwe;
}
public void setTotalYouOwe(double totalYouOwe)
{
this.totalYouOwe = totalYouOwe;
}
public double getTotalYouGetBack()
{
return totalYouGetBack;
}
public void setTotalYouGetBack(double totalYouGetBack)
{
this.totalYouGetBack = totalYouGetBack;
}
public double getTotalPayment()
{
return totalPayment;
}
public void setTotalPayment(double totalPayment)
{
this.totalPayment = totalPayment;
}
}
}