Abstract
Base value-object: every credential knows its kind and serializes itself. Not a Stuff — a plain value object owned by the wallet, so its mutation surface is ordinary methods (no proxy / persistence reflection here).
Stuff
Readonly
The storable plain-object form (round-trips through the wallet).
Static
Reconstruct the right record subclass from its serialized form.
Mint a fresh, default-state credential of kind.
kind
Base value-object: every credential knows its kind and serializes itself. Not a
Stuff— a plain value object owned by the wallet, so its mutation surface is ordinary methods (no proxy / persistence reflection here).