ObterProcuracaoRequest class

Request para obter procurações eletrônicas

Constructors

ObterProcuracaoRequest({required String outorgante, required String tipoOutorgante, required String outorgado, required String tipoOutorgado})
ObterProcuracaoRequest.fromDocuments({required String outorgante, required String outorgado})
Cria request a partir de CPF/CNPJ
factory
ObterProcuracaoRequest.fromJson(Map<String, dynamic> json)
Cria a partir de JSON
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
outorgado String
final
outorgante String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tipoOutorgado String
final
tipoOutorgante String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converte para Map
toJsonString() String
Converte para JSON string para envio na API
toString() String
A string representation of this object.
override
validate() List<String>
Valida os dados da requisição
validatedAndCleaned() ObterProcuracaoRequest
Valida e limpa documentos automaticamente
validateWithException() → void
Valida dados mas lança exceção ao invés de retornar lista de erros

Operators

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