[C#] Check in initial auto-generated C# bindings
[ldk-java] / c_sharp / src / org / ldk / enums / Recipient.cs
diff --git a/c_sharp/src/org/ldk/enums/Recipient.cs b/c_sharp/src/org/ldk/enums/Recipient.cs
new file mode 100644 (file)
index 0000000..cbbfd78
--- /dev/null
@@ -0,0 +1,19 @@
+namespace org { namespace ldk { namespace enums {/**
+ * Specifies the recipient of an invoice.
+ * 
+ * This indicates to [`KeysInterface::sign_invoice`] what node secret key should be used to sign
+ * the invoice.
+ */
+public enum Recipient {
+       /**
+        * The invoice should be signed with the local node secret key.
+        */
+       LDKRecipient_Node,
+       /**
+        * The invoice should be signed with the phantom node secret key. This secret key must be the
+        * same for all nodes participating in the [phantom node payment].
+        * 
+        * [phantom node payment]: PhantomKeysManager
+        */
+       LDKRecipient_PhantomNode,
+}} } }