[C#] Update auto-generated bindings to LDK-C-Bindings 0.0.123.1
[ldk-java] / c_sharp / src / org / ldk / structs / Refund.cs
index 218d31e579d3dbf133900749847b07e3999f5a10..f9a20662c1ee503370f298c633193314de378897 100644 (file)
@@ -243,5 +243,16 @@ public class Refund : CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Get the string representation of a Refund object
+        */
+       public string to_str() {
+               long ret = bindings.Refund_to_str(this.ptr);
+               GC.KeepAlive(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               string ret_conv = InternalUtils.decodeString(ret);
+               return ret_conv;
+       }
+
 }
 } } }