/*
- * Copyright © 2019 Damyan Ivanov.
+ * Copyright © 2020 Damyan Ivanov.
* This file is part of MoLe.
* MoLe is free software: you can distribute it and/or modify it
* under the term of the GNU General Public License as published by
package net.ktnx.mobileledger.json;
-import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import net.ktnx.mobileledger.json.ParsedBalance;
import java.util.List;
-@JsonIgnoreProperties(ignoreUnknown = true)
public class ParsedLedgerAccount {
- private List<ParsedBalance> aebalance;
- private List<ParsedBalance> aibalance;
private String aname;
- public ParsedLedgerAccount() {
+ private int anumpostings;
+ private List<ParsedBalance> aibalance;
+ public String getAname() {
+ return aname;
+ }
+ public void setAname(String aname) {
+ this.aname = aname;
+ }
+ public int getAnumpostings() {
+ return anumpostings;
}
- public List<ParsedBalance> getAebalance() {
- return aebalance;
+ public void setAnumpostings(int anumpostings) {
+ this.anumpostings = anumpostings;
}
public List<ParsedBalance> getAibalance() {
return aibalance;
}
- public void setAebalance(List<ParsedBalance> aebalance) {
- this.aebalance = aebalance;
- }
public void setAibalance(List<ParsedBalance> aibalance) {
this.aibalance = aibalance;
}
- public String getAname() {
- return aname;
- }
- public void setAname(String aname) {
- this.aname = aname;
- }
-
}