[Java] Update auto-generated Java bindings with new upstream getters
[ldk-java] / src / main / java / org / ldk / structs / PaymentParameters.java
index 8e3efc9d013f4eb22a92d400c393894a2ad5da8d..783d8001f3841a2072790f7b5631b84042a5262c 100644 (file)
@@ -203,6 +203,19 @@ public class PaymentParameters extends CommonBase {
                Reference.reachabilityFence(val);
        }
 
+       /**
+        * A list of SCIDs which this payment was previously attempted over and which caused the
+        * payment to fail. Future attempts for the same payment shouldn't be relayed through any of
+        * these SCIDs.
+        * 
+        * Returns a copy of the field.
+        */
+       public long[] get_previously_failed_channels() {
+               long[] ret = bindings.PaymentParameters_get_previously_failed_channels(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
        /**
         * A list of SCIDs which this payment was previously attempted over and which caused the
         * payment to fail. Future attempts for the same payment shouldn't be relayed through any of