X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FInvoiceFeatures.ts;h=109957b1841cee1d5b34b842c47f62a6593b11f7;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=0214501714b94f4eb8c19aac7566e50e61f6fff0;hpb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;p=ldk-java diff --git a/ts/structs/InvoiceFeatures.ts b/ts/structs/InvoiceFeatures.ts index 02145017..109957b1 100644 --- a/ts/structs/InvoiceFeatures.ts +++ b/ts/structs/InvoiceFeatures.ts @@ -24,6 +24,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret; } + public number clone_ptr() { + number ret = bindings.InvoiceFeatures_clone_ptr(this.ptr); + return ret; + } + public InvoiceFeatures clone() { number ret = bindings.InvoiceFeatures_clone(this.ptr); const ret_hu_conv: InvoiceFeatures = new InvoiceFeatures(null, ret); @@ -45,6 +50,11 @@ import * as bindings from '../bindings' // TODO: figure out location return ret_hu_conv; } + public boolean requires_unknown_bits() { + boolean ret = bindings.InvoiceFeatures_requires_unknown_bits(this.ptr); + return ret; + } + public boolean supports_payment_secret() { boolean ret = bindings.InvoiceFeatures_supports_payment_secret(this.ptr); return ret;