package foundation.omni.rpc;

import com.fasterxml.jackson.annotation.JsonProperty;
import foundation.omni.CurrencyID;
import foundation.omni.OmniValue;

/**
 * Balance entry for an property/currency
 */
public class PropertyBalanceEntry extends BalanceEntry {
    private final CurrencyID propertyid;

    public PropertyBalanceEntry(@JsonProperty("propertyid") CurrencyID propertyid,
                                @JsonProperty("balance") OmniValue balance,
                                @JsonProperty("reserved") OmniValue reserved,
                                @JsonProperty("frozen") OmniValue frozen) {
        super(balance, reserved, frozen);
        this.propertyid = propertyid;
    }

    public CurrencyID getPropertyid() {
        return propertyid;
    }
}

@@ -294,16 +294,51 @@
 pertyid;
+%0A    private final String     name;
 %0A%0A    pu
@@ -414,16 +414,83 @@
 ertyid,%0A
+                                @JsonProperty(%22name%22) String name,%0A
         
@@ -787,24 +787,50 @@
 propertyid;%0A
+        this.name = name;%0A
     %7D%0A%0A    p
@@ -860,24 +860,24 @@
 pertyid() %7B%0A
-
         retu
@@ -896,11 +896,69 @@
 d;%0A    %7D
+%0A%0A    public String getName() %7B%0A        return name;%0A    %7D
 %0A%7D%0A

Add "name" field to PropertyBalanceEntry