Class: BrNfe::Product::Operation::NfeConsultaProtocolo
- Inherits:
-
Base
- Object
- ActiveModelBase
- Base
- Base
- BrNfe::Product::Operation::NfeConsultaProtocolo
- Defined in:
- lib/br_nfe/product/operation/nfe_consulta_protocolo.rb
Instance Attribute Summary collapse
-
#chave_nfe ⇒ Object
CHAVE DE ACESSO DA NF-E.
Attributes inherited from Base
#inicio_contingencia, #motivo_contingencia, #original_xml, #tipo_emissao
Attributes inherited from Base
#certificate_pkcs12_password, #certificate_pkcs12_path, #certificate_pkcs12_value, #env, #ibge_code_of_issuer_city, #ibge_code_of_issuer_uf
Attributes inherited from ActiveModelBase
Instance Method Summary collapse
-
#gateway_xml_version ⇒ Object
Versão utilizada pelo webservice do estado para determinada ação.
-
#method_wsdl ⇒ Object
Método SOAP que será chamado para enviar o XML.
- #response_class_builder ⇒ Object
-
#ssl_version ⇒ Object
Versão SSL utilizada pelo webservice.
-
#url_xmlns ⇒ Object
URL que será setada no atribto xmlns do XML; Ex: nfeCabecMsg xmlns=“www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2”.
-
#wsdl ⇒ Object
URL do webservice para enviar as informações.
-
#xml_builder ⇒ Object
XML que será enviado no body da requisição SOAP contendo as informações específicas de cada operação.
Methods inherited from Base
#certificado_obrigatorio?, #codigo_tipo_emissao, #contingencia?, #default_values, #gateway, #get_gateway_by_normal_operation, #get_gateway_by_svc_operation, #request, #response, #ssl_request?, #xml_current_dir_path, #xml_version
Methods included from NfXmlValue
#nf_xml_fixed_code, #nf_xml_value_CEP, #nf_xml_value_CEST, #nf_xml_value_CFOP, #nf_xml_value_CNAE, #nf_xml_value_CRT, #nf_xml_value_EAN, #nf_xml_value_EXTIPI, #nf_xml_value_IE, #nf_xml_value_IM, #nf_xml_value_ISSQN_incentivo_fiscal, #nf_xml_value_NCM, #nf_xml_value_NVE, #nf_xml_value_RNTC, #nf_xml_value_UF, #nf_xml_value_boolean, #nf_xml_value_chave_nfe, #nf_xml_value_cnpj, #nf_xml_value_codigo_enquadramento_IPI, #nf_xml_value_codigo_ibge_municipio, #nf_xml_value_codigo_nf, #nf_xml_value_codigo_pais, #nf_xml_value_consumidor_final, #nf_xml_value_cpf, #nf_xml_value_date, #nf_xml_value_date_time, #nf_xml_value_drawback, #nf_xml_value_email, #nf_xml_value_float, #nf_xml_value_fone, #nf_xml_value_id_estrangeiro, #nf_xml_value_id_local_destino, #nf_xml_value_indicador_IE, #nf_xml_value_indicador_sincrono, #nf_xml_value_inscricao_suframa, #nf_xml_value_monetary, #nf_xml_value_number, #nf_xml_value_number_fixed_size, #nf_xml_value_numero_recibo, #nf_xml_value_orgao_emissor, #nf_xml_value_percent, #nf_xml_value_peso, #nf_xml_value_placa, #nf_xml_value_quantidade, #nf_xml_value_text, #nf_xml_value_time, #nf_xml_value_tipo_ambiente
Methods inherited from Base
#certificado_obrigatorio?, #certificate, #certificate=, #certificate_key, #certificate_key=, #certificate_pkcs12, #certificate_pkcs12=, #client_wsdl, #content_xml, #env_namespace, #env_test?, #find_xml, #get_xml_dirs, #id_attribute?, #message_namespaces, #namespace_for_signature, #namespace_for_tags, #namespace_identifier, #original_response, #render_xml, #response, #response_encoding, #sign_xml, #signature_type, #signature_type?, #soap_namespaces, #soap_xml, #ssl_request?, #tag_xml, #wsdl_encoding, #xml_current_dir_path, #xml_default_dir_path, #xml_version
Methods included from Association::HaveEmitente
Methods inherited from ActiveModelBase
#assign_attributes, #default_values, #initialize
Constructor Details
This class inherits a constructor from BrNfe::ActiveModelBase
Instance Attribute Details
#chave_nfe ⇒ Object
CHAVE DE ACESSO DA NF-E.
Type: Number Required: Yes Example: 42000082176983000186550000000000006313331836 Length: 44 tag: chNFe
13 14 15 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 13 def chave_nfe @chave_nfe end |
Instance Method Details
#gateway_xml_version ⇒ Object
Versão utilizada pelo webservice do estado para determinada ação.
33 34 35 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 33 def gateway_xml_version gateway.version_xml_consulta_protocolo end |
#method_wsdl ⇒ Object
Método SOAP que será chamado para enviar o XML
28 29 30 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 28 def method_wsdl gateway.operation_consulta_protocolo end |
#response_class_builder ⇒ Object
55 56 57 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 55 def response_class_builder BrNfe::Product::Response::Build::NfeConsultaProtocolo end |
#ssl_version ⇒ Object
Versão SSL utilizada pelo webservice
45 46 47 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 45 def ssl_version gateway.ssl_version_consulta_protocolo end |
#url_xmlns ⇒ Object
URL que será setada no atribto xmlns do XML; Ex: nfeCabecMsg xmlns=“www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2”
40 41 42 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 40 def url_xmlns gateway.url_xmlns_consulta_protocolo end |
#wsdl ⇒ Object
URL do webservice para enviar as informações. Ex: www.sefazvirtual.fazenda.gov.br/NfeInutilizacao2/NfeInutilizacao2.asmx?wsdl
23 24 25 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 23 def wsdl gateway.wsdl_consulta_protocolo end |
#xml_builder ⇒ Object
XML que será enviado no body da requisição SOAP contendo as informações específicas de cada operação.
51 52 53 |
# File 'lib/br_nfe/product/operation/nfe_consulta_protocolo.rb', line 51 def xml_builder @xml_builder ||= render_xml 'root/NfeConsultaProtocolo' end |