else acc.removeAmounts();
profile.storeAccount(db, acc);
- for (ParsedBalance b : parsedAccount.getAebalance()) {
+ for (ParsedBalance b : parsedAccount.getAibalance()) {
profile.storeAccountValue(db, acc.getName(), b.getAcommodity(),
b.getAquantity().asFloat());
}
@JsonIgnoreProperties(ignoreUnknown = true)
public class ParsedLedgerAccount {
private List<ParsedBalance> aebalance;
+ private List<ParsedBalance> aibalance;
private String aname;
public ParsedLedgerAccount() {
}
public List<ParsedBalance> getAebalance() {
return aebalance;
}
+ 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;
}