when no price is entered the member should be sent as null, otherwise
hledger-web 1.15.2 rejects the request with err 400 and complains about
invalid price object
further fixing this would need making it send a proper price object, but
since MoLe doesn't support entering prices, that is left for the future
private ParsedQuantity aquantity;
private boolean aismultiplier;
private ParsedStyle astyle;
- private ParsedPrice aprice = new ParsedPrice();
+ private ParsedPrice aprice;
public ParsedAmount() {
}
public ParsedPrice getAprice() {
private boolean aismultiplier;
private ParsedStyle astyle;
public Contents() {
+ acommodity = "";
}
public ParsedPrice getAprice() {
return aprice;