@@ -1008,6 +1008,10 @@ internal open class UniffiVTableCallbackInterfaceVssHeaderProvider(
10081008
10091009
10101010
1011+
1012+
1013+
1014+
10111015
10121016
10131017
@@ -1043,12 +1047,12 @@ internal interface UniffiLib : Library {
10431047 ): RustBuffer .ByValue
10441048 fun uniffi_ldk_node_fn_method_bolt11invoice_currency (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
10451049 ): RustBuffer .ByValue
1046- fun uniffi_ldk_node_fn_method_bolt11invoice_description (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
1047- ): RustBuffer .ByValue
10481050 fun uniffi_ldk_node_fn_method_bolt11invoice_expiry_time_seconds (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
10491051 ): Long
10501052 fun uniffi_ldk_node_fn_method_bolt11invoice_fallback_addresses (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
10511053 ): RustBuffer .ByValue
1054+ fun uniffi_ldk_node_fn_method_bolt11invoice_invoice_description (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
1055+ ): RustBuffer .ByValue
10521056 fun uniffi_ldk_node_fn_method_bolt11invoice_is_expired (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
10531057 ): Byte
10541058 fun uniffi_ldk_node_fn_method_bolt11invoice_min_final_cltv_expiry_delta (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
@@ -1071,6 +1075,14 @@ internal interface UniffiLib : Library {
10711075 ): RustBuffer .ByValue
10721076 fun uniffi_ldk_node_fn_method_bolt11invoice_would_expire (`ptr`: Pointer ,`atTimeSeconds`: Long ,uniffi_out_err : UniffiRustCallStatus ,
10731077 ): Byte
1078+ fun uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_debug (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
1079+ ): RustBuffer .ByValue
1080+ fun uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_display (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
1081+ ): RustBuffer .ByValue
1082+ fun uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_eq_eq (`ptr`: Pointer ,`other`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
1083+ ): Byte
1084+ fun uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_eq_ne (`ptr`: Pointer ,`other`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
1085+ ): Byte
10741086 fun uniffi_ldk_node_fn_clone_bolt11payment (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
10751087 ): Pointer
10761088 fun uniffi_ldk_node_fn_free_bolt11payment (`ptr`: Pointer ,uniffi_out_err : UniffiRustCallStatus ,
@@ -1455,12 +1467,12 @@ internal interface UniffiLib : Library {
14551467 ): Short
14561468 fun uniffi_ldk_node_checksum_method_bolt11invoice_currency (
14571469 ): Short
1458- fun uniffi_ldk_node_checksum_method_bolt11invoice_description (
1459- ): Short
14601470 fun uniffi_ldk_node_checksum_method_bolt11invoice_expiry_time_seconds (
14611471 ): Short
14621472 fun uniffi_ldk_node_checksum_method_bolt11invoice_fallback_addresses (
14631473 ): Short
1474+ fun uniffi_ldk_node_checksum_method_bolt11invoice_invoice_description (
1475+ ): Short
14641476 fun uniffi_ldk_node_checksum_method_bolt11invoice_is_expired (
14651477 ): Short
14661478 fun uniffi_ldk_node_checksum_method_bolt11invoice_min_final_cltv_expiry_delta (
@@ -1724,15 +1736,15 @@ private fun uniffiCheckApiChecksums(lib: UniffiLib) {
17241736 if (lib.uniffi_ldk_node_checksum_method_bolt11invoice_currency() != 32179 .toShort()) {
17251737 throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
17261738 }
1727- if (lib.uniffi_ldk_node_checksum_method_bolt11invoice_description() != 9887 .toShort()) {
1728- throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
1729- }
17301739 if (lib.uniffi_ldk_node_checksum_method_bolt11invoice_expiry_time_seconds() != 23625 .toShort()) {
17311740 throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
17321741 }
17331742 if (lib.uniffi_ldk_node_checksum_method_bolt11invoice_fallback_addresses() != 55276 .toShort()) {
17341743 throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
17351744 }
1745+ if (lib.uniffi_ldk_node_checksum_method_bolt11invoice_invoice_description() != 395 .toShort()) {
1746+ throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
1747+ }
17361748 if (lib.uniffi_ldk_node_checksum_method_bolt11invoice_is_expired() != 15932 .toShort()) {
17371749 throw RuntimeException (" UniFFI API checksum mismatch: try cleaning and rebuilding your project" )
17381750 }
@@ -2498,12 +2510,12 @@ public interface Bolt11InvoiceInterface {
24982510
24992511 fun `currency` (): Currency
25002512
2501- fun `description` (): Bolt11InvoiceDescription
2502-
25032513 fun `expiryTimeSeconds` (): kotlin.ULong
25042514
25052515 fun `fallbackAddresses` (): List <Address >
25062516
2517+ fun `invoiceDescription` (): Bolt11InvoiceDescription
2518+
25072519 fun `isExpired` (): kotlin.Boolean
25082520
25092521 fun `minFinalCltvExpiryDelta` (): kotlin.ULong
@@ -2634,35 +2646,35 @@ open class Bolt11Invoice: Disposable, AutoCloseable, Bolt11InvoiceInterface {
26342646 }
26352647
26362648
2637- override fun `description ` (): Bolt11InvoiceDescription {
2638- return FfiConverterTypeBolt11InvoiceDescription .lift(
2649+ override fun `expiryTimeSeconds ` (): kotlin. ULong {
2650+ return FfiConverterULong .lift(
26392651 callWithPointer {
26402652 uniffiRustCall() { _status ->
2641- UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_description (
2653+ UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_expiry_time_seconds (
26422654 it, _status )
26432655}
26442656 }
26452657 )
26462658 }
26472659
26482660
2649- override fun `expiryTimeSeconds ` (): kotlin. ULong {
2650- return FfiConverterULong .lift(
2661+ override fun `fallbackAddresses ` (): List < Address > {
2662+ return FfiConverterSequenceTypeAddress .lift(
26512663 callWithPointer {
26522664 uniffiRustCall() { _status ->
2653- UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_expiry_time_seconds (
2665+ UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_fallback_addresses (
26542666 it, _status )
26552667}
26562668 }
26572669 )
26582670 }
26592671
26602672
2661- override fun `fallbackAddresses ` (): List < Address > {
2662- return FfiConverterSequenceTypeAddress .lift(
2673+ override fun `invoiceDescription ` (): Bolt11InvoiceDescription {
2674+ return FfiConverterTypeBolt11InvoiceDescription .lift(
26632675 callWithPointer {
26642676 uniffiRustCall() { _status ->
2665- UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_fallback_addresses (
2677+ UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_invoice_description (
26662678 it, _status )
26672679}
26682680 }
@@ -2803,6 +2815,31 @@ open class Bolt11Invoice: Disposable, AutoCloseable, Bolt11InvoiceInterface {
28032815
28042816
28052817
2818+ override fun toString (): String {
2819+ return FfiConverterString .lift(
2820+ callWithPointer {
2821+ uniffiRustCall() { _status ->
2822+ UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_display(
2823+ it, _status )
2824+ }
2825+ }
2826+ )
2827+ }
2828+
2829+
2830+ override fun equals (other : Any? ): Boolean {
2831+ if (this == = other) return true
2832+ if (other !is Bolt11Invoice ) return false
2833+ return FfiConverterBoolean .lift(
2834+ callWithPointer {
2835+ uniffiRustCall() { _status ->
2836+ UniffiLib .INSTANCE .uniffi_ldk_node_fn_method_bolt11invoice_uniffi_trait_eq_eq(
2837+ it, FfiConverterTypeBolt11Invoice .lower(`other`),_status )
2838+ }
2839+ }
2840+ )
2841+ }
2842+
28062843
28072844
28082845 companion object {
0 commit comments