summaryrefslogtreecommitdiff
path: root/src/banking/account.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/banking/account.rs')
-rw-r--r--src/banking/account.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/banking/account.rs b/src/banking/account.rs
index 6994bb4..1783e63 100644
--- a/src/banking/account.rs
+++ b/src/banking/account.rs
@@ -4,11 +4,12 @@ pub struct Account {
pub name : String,
pub iban : String,
pub transactions : Vec<Transaction>,
- pub institute : String
+ pub institute : String,
+ pub groupFile : String
}
impl Account {
- pub fn new(name : String, iban : String, transactions : Vec<String>, institute : String) -> Account {
+ pub fn new(name : String, iban : String, transactions : Vec<String>, institute : String, groupFile : String) -> Account {
let mut trans = Vec::new();
if institute == "Sparkasse" {
// TODO als function/lambda übergeben die konvertierung..
@@ -22,7 +23,7 @@ impl Account {
}
}
}
- Account { name : name, iban : iban, transactions : trans, institute : institute }
+ Account { name : name, iban : iban, transactions : trans, institute : institute, groupFile : groupFile }
}
}