- public ChannelUpdate get_last_update_message(DirectionalChannelInfo this_ptr) {
- ChannelUpdate ret = new ChannelUpdate(null, bindings.DirectionalChannelInfo_get_last_update_message(this_ptr.ptr & ~1));
- this.ptrs_to.add(this_ptr);
- return ret;
+ public RoutingFees get_fees() {
+ long ret = bindings.DirectionalChannelInfo_get_fees(this.ptr);
+ RoutingFees ret_hu_conv = new RoutingFees(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ public void set_fees(RoutingFees val) {
+ bindings.DirectionalChannelInfo_set_fees(this.ptr, val == null ? 0 : val.ptr & ~1);
+ this.ptrs_to.add(val);
+ }
+
+ public ChannelUpdate get_last_update_message() {
+ long ret = bindings.DirectionalChannelInfo_get_last_update_message(this.ptr);
+ ChannelUpdate ret_hu_conv = new ChannelUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;