+ /**
+ * Returns whether the expiry time would pass at the given point in time.
+ * `at_time` is the timestamp as a duration since the Unix epoch.
+ */
+ public boolean would_expire(long at_time) {
+ boolean ret = bindings.Invoice_would_expire(this.ptr, at_time);
+ Reference.reachabilityFence(this);
+ Reference.reachabilityFence(at_time);
+ return ret;
+ }
+