4a772806f2b6c2f92f641009e0388b590498bd81
[ldk-java] / src / main / java / org / ldk / structs / UnsignedInvoiceRequest.java
1 package org.ldk.structs;
2
3 import org.ldk.impl.bindings;
4 import org.ldk.enums.*;
5 import org.ldk.util.*;
6 import java.util.Arrays;
7 import java.lang.ref.Reference;
8 import javax.annotation.Nullable;
9
10
11 /**
12  * A semantically valid [`InvoiceRequest`] that hasn't been signed.
13  */
14 @SuppressWarnings("unchecked") // We correctly assign various generic arrays
15 public class UnsignedInvoiceRequest extends CommonBase {
16         UnsignedInvoiceRequest(Object _dummy, long ptr) { super(ptr); }
17         @Override @SuppressWarnings("deprecation")
18         protected void finalize() throws Throwable {
19                 super.finalize();
20                 if (ptr != 0) { bindings.UnsignedInvoiceRequest_free(ptr); }
21         }
22
23 }