[Java] Update auto-generated Java bindings with new upstream getters
[ldk-java] / src / main / java / org / ldk / structs / StaticPaymentOutputDescriptor.java
index ac9c3787cb66a8397ea93c5fa04ed52aebaa5791..9442fa98ee8484b5e8691666c7633440012cd947 100644 (file)
@@ -42,6 +42,19 @@ public class StaticPaymentOutputDescriptor extends CommonBase {
                Reference.reachabilityFence(val);
        }
 
+       /**
+        * The output which is referenced by the given outpoint
+        * 
+        * Returns a copy of the field.
+        */
+       public TxOut get_output() {
+               long ret = bindings.StaticPaymentOutputDescriptor_get_output(this.ptr);
+               Reference.reachabilityFence(this);
+               if (ret >= 0 && ret <= 4096) { return null; }
+               TxOut ret_conv = new TxOut(null, ret);
+               return ret_conv;
+       }
+
        /**
         * The output which is referenced by the given outpoint
         */