Skip to content

Move parse and validation logic to own classes #8

@vladdeSV

Description

@vladdeSV

Currently all parsing and validation is done in each country's parser class. This has caused logic to be spread around the codebase. I believe the code would be much more maintainable (and logical) if logic was contained within each type of national identification number class.

Ex. SwedenNINParser uses static methods in SwedenNIN to validate a checksum.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions