[C#] Update auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / structs / Refund.cs
index bff3dd94e54435cced27a238206b28d8ce2e3094..d83b0c3413b205a6fed9236ec43ec7b66dd56bf2 100644 (file)
@@ -76,6 +76,16 @@ public class Refund : CommonBase {
                return ret;
        }
 
+       /**
+        * Whether the refund has expired given the duration since the Unix epoch.
+        */
+       public bool is_expired_no_std(long duration_since_epoch) {
+               bool ret = bindings.Refund_is_expired_no_std(this.ptr, duration_since_epoch);
+               GC.KeepAlive(this);
+               GC.KeepAlive(duration_since_epoch);
+               return ret;
+       }
+
        /**
         * The issuer of the refund, possibly beginning with `user@domain` or `domain`. Intended to be
         * displayed to the user but with the caveat that it has not been verified in any way.