RucValidator class

Validator for Ecuadorian RUC (Registro Único de Contribuyentes) numbers.

Constructors

RucValidator.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

isPossiblyValidRuc(String ruc) IdentificationResult
Validates if an Ecuadorian RUC number is valid for only length and province code.
validateRuc(String ruc) IdentificationResult
Validates an Ecuadorian RUC number against all possible RUC types.
validateRucByType(String ruc, TypeIdentification typeIdentification) IdentificationResult
Validates if an Ecuadorian RUC number is valid for a specific type.