- public void set_features(@Nullable org.ldk.structs.InvoiceFeatures val) {
- bindings.PaymentParameters_set_features(this.ptr, val == null ? 0 : val.ptr);
- Reference.reachabilityFence(this);
- Reference.reachabilityFence(val);
- if (this != null) { this.ptrs_to.add(val); };
- }
-
- /**
- * Hints for routing to the payee, containing channels connecting the payee to public nodes.
- */
- public Hints get_route_hints() {
- long ret = bindings.PaymentParameters_get_route_hints(this.ptr);
- Reference.reachabilityFence(this);
- if (ret >= 0 && ret <= 4096) { return null; }
- org.ldk.structs.Hints ret_hu_conv = org.ldk.structs.Hints.constr_from_ptr(ret);
- if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
- return ret_hu_conv;
- }
-
- /**
- * Hints for routing to the payee, containing channels connecting the payee to public nodes.
- */
- public void set_route_hints(org.ldk.structs.Hints val) {
- bindings.PaymentParameters_set_route_hints(this.ptr, val.ptr);
+ public void set_payee(org.ldk.structs.Payee val) {
+ bindings.PaymentParameters_set_payee(this.ptr, val.ptr);