ConsultarDividaAtivaResponse class
Modelo de resposta para DIVIDAATIVA24 - Consultar Dívida Ativa
Representa a resposta do serviço DIVIDAATIVA24 que consulta se o contribuinte está em dívida ativa
- Inheritance
-
- Object
- PgmeiBaseResponse
- ConsultarDividaAtivaResponse
Constructors
-
ConsultarDividaAtivaResponse({required int status, required List<
Mensagem> mensagens, required Map<String, dynamic> ? dados}) -
ConsultarDividaAtivaResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
dados
→ Map<
String, dynamic> ? -
Estrutura de dados de retorno (Map parseado)
finalinherited
-
debitosDividaAtiva
→ List<
PgmeiDebito> ? -
Parse dos dados como lista de débitos em dívida ativa
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mensagemErro → String?
-
Texto da primeira mensagem de erro (conveniência para exibição).
Retorna null se não houver mensagens.
no setterinherited
-
mensagens
→ List<
Mensagem> -
Mensagem explicativa retornada no acionamento do serviço
É um array composto de Código e texto da mensagem
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
Status HTTP retornado no acionamento do serviço
finalinherited
- sucesso → bool
-
Indica se a operação foi bem-sucedida
no setterinherited
- temDebitosDividaAtiva → bool
-
Indica se existem débitos em dívida ativa
no setter
- valorTotalDividaAtiva → double
-
Retorna o valor total em dívida ativa
no setter
Methods
-
getDebitoTributo(
String tributo) → List< PgmeiDebito> ? - Retorna apenas os débitos de um tributo específico
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited