Skip to content

Instantly share code, notes, and snippets.

View jefperito's full-sized avatar
:octocat:
Mastering code quality

Jeferson Perito jefperito

:octocat:
Mastering code quality
  • Palhoça, Brazil
View GitHub Profile
@jefperito
jefperito / NFeAutorizacao3.wsdl
Created August 12, 2015 14:12
NFeAutorizacao3.wsdl
<?xml version='1.0' encoding='UTF-8'?>
<wsdl:definitions targetNamespace='http://www.portalfiscal.inf.br/nfe/wsdl/NfeAutorizacao3' xmlns:http='http://schemas.xmlsoap.org/wsdl/http/' xmlns:mime='http://schemas.xmlsoap.org/wsdl/mime/' xmlns:s='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:soap12='http://schemas.xmlsoap.org/wsdl/soap12/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xmlns:tm='http://microsoft.com/wsdl/mime/textMatching/' xmlns:tns='http://www.portalfiscal.inf.br/nfe/wsdl/NfeAutorizacao3' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>
<wsdl:documentation xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'>Servico destinado a recepcao de mensagens de lote de NF-e.</wsdl:documentation>
<wsdl:types>
<s:schema elementFormDefault='qualified' targetNamespace='http://www.portalfiscal.inf.br/nfe/wsdl/NfeAutorizacao3'>
<s:element name='nfeDadosMsg'>
<s:complexType mixed='true'>
<s:sequence>
<s:any/>
</s:sequence>
public class Google {
private List<Linha> linhas;
public Google(String nomeArquivo) {
// ...
}
public List<Registro> obtemRegistros() {
List<Registro> registros = new ArrayList<>();
public class Google extends Importador {
public Google(String nomeArquivo) {
super(nomeArquivo);
}
@Override
public String obtemTipo() {
return "Google";
}
class Importador(object):
def __init__(self, arquivo):
# ...
def obtemRegistros(self):
registros = []
for linha in self.linhas:
registro = Registro()
// WIDGET CONTROLLER
$.init = function(_params) {
$.tabs = [];
$.menuImages = [];
for(var i = 0; i < _params.tabs.length; i++) {
var tab = Ti.UI.createTableViewRow({
id: _params.tabs[i].id,
height: "47dp",