fn sanitize_brand(value: &str) -> Option<String>
Expand description
Sanitize credit card brand
Performs a fuzzy match on the string to find a matching brand. By converting to lowercase and removing all whitespace.
- For recognized brands, the brand is normalized before being converted to a string.
- For unrecognized brands,
None
is returned.