PertsnValidations class
Validações específicas para o sistema PARCSN
Constructors
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
-
validarAnoMesParcela(
int? anoMesParcela) → String? - Valida um ano/mês de parcela no formato AAAAMM
-
validarCnpjContribuinte(
String? cnpj) → String? - Valida o CNPJ do contribuinte
-
validarCompetencia(
String? competencia) → String? - Valida se uma competência está no formato correto (AAAAMM)
-
validarDataFormato(
int? data) → String? - Valida se uma data está no formato correto (AAAAMMDD)
-
validarNumeroParcelamento(
int? numeroParcelamento) → String? - Valida um número de parcelamento
-
validarParcelaParaEmitir(
int? parcelaParaEmitir) → String? - Valida uma parcela para emissão no formato AAAAMM
-
validarPrazoEmissaoParcela(
int parcelaParaEmitir) → String? - Valida o prazo para emissão de uma parcela
-
validarTipoContribuinte(
int? tipoContribuinte) → String? - Valida o tipo de contribuinte
-
validarValorMonetario(
double? valor) → String? - Valida se um valor monetário é válido