Saving the value for a taxonomy term field
Yes, as @Trupal said, forget about the internal properties of the term objects, that's internal details that are not relevant to you.

If you want to see what's inside, try $term->toArray() and look at the result of that in your debugger. Or access the field value with $term->field_foo->value.