PlanCodeGenerator generator¶
Generate deterministic plan codes with configurable prefix and length.
Why: Use PlanCodeGenerator for compact catalogue keys whose business prefix identifies a plan family; use PrefixedIdGenerator when the body must follow a non-numeric pattern.
Category: insurance.
Output: str.
1 | |
Parameters¶
prefix:str | None; DefaultNone— Business prefix placed before the numeric plan-code body.digits:int; Default6— Fixed number of digits in the generated body.