TermoAutorizacaoRequest class
Modelo para criação do Termo de Autorização XML
Constructors
- TermoAutorizacaoRequest({required String contratanteNumero, required String contratanteNome, required String autorPedidoDadosNumero, required String autorPedidoDadosNome, required String dataAssinatura, required String dataVigencia, String? certificadoPath, String? certificadoPassword})
- TermoAutorizacaoRequest.comDataAtual({required String contratanteNumero, required String contratanteNome, required String autorPedidoDadosNumero, required String autorPedidoDadosNome, String? certificadoPath, String? certificadoPassword})
-
Factory para criar termo com data atual
factory
Properties
- autorPedidoDadosNome → String
-
final
- autorPedidoDadosNumero → String
-
final
- certificadoPassword → String?
-
final
- certificadoPath → String?
-
final
- contratanteNome → String
-
final
- contratanteNumero → String
-
final
- dataAssinatura → String
-
final
- dataVigencia → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
criarXmlTermo(
) → String - Cria o XML do termo de autorização conforme especificação SERPRO
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Cria o JSON para envio da requisição
-
toString(
) → String -
A string representation of this object.
inherited
-
validarDados(
) → List< String> - Valida os dados do termo de autorização
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited