[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / UnsignedBolt12Invoice.cs
1 using org.ldk.impl;
2 using org.ldk.enums;
3 using org.ldk.util;
4 using System;
5
6 namespace org { namespace ldk { namespace structs {
7
8
9 /**
10  * A semantically valid [`Bolt12Invoice`] that hasn't been signed.
11  */
12 public class UnsignedBolt12Invoice : CommonBase {
13         internal UnsignedBolt12Invoice(object _dummy, long ptr) : base(ptr) { }
14         ~UnsignedBolt12Invoice() {
15                 if (ptr != 0) { bindings.UnsignedBolt12Invoice_free(ptr); }
16         }
17
18         /**
19          * The public key corresponding to the key needed to sign the invoice.
20          */
21         public byte[] signing_pubkey() {
22                 byte[] ret = bindings.UnsignedBolt12Invoice_signing_pubkey(this.ptr);
23                 GC.KeepAlive(this);
24                 return ret;
25         }
26
27 }
28 } } }