<?php
/**
 * This file aims to show you how to use this generated package.
 * In addition, the goal is to show which methods are available and the fist needed parameter(s)
 * You have to use an associative array such as:
 * - the key must be a constant beginning with WSDL_ from AbstractSoapClientbase class each generated ServiceType class extends this class
 * - the value must be the corresponding key value (each option matches a {@link http://www.php.net/manual/en/soapclient.soapclient.php} option)
 * $options = array(
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'http://136.144.153.161/AWIP/AWIP.svc?wsdl',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_TRACE => true,
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_LOGIN => 'you_secret_login',
 * \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_PASSWORD => 'you_secret_password',
 * );
 * etc....
 */
require_once __DIR__ . '/vendor/autoload.php';
/**
 * Minimal options
 */
$options = array(
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_URL => 'http://136.144.153.161/AWIP/AWIP.svc?wsdl',
    \WsdlToPhp\PackageBase\AbstractSoapClientBase::WSDL_CLASSMAP => ClassMap::get(),
);
/**
 * Samples for Imprime ServiceType
 */
$imprime = new \ServiceType\Imprime($options);
/**
 * Sample call for ImprimeDocumentoPendente operation/method
 */
if ($imprime->ImprimeDocumentoPendente(new \StructType\ImprimeDocumentoPendente()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Sample call for ImprimeDocumentoVendaERP operation/method
 */
if ($imprime->ImprimeDocumentoVendaERP(new \StructType\ImprimeDocumentoVendaERP()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Sample call for ImprimeDocumentoVenda operation/method
 */
if ($imprime->ImprimeDocumentoVenda(new \StructType\ImprimeDocumentoVenda()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Sample call for ImprimeDocumentoCompraERP operation/method
 */
if ($imprime->ImprimeDocumentoCompraERP(new \StructType\ImprimeDocumentoCompraERP()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Sample call for ImprimeDocumentoCompra operation/method
 */
if ($imprime->ImprimeDocumentoCompra(new \StructType\ImprimeDocumentoCompra()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Sample call for ImprimeDocumentoInterno operation/method
 */
if ($imprime->ImprimeDocumentoInterno(new \StructType\ImprimeDocumentoInterno()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Sample call for ImprimeDocumentoLiquidacao operation/method
 */
if ($imprime->ImprimeDocumentoLiquidacao(new \StructType\ImprimeDocumentoLiquidacao()) !== false) {
    print_r($imprime->getResult());
} else {
    print_r($imprime->getLastError());
}
/**
 * Samples for Gerar ServiceType
 */
$gerar = new \ServiceType\Gerar($options);
/**
 * Sample call for GerarReferenciaMB operation/method
 */
if ($gerar->GerarReferenciaMB(new \StructType\GerarReferenciaMB()) !== false) {
    print_r($gerar->getResult());
} else {
    print_r($gerar->getLastError());
}
/**
 * Sample call for GerarReferenciaMBDocumento operation/method
 */
if ($gerar->GerarReferenciaMBDocumento(new \StructType\GerarReferenciaMBDocumento()) !== false) {
    print_r($gerar->getResult());
} else {
    print_r($gerar->getLastError());
}
/**
 * Samples for Estornar ServiceType
 */
$estornar = new \ServiceType\Estornar($options);
/**
 * Sample call for EstornarDocumentoDeVenda operation/method
 */
if ($estornar->EstornarDocumentoDeVenda(new \StructType\EstornarDocumentoDeVenda()) !== false) {
    print_r($estornar->getResult());
} else {
    print_r($estornar->getLastError());
}
/**
 * Sample call for EstornarDocumentoDeVendaSimples operation/method
 */
if ($estornar->EstornarDocumentoDeVendaSimples(new \StructType\EstornarDocumentoDeVendaSimples()) !== false) {
    print_r($estornar->getResult());
} else {
    print_r($estornar->getLastError());
}
/**
 * Sample call for EstornarDocumentoDeCompra operation/method
 */
if ($estornar->EstornarDocumentoDeCompra(new \StructType\EstornarDocumentoDeCompra()) !== false) {
    print_r($estornar->getResult());
} else {
    print_r($estornar->getLastError());
}
/**
 * Sample call for EstornarDocumentoDeCompraSimples operation/method
 */
if ($estornar->EstornarDocumentoDeCompraSimples(new \StructType\EstornarDocumentoDeCompraSimples()) !== false) {
    print_r($estornar->getResult());
} else {
    print_r($estornar->getLastError());
}
/**
 * Samples for Anular ServiceType
 */
$anular = new \ServiceType\Anular($options);
/**
 * Sample call for AnularDocumentoDeVenda operation/method
 */
if ($anular->AnularDocumentoDeVenda(new \StructType\AnularDocumentoDeVenda()) !== false) {
    print_r($anular->getResult());
} else {
    print_r($anular->getLastError());
}
/**
 * Sample call for AnularDocumentoDeVendaSimples operation/method
 */
if ($anular->AnularDocumentoDeVendaSimples(new \StructType\AnularDocumentoDeVendaSimples()) !== false) {
    print_r($anular->getResult());
} else {
    print_r($anular->getLastError());
}
/**
 * Sample call for AnularDocumentoDeCompraSimples operation/method
 */
if ($anular->AnularDocumentoDeCompraSimples(new \StructType\AnularDocumentoDeCompraSimples()) !== false) {
    print_r($anular->getResult());
} else {
    print_r($anular->getLastError());
}
/**
 * Sample call for AnularDocumentoDeCompra operation/method
 */
if ($anular->AnularDocumentoDeCompra(new \StructType\AnularDocumentoDeCompra()) !== false) {
    print_r($anular->getResult());
} else {
    print_r($anular->getLastError());
}
/**
 * Samples for Transforma ServiceType
 */
$transforma = new \ServiceType\Transforma($options);
/**
 * Sample call for TransformaDocumentoVenda operation/method
 */
if ($transforma->TransformaDocumentoVenda(new \StructType\TransformaDocumentoVenda()) !== false) {
    print_r($transforma->getResult());
} else {
    print_r($transforma->getLastError());
}
/**
 * Sample call for TransformaDocumentoCompra operation/method
 */
if ($transforma->TransformaDocumentoCompra(new \StructType\TransformaDocumentoCompra()) !== false) {
    print_r($transforma->getResult());
} else {
    print_r($transforma->getLastError());
}
/**
 * Sample call for TransformaDocumentoVendaMB operation/method
 */
if ($transforma->TransformaDocumentoVendaMB(new \StructType\TransformaDocumentoVendaMB()) !== false) {
    print_r($transforma->getResult());
} else {
    print_r($transforma->getLastError());
}
/**
 * Samples for Devolve ServiceType
 */
$devolve = new \ServiceType\Devolve($options);
/**
 * Sample call for DevolveDocumentosPagosMB operation/method
 */
if ($devolve->DevolveDocumentosPagosMB(new \StructType\DevolveDocumentosPagosMB()) !== false) {
    print_r($devolve->getResult());
} else {
    print_r($devolve->getLastError());
}
/**
 * Sample call for DevolvePagamentosMB operation/method
 */
if ($devolve->DevolvePagamentosMB(new \StructType\DevolvePagamentosMB()) !== false) {
    print_r($devolve->getResult());
} else {
    print_r($devolve->getLastError());
}
/**
 * Samples for Verifica ServiceType
 */
$verifica = new \ServiceType\Verifica($options);
/**
 * Sample call for VerificaPagamentosDisponiveisReferenciaMB operation/method
 */
if ($verifica->VerificaPagamentosDisponiveisReferenciaMB(new \StructType\VerificaPagamentosDisponiveisReferenciaMB()) !== false) {
    print_r($verifica->getResult());
} else {
    print_r($verifica->getLastError());
}
/**
 * Sample call for VerificaPagamentosDisponiveisMB operation/method
 */
if ($verifica->VerificaPagamentosDisponiveisMB(new \StructType\VerificaPagamentosDisponiveisMB()) !== false) {
    print_r($verifica->getResult());
} else {
    print_r($verifica->getLastError());
}
/**
 * Samples for Edita ServiceType
 */
$edita = new \ServiceType\Edita($options);
/**
 * Sample call for EditaResumoRetencaoJSON operation/method
 */
if ($edita->EditaResumoRetencaoJSON(new \StructType\EditaResumoRetencaoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoRetencaoLiqJSON operation/method
 */
if ($edita->EditaResumoRetencaoLiqJSON(new \StructType\EditaResumoRetencaoLiqJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieCCTJSON operation/method
 */
if ($edita->EditaSerieCCTJSON(new \StructType\EditaSerieCCTJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieContratoJSON operation/method
 */
if ($edita->EditaSerieContratoJSON(new \StructType\EditaSerieContratoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieStockJSON operation/method
 */
if ($edita->EditaSerieStockJSON(new \StructType\EditaSerieStockJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieVendasJSON operation/method
 */
if ($edita->EditaSerieVendasJSON(new \StructType\EditaSerieVendasJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieComprasJSON operation/method
 */
if ($edita->EditaSerieComprasJSON(new \StructType\EditaSerieComprasJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoTerceiroJSON operation/method
 */
if ($edita->EditaTipoTerceiroJSON(new \StructType\EditaTipoTerceiroJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaUnidadeJSON operation/method
 */
if ($edita->EditaUnidadeJSON(new \StructType\EditaUnidadeJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMarcaXML operation/method
 */
if ($edita->EditaMarcaXML(new \StructType\EditaMarcaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaModeloXML operation/method
 */
if ($edita->EditaModeloXML(new \StructType\EditaModeloXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoedaXML operation/method
 */
if ($edita->EditaMoedaXML(new \StructType\EditaMoedaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoradaAlternativaClienteXML operation/method
 */
if ($edita->EditaMoradaAlternativaClienteXML(new \StructType\EditaMoradaAlternativaClienteXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoradaAlternativaFornecedorXML operation/method
 */
if ($edita->EditaMoradaAlternativaFornecedorXML(new \StructType\EditaMoradaAlternativaFornecedorXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMotivoEstornoXML operation/method
 */
if ($edita->EditaMotivoEstornoXML(new \StructType\EditaMotivoEstornoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMotivoIsencaoIVAXML operation/method
 */
if ($edita->EditaMotivoIsencaoIVAXML(new \StructType\EditaMotivoIsencaoIVAXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaOrigemContactoXML operation/method
 */
if ($edita->EditaOrigemContactoXML(new \StructType\EditaOrigemContactoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaOutroTerceiroXML operation/method
 */
if ($edita->EditaOutroTerceiroXML(new \StructType\EditaOutroTerceiroXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPendenteIdXML operation/method
 */
if ($edita->EditaPendenteIdXML(new \StructType\EditaPendenteIdXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPendenteXML operation/method
 */
if ($edita->EditaPendenteXML(new \StructType\EditaPendenteXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoIvaXML operation/method
 */
if ($edita->EditaResumoIvaXML(new \StructType\EditaResumoIvaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoRetencaoXML operation/method
 */
if ($edita->EditaResumoRetencaoXML(new \StructType\EditaResumoRetencaoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoRetencaoLiqXML operation/method
 */
if ($edita->EditaResumoRetencaoLiqXML(new \StructType\EditaResumoRetencaoLiqXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieCCTXML operation/method
 */
if ($edita->EditaSerieCCTXML(new \StructType\EditaSerieCCTXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieContratoXML operation/method
 */
if ($edita->EditaSerieContratoXML(new \StructType\EditaSerieContratoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieStockXML operation/method
 */
if ($edita->EditaSerieStockXML(new \StructType\EditaSerieStockXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieVendasXML operation/method
 */
if ($edita->EditaSerieVendasXML(new \StructType\EditaSerieVendasXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieComprasXML operation/method
 */
if ($edita->EditaSerieComprasXML(new \StructType\EditaSerieComprasXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoTerceiroXML operation/method
 */
if ($edita->EditaTipoTerceiroXML(new \StructType\EditaTipoTerceiroXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaUnidadeXML operation/method
 */
if ($edita->EditaUnidadeXML(new \StructType\EditaUnidadeXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaConfiguracaoEasyPayJSON operation/method
 */
if ($edita->EditaConfiguracaoEasyPayJSON(new \StructType\EditaConfiguracaoEasyPayJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoArmazemJSON operation/method
 */
if ($edita->EditaArtigoArmazemJSON(new \StructType\EditaArtigoArmazemJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaVendedorJSON operation/method
 */
if ($edita->EditaVendedorJSON(new \StructType\EditaVendedorJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaModoExpedicaoJSON operation/method
 */
if ($edita->EditaModoExpedicaoJSON(new \StructType\EditaModoExpedicaoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEmpresaJSON operation/method
 */
if ($edita->EditaEmpresaJSON(new \StructType\EditaEmpresaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPaisJSON operation/method
 */
if ($edita->EditaPaisJSON(new \StructType\EditaPaisJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaParceiroJSON operation/method
 */
if ($edita->EditaParceiroJSON(new \StructType\EditaParceiroJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoContactoJSON operation/method
 */
if ($edita->EditaTipoContactoJSON(new \StructType\EditaTipoContactoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstabelecimentoJSON operation/method
 */
if ($edita->EditaEstabelecimentoJSON(new \StructType\EditaEstabelecimentoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoParceiroJSON operation/method
 */
if ($edita->EditaTipoParceiroJSON(new \StructType\EditaTipoParceiroJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaContactoJSON operation/method
 */
if ($edita->EditaContactoJSON(new \StructType\EditaContactoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArmazemJSON operation/method
 */
if ($edita->EditaArmazemJSON(new \StructType\EditaArmazemJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocIdentificacaoJSON operation/method
 */
if ($edita->EditaTipoDocIdentificacaoJSON(new \StructType\EditaTipoDocIdentificacaoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArmazemLocalizacaoJSON operation/method
 */
if ($edita->EditaArmazemLocalizacaoJSON(new \StructType\EditaArmazemLocalizacaoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMetodoPagamentoJSON operation/method
 */
if ($edita->EditaMetodoPagamentoJSON(new \StructType\EditaMetodoPagamentoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaCondicaoPagamentoJSON operation/method
 */
if ($edita->EditaCondicaoPagamentoJSON(new \StructType\EditaCondicaoPagamentoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoJSON operation/method
 */
if ($edita->EditaArtigoJSON(new \StructType\EditaArtigoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoFornecedorJSON operation/method
 */
if ($edita->EditaArtigoFornecedorJSON(new \StructType\EditaArtigoFornecedorJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoIdiomaJSON operation/method
 */
if ($edita->EditaArtigoIdiomaJSON(new \StructType\EditaArtigoIdiomaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoLoteJSON operation/method
 */
if ($edita->EditaArtigoLoteJSON(new \StructType\EditaArtigoLoteJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoMoedaJSON operation/method
 */
if ($edita->EditaArtigoMoedaJSON(new \StructType\EditaArtigoMoedaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoUnidadeJSON operation/method
 */
if ($edita->EditaArtigoUnidadeJSON(new \StructType\EditaArtigoUnidadeJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoCompraIdJSON operation/method
 */
if ($edita->EditaDocumentoCompraIdJSON(new \StructType\EditaDocumentoCompraIdJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoCompraJSON operation/method
 */
if ($edita->EditaDocumentoCompraJSON(new \StructType\EditaDocumentoCompraJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstadoDocumentoCompraJSON operation/method
 */
if ($edita->EditaEstadoDocumentoCompraJSON(new \StructType\EditaEstadoDocumentoCompraJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoVendaIdJSON operation/method
 */
if ($edita->EditaDocumentoVendaIdJSON(new \StructType\EditaDocumentoVendaIdJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoVendaJSON operation/method
 */
if ($edita->EditaDocumentoVendaJSON(new \StructType\EditaDocumentoVendaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstadoDocumentoVendaJSON operation/method
 */
if ($edita->EditaEstadoDocumentoVendaJSON(new \StructType\EditaEstadoDocumentoVendaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoInternoIdJSON operation/method
 */
if ($edita->EditaDocumentoInternoIdJSON(new \StructType\EditaDocumentoInternoIdJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoInternoJSON operation/method
 */
if ($edita->EditaDocumentoInternoJSON(new \StructType\EditaDocumentoInternoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoLiquidacaoIdJSON operation/method
 */
if ($edita->EditaDocumentoLiquidacaoIdJSON(new \StructType\EditaDocumentoLiquidacaoIdJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoLiquidacaoJSON operation/method
 */
if ($edita->EditaDocumentoLiquidacaoJSON(new \StructType\EditaDocumentoLiquidacaoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaClienteJSON operation/method
 */
if ($edita->EditaClienteJSON(new \StructType\EditaClienteJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaConcelhoJSON operation/method
 */
if ($edita->EditaConcelhoJSON(new \StructType\EditaConcelhoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaContaBancariaJSON operation/method
 */
if ($edita->EditaContaBancariaJSON(new \StructType\EditaContaBancariaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDistritoJSON operation/method
 */
if ($edita->EditaDistritoJSON(new \StructType\EditaDistritoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoContaCorrenteJSON operation/method
 */
if ($edita->EditaTipoDocumentoContaCorrenteJSON(new \StructType\EditaTipoDocumentoContaCorrenteJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoCompraJSON operation/method
 */
if ($edita->EditaTipoDocumentoCompraJSON(new \StructType\EditaTipoDocumentoCompraJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoInternoJSON operation/method
 */
if ($edita->EditaTipoDocumentoInternoJSON(new \StructType\EditaTipoDocumentoInternoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentStockJSON operation/method
 */
if ($edita->EditaTipoDocumentStockJSON(new \StructType\EditaTipoDocumentStockJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoVendaJSON operation/method
 */
if ($edita->EditaTipoDocumentoVendaJSON(new \StructType\EditaTipoDocumentoVendaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFamiliaJSON operation/method
 */
if ($edita->EditaFamiliaJSON(new \StructType\EditaFamiliaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFornecedorJSON operation/method
 */
if ($edita->EditaFornecedorJSON(new \StructType\EditaFornecedorJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFreguesiaJSON operation/method
 */
if ($edita->EditaFreguesiaJSON(new \StructType\EditaFreguesiaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFuncionarioJSON operation/method
 */
if ($edita->EditaFuncionarioJSON(new \StructType\EditaFuncionarioJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaIvaJSON operation/method
 */
if ($edita->EditaIvaJSON(new \StructType\EditaIvaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocJSON operation/method
 */
if ($edita->EditaLinhaDocJSON(new \StructType\EditaLinhaDocJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocStatusJSON operation/method
 */
if ($edita->EditaLinhaDocStatusJSON(new \StructType\EditaLinhaDocStatusJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocTransJSON operation/method
 */
if ($edita->EditaLinhaDocTransJSON(new \StructType\EditaLinhaDocTransJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaInternosJSON operation/method
 */
if ($edita->EditaLinhaInternosJSON(new \StructType\EditaLinhaInternosJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaInternosStatusJSON operation/method
 */
if ($edita->EditaLinhaInternosStatusJSON(new \StructType\EditaLinhaInternosStatusJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaLiqJSON operation/method
 */
if ($edita->EditaLinhaLiqJSON(new \StructType\EditaLinhaLiqJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMarcaJSON operation/method
 */
if ($edita->EditaMarcaJSON(new \StructType\EditaMarcaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaModeloJSON operation/method
 */
if ($edita->EditaModeloJSON(new \StructType\EditaModeloJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoedaJSON operation/method
 */
if ($edita->EditaMoedaJSON(new \StructType\EditaMoedaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoradaAlternativaClienteJSON operation/method
 */
if ($edita->EditaMoradaAlternativaClienteJSON(new \StructType\EditaMoradaAlternativaClienteJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoradaAlternativaFornecedorJSON operation/method
 */
if ($edita->EditaMoradaAlternativaFornecedorJSON(new \StructType\EditaMoradaAlternativaFornecedorJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMotivoEstornoJSON operation/method
 */
if ($edita->EditaMotivoEstornoJSON(new \StructType\EditaMotivoEstornoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMotivoIsencaoIVAJSON operation/method
 */
if ($edita->EditaMotivoIsencaoIVAJSON(new \StructType\EditaMotivoIsencaoIVAJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaOrigemContactoJSON operation/method
 */
if ($edita->EditaOrigemContactoJSON(new \StructType\EditaOrigemContactoJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaOutroTerceiroJSON operation/method
 */
if ($edita->EditaOutroTerceiroJSON(new \StructType\EditaOutroTerceiroJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPendenteIdJSON operation/method
 */
if ($edita->EditaPendenteIdJSON(new \StructType\EditaPendenteIdJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPendenteJSON operation/method
 */
if ($edita->EditaPendenteJSON(new \StructType\EditaPendenteJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoIvaJSON operation/method
 */
if ($edita->EditaResumoIvaJSON(new \StructType\EditaResumoIvaJSON()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoVenda operation/method
 */
if ($edita->EditaTipoDocumentoVenda(new \StructType\EditaTipoDocumentoVenda()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFamilia operation/method
 */
if ($edita->EditaFamilia(new \StructType\EditaFamilia()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFornecedor operation/method
 */
if ($edita->EditaFornecedor(new \StructType\EditaFornecedor()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFreguesia operation/method
 */
if ($edita->EditaFreguesia(new \StructType\EditaFreguesia()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFuncionario operation/method
 */
if ($edita->EditaFuncionario(new \StructType\EditaFuncionario()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaIva operation/method
 */
if ($edita->EditaIva(new \StructType\EditaIva()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDoc operation/method
 */
if ($edita->EditaLinhaDoc(new \StructType\EditaLinhaDoc()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocStatus operation/method
 */
if ($edita->EditaLinhaDocStatus(new \StructType\EditaLinhaDocStatus()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocTrans operation/method
 */
if ($edita->EditaLinhaDocTrans(new \StructType\EditaLinhaDocTrans()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaInternos operation/method
 */
if ($edita->EditaLinhaInternos(new \StructType\EditaLinhaInternos()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaInternosStatus operation/method
 */
if ($edita->EditaLinhaInternosStatus(new \StructType\EditaLinhaInternosStatus()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaLiq operation/method
 */
if ($edita->EditaLinhaLiq(new \StructType\EditaLinhaLiq()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMarca operation/method
 */
if ($edita->EditaMarca(new \StructType\EditaMarca()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaModelo operation/method
 */
if ($edita->EditaModelo(new \StructType\EditaModelo()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoeda operation/method
 */
if ($edita->EditaMoeda(new \StructType\EditaMoeda()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoradaAlternativaCliente operation/method
 */
if ($edita->EditaMoradaAlternativaCliente(new \StructType\EditaMoradaAlternativaCliente()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMoradaAlternativaFornecedor operation/method
 */
if ($edita->EditaMoradaAlternativaFornecedor(new \StructType\EditaMoradaAlternativaFornecedor()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMotivoEstorno operation/method
 */
if ($edita->EditaMotivoEstorno(new \StructType\EditaMotivoEstorno()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMotivoIsencaoIVA operation/method
 */
if ($edita->EditaMotivoIsencaoIVA(new \StructType\EditaMotivoIsencaoIVA()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaOrigemContacto operation/method
 */
if ($edita->EditaOrigemContacto(new \StructType\EditaOrigemContacto()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaOutroTerceiro operation/method
 */
if ($edita->EditaOutroTerceiro(new \StructType\EditaOutroTerceiro()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPendenteId operation/method
 */
if ($edita->EditaPendenteId(new \StructType\EditaPendenteId()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPendente operation/method
 */
if ($edita->EditaPendente(new \StructType\EditaPendente()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoIva operation/method
 */
if ($edita->EditaResumoIva(new \StructType\EditaResumoIva()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoRetencao operation/method
 */
if ($edita->EditaResumoRetencao(new \StructType\EditaResumoRetencao()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaResumoRetencaoLiq operation/method
 */
if ($edita->EditaResumoRetencaoLiq(new \StructType\EditaResumoRetencaoLiq()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieCCT operation/method
 */
if ($edita->EditaSerieCCT(new \StructType\EditaSerieCCT()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieContrato operation/method
 */
if ($edita->EditaSerieContrato(new \StructType\EditaSerieContrato()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieStock operation/method
 */
if ($edita->EditaSerieStock(new \StructType\EditaSerieStock()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieVendas operation/method
 */
if ($edita->EditaSerieVendas(new \StructType\EditaSerieVendas()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaSerieCompras operation/method
 */
if ($edita->EditaSerieCompras(new \StructType\EditaSerieCompras()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoTerceiro operation/method
 */
if ($edita->EditaTipoTerceiro(new \StructType\EditaTipoTerceiro()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaUnidade operation/method
 */
if ($edita->EditaUnidade(new \StructType\EditaUnidade()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaConfiguracaoEasyPayXML operation/method
 */
if ($edita->EditaConfiguracaoEasyPayXML(new \StructType\EditaConfiguracaoEasyPayXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoArmazemXML operation/method
 */
if ($edita->EditaArtigoArmazemXML(new \StructType\EditaArtigoArmazemXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaVendedorXML operation/method
 */
if ($edita->EditaVendedorXML(new \StructType\EditaVendedorXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaModoExpedicaoXML operation/method
 */
if ($edita->EditaModoExpedicaoXML(new \StructType\EditaModoExpedicaoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEmpresaXML operation/method
 */
if ($edita->EditaEmpresaXML(new \StructType\EditaEmpresaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPaisXML operation/method
 */
if ($edita->EditaPaisXML(new \StructType\EditaPaisXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaParceiroXML operation/method
 */
if ($edita->EditaParceiroXML(new \StructType\EditaParceiroXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoContactoXML operation/method
 */
if ($edita->EditaTipoContactoXML(new \StructType\EditaTipoContactoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstabelecimentoXML operation/method
 */
if ($edita->EditaEstabelecimentoXML(new \StructType\EditaEstabelecimentoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaContactoXML operation/method
 */
if ($edita->EditaContactoXML(new \StructType\EditaContactoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArmazemXML operation/method
 */
if ($edita->EditaArmazemXML(new \StructType\EditaArmazemXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocIdentificacaoXML operation/method
 */
if ($edita->EditaTipoDocIdentificacaoXML(new \StructType\EditaTipoDocIdentificacaoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArmazemLocalizacaoXML operation/method
 */
if ($edita->EditaArmazemLocalizacaoXML(new \StructType\EditaArmazemLocalizacaoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMetodoPagamentoXML operation/method
 */
if ($edita->EditaMetodoPagamentoXML(new \StructType\EditaMetodoPagamentoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaCondicaoPagamentoXML operation/method
 */
if ($edita->EditaCondicaoPagamentoXML(new \StructType\EditaCondicaoPagamentoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoXML operation/method
 */
if ($edita->EditaArtigoXML(new \StructType\EditaArtigoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoFornecedorXML operation/method
 */
if ($edita->EditaArtigoFornecedorXML(new \StructType\EditaArtigoFornecedorXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoIdiomaXML operation/method
 */
if ($edita->EditaArtigoIdiomaXML(new \StructType\EditaArtigoIdiomaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoLoteXML operation/method
 */
if ($edita->EditaArtigoLoteXML(new \StructType\EditaArtigoLoteXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoMoedaXML operation/method
 */
if ($edita->EditaArtigoMoedaXML(new \StructType\EditaArtigoMoedaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoUnidadeXML operation/method
 */
if ($edita->EditaArtigoUnidadeXML(new \StructType\EditaArtigoUnidadeXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoCompraIdXML operation/method
 */
if ($edita->EditaDocumentoCompraIdXML(new \StructType\EditaDocumentoCompraIdXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoCompraXML operation/method
 */
if ($edita->EditaDocumentoCompraXML(new \StructType\EditaDocumentoCompraXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstadoDocumentoCompraXML operation/method
 */
if ($edita->EditaEstadoDocumentoCompraXML(new \StructType\EditaEstadoDocumentoCompraXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoVendaIdXML operation/method
 */
if ($edita->EditaDocumentoVendaIdXML(new \StructType\EditaDocumentoVendaIdXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoVendaXML operation/method
 */
if ($edita->EditaDocumentoVendaXML(new \StructType\EditaDocumentoVendaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstadoDocumentoVendaXML operation/method
 */
if ($edita->EditaEstadoDocumentoVendaXML(new \StructType\EditaEstadoDocumentoVendaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoInternoIdXML operation/method
 */
if ($edita->EditaDocumentoInternoIdXML(new \StructType\EditaDocumentoInternoIdXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoInternoXML operation/method
 */
if ($edita->EditaDocumentoInternoXML(new \StructType\EditaDocumentoInternoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoLiquidacaoIdXML operation/method
 */
if ($edita->EditaDocumentoLiquidacaoIdXML(new \StructType\EditaDocumentoLiquidacaoIdXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoLiquidacaoXML operation/method
 */
if ($edita->EditaDocumentoLiquidacaoXML(new \StructType\EditaDocumentoLiquidacaoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaClienteXML operation/method
 */
if ($edita->EditaClienteXML(new \StructType\EditaClienteXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaConcelhoXML operation/method
 */
if ($edita->EditaConcelhoXML(new \StructType\EditaConcelhoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaContaBancariaXML operation/method
 */
if ($edita->EditaContaBancariaXML(new \StructType\EditaContaBancariaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDistritoXML operation/method
 */
if ($edita->EditaDistritoXML(new \StructType\EditaDistritoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoContaCorrenteXML operation/method
 */
if ($edita->EditaTipoDocumentoContaCorrenteXML(new \StructType\EditaTipoDocumentoContaCorrenteXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoCompraXML operation/method
 */
if ($edita->EditaTipoDocumentoCompraXML(new \StructType\EditaTipoDocumentoCompraXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoInternoXML operation/method
 */
if ($edita->EditaTipoDocumentoInternoXML(new \StructType\EditaTipoDocumentoInternoXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentStockXML operation/method
 */
if ($edita->EditaTipoDocumentStockXML(new \StructType\EditaTipoDocumentStockXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEditaTipoParceiroXML operation/method
 */
if ($edita->EditaEditaTipoParceiroXML(new \StructType\EditaEditaTipoParceiroXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoVendaXML operation/method
 */
if ($edita->EditaTipoDocumentoVendaXML(new \StructType\EditaTipoDocumentoVendaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFamiliaXML operation/method
 */
if ($edita->EditaFamiliaXML(new \StructType\EditaFamiliaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFornecedorXML operation/method
 */
if ($edita->EditaFornecedorXML(new \StructType\EditaFornecedorXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFreguesiaXML operation/method
 */
if ($edita->EditaFreguesiaXML(new \StructType\EditaFreguesiaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaFuncionarioXML operation/method
 */
if ($edita->EditaFuncionarioXML(new \StructType\EditaFuncionarioXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaIvaXML operation/method
 */
if ($edita->EditaIvaXML(new \StructType\EditaIvaXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocXML operation/method
 */
if ($edita->EditaLinhaDocXML(new \StructType\EditaLinhaDocXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocStatusXML operation/method
 */
if ($edita->EditaLinhaDocStatusXML(new \StructType\EditaLinhaDocStatusXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaDocTransXML operation/method
 */
if ($edita->EditaLinhaDocTransXML(new \StructType\EditaLinhaDocTransXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaInternosXML operation/method
 */
if ($edita->EditaLinhaInternosXML(new \StructType\EditaLinhaInternosXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaInternosStatusXML operation/method
 */
if ($edita->EditaLinhaInternosStatusXML(new \StructType\EditaLinhaInternosStatusXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaLinhaLiqXML operation/method
 */
if ($edita->EditaLinhaLiqXML(new \StructType\EditaLinhaLiqXML()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaConfiguracaoEasyPay operation/method
 */
if ($edita->EditaConfiguracaoEasyPay(new \StructType\EditaConfiguracaoEasyPay()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoArmazem operation/method
 */
if ($edita->EditaArtigoArmazem(new \StructType\EditaArtigoArmazem()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaVendedor operation/method
 */
if ($edita->EditaVendedor(new \StructType\EditaVendedor()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaModoExpedicao operation/method
 */
if ($edita->EditaModoExpedicao(new \StructType\EditaModoExpedicao()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEmpresa operation/method
 */
if ($edita->EditaEmpresa(new \StructType\EditaEmpresa()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaPais operation/method
 */
if ($edita->EditaPais(new \StructType\EditaPais()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaParceiro operation/method
 */
if ($edita->EditaParceiro(new \StructType\EditaParceiro()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoContacto operation/method
 */
if ($edita->EditaTipoContacto(new \StructType\EditaTipoContacto()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoParceiro operation/method
 */
if ($edita->EditaTipoParceiro(new \StructType\EditaTipoParceiro()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstabelecimento operation/method
 */
if ($edita->EditaEstabelecimento(new \StructType\EditaEstabelecimento()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaContacto operation/method
 */
if ($edita->EditaContacto(new \StructType\EditaContacto()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArmazem operation/method
 */
if ($edita->EditaArmazem(new \StructType\EditaArmazem()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocIdentificacao operation/method
 */
if ($edita->EditaTipoDocIdentificacao(new \StructType\EditaTipoDocIdentificacao()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArmazemLocalizacao operation/method
 */
if ($edita->EditaArmazemLocalizacao(new \StructType\EditaArmazemLocalizacao()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaMetodoPagamento operation/method
 */
if ($edita->EditaMetodoPagamento(new \StructType\EditaMetodoPagamento()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaCondicaoPagamento operation/method
 */
if ($edita->EditaCondicaoPagamento(new \StructType\EditaCondicaoPagamento()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigo operation/method
 */
if ($edita->EditaArtigo(new \StructType\EditaArtigo()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoFornecedor operation/method
 */
if ($edita->EditaArtigoFornecedor(new \StructType\EditaArtigoFornecedor()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoIdioma operation/method
 */
if ($edita->EditaArtigoIdioma(new \StructType\EditaArtigoIdioma()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoLote operation/method
 */
if ($edita->EditaArtigoLote(new \StructType\EditaArtigoLote()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoMoeda operation/method
 */
if ($edita->EditaArtigoMoeda(new \StructType\EditaArtigoMoeda()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaArtigoUnidade operation/method
 */
if ($edita->EditaArtigoUnidade(new \StructType\EditaArtigoUnidade()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoCompraId operation/method
 */
if ($edita->EditaDocumentoCompraId(new \StructType\EditaDocumentoCompraId()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoCompra operation/method
 */
if ($edita->EditaDocumentoCompra(new \StructType\EditaDocumentoCompra()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstadoDocumentoCompra operation/method
 */
if ($edita->EditaEstadoDocumentoCompra(new \StructType\EditaEstadoDocumentoCompra()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoVendaId operation/method
 */
if ($edita->EditaDocumentoVendaId(new \StructType\EditaDocumentoVendaId()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoVenda operation/method
 */
if ($edita->EditaDocumentoVenda(new \StructType\EditaDocumentoVenda()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaReferenciaMBDocumentoVenda operation/method
 */
if ($edita->EditaReferenciaMBDocumentoVenda(new \StructType\EditaReferenciaMBDocumentoVenda()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaEstadoDocumentoVenda operation/method
 */
if ($edita->EditaEstadoDocumentoVenda(new \StructType\EditaEstadoDocumentoVenda()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoInternoId operation/method
 */
if ($edita->EditaDocumentoInternoId(new \StructType\EditaDocumentoInternoId()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoInterno operation/method
 */
if ($edita->EditaDocumentoInterno(new \StructType\EditaDocumentoInterno()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoLiquidacaoId operation/method
 */
if ($edita->EditaDocumentoLiquidacaoId(new \StructType\EditaDocumentoLiquidacaoId()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDocumentoLiquidacao operation/method
 */
if ($edita->EditaDocumentoLiquidacao(new \StructType\EditaDocumentoLiquidacao()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaCliente operation/method
 */
if ($edita->EditaCliente(new \StructType\EditaCliente()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaConcelho operation/method
 */
if ($edita->EditaConcelho(new \StructType\EditaConcelho()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaContaBancaria operation/method
 */
if ($edita->EditaContaBancaria(new \StructType\EditaContaBancaria()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaDistrito operation/method
 */
if ($edita->EditaDistrito(new \StructType\EditaDistrito()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoContaCorrente operation/method
 */
if ($edita->EditaTipoDocumentoContaCorrente(new \StructType\EditaTipoDocumentoContaCorrente()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoCompra operation/method
 */
if ($edita->EditaTipoDocumentoCompra(new \StructType\EditaTipoDocumentoCompra()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentoInterno operation/method
 */
if ($edita->EditaTipoDocumentoInterno(new \StructType\EditaTipoDocumentoInterno()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Sample call for EditaTipoDocumentStock operation/method
 */
if ($edita->EditaTipoDocumentStock(new \StructType\EditaTipoDocumentStock()) !== false) {
    print_r($edita->getResult());
} else {
    print_r($edita->getLastError());
}
/**
 * Samples for Atualiza ServiceType
 */
$atualiza = new \ServiceType\Atualiza($options);
/**
 * Sample call for AtualizaParceiro operation/method
 */
if ($atualiza->AtualizaParceiro(new \StructType\AtualizaParceiro()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaContaBancaria operation/method
 */
if ($atualiza->AtualizaContaBancaria(new \StructType\AtualizaContaBancaria()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaConfiguracaoEasyPay operation/method
 */
if ($atualiza->AtualizaConfiguracaoEasyPay(new \StructType\AtualizaConfiguracaoEasyPay()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaVendedor operation/method
 */
if ($atualiza->AtualizaVendedor(new \StructType\AtualizaVendedor()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaPais operation/method
 */
if ($atualiza->AtualizaPais(new \StructType\AtualizaPais()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaTipoContacto operation/method
 */
if ($atualiza->AtualizaTipoContacto(new \StructType\AtualizaTipoContacto()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaTipoParceiro operation/method
 */
if ($atualiza->AtualizaTipoParceiro(new \StructType\AtualizaTipoParceiro()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaContacto operation/method
 */
if ($atualiza->AtualizaContacto(new \StructType\AtualizaContacto()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaTipoDocIdentificacao operation/method
 */
if ($atualiza->AtualizaTipoDocIdentificacao(new \StructType\AtualizaTipoDocIdentificacao()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaArtigo operation/method
 */
if ($atualiza->AtualizaArtigo(new \StructType\AtualizaArtigo()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaArtigoMoeda operation/method
 */
if ($atualiza->AtualizaArtigoMoeda(new \StructType\AtualizaArtigoMoeda()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaCliente operation/method
 */
if ($atualiza->AtualizaCliente(new \StructType\AtualizaCliente()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaFamilia operation/method
 */
if ($atualiza->AtualizaFamilia(new \StructType\AtualizaFamilia()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaFornecedor operation/method
 */
if ($atualiza->AtualizaFornecedor(new \StructType\AtualizaFornecedor()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaDocumentoVenda operation/method
 */
if ($atualiza->AtualizaDocumentoVenda(new \StructType\AtualizaDocumentoVenda()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaReferenciaMBDocumentoVenda operation/method
 */
if ($atualiza->AtualizaReferenciaMBDocumentoVenda(new \StructType\AtualizaReferenciaMBDocumentoVenda()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaDocumentoCompra operation/method
 */
if ($atualiza->AtualizaDocumentoCompra(new \StructType\AtualizaDocumentoCompra()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Sample call for AtualizaDocumentoLiquidacao operation/method
 */
if ($atualiza->AtualizaDocumentoLiquidacao(new \StructType\AtualizaDocumentoLiquidacao()) !== false) {
    print_r($atualiza->getResult());
} else {
    print_r($atualiza->getLastError());
}
/**
 * Samples for Apaga ServiceType
 */
$apaga = new \ServiceType\Apaga($options);
/**
 * Sample call for ApagaArtigoArmazem operation/method
 */
if ($apaga->ApagaArtigoArmazem(new \StructType\ApagaArtigoArmazem()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaVendedor operation/method
 */
if ($apaga->ApagaVendedor(new \StructType\ApagaVendedor()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaPais operation/method
 */
if ($apaga->ApagaPais(new \StructType\ApagaPais()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoContacto operation/method
 */
if ($apaga->ApagaTipoContacto(new \StructType\ApagaTipoContacto()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoParceiro operation/method
 */
if ($apaga->ApagaTipoParceiro(new \StructType\ApagaTipoParceiro()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaContacto operation/method
 */
if ($apaga->ApagaContacto(new \StructType\ApagaContacto()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArmazem operation/method
 */
if ($apaga->ApagaArmazem(new \StructType\ApagaArmazem()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArmazemLocalizacao operation/method
 */
if ($apaga->ApagaArmazemLocalizacao(new \StructType\ApagaArmazemLocalizacao()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaMetodoPagamento operation/method
 */
if ($apaga->ApagaMetodoPagamento(new \StructType\ApagaMetodoPagamento()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaCondicaoPagamento operation/method
 */
if ($apaga->ApagaCondicaoPagamento(new \StructType\ApagaCondicaoPagamento()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArtigo operation/method
 */
if ($apaga->ApagaArtigo(new \StructType\ApagaArtigo()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoDocIdentificacao operation/method
 */
if ($apaga->ApagaTipoDocIdentificacao(new \StructType\ApagaTipoDocIdentificacao()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArtigoFornecedor operation/method
 */
if ($apaga->ApagaArtigoFornecedor(new \StructType\ApagaArtigoFornecedor()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArtigoIdioma operation/method
 */
if ($apaga->ApagaArtigoIdioma(new \StructType\ApagaArtigoIdioma()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArtigoLote operation/method
 */
if ($apaga->ApagaArtigoLote(new \StructType\ApagaArtigoLote()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArtigoMoeda operation/method
 */
if ($apaga->ApagaArtigoMoeda(new \StructType\ApagaArtigoMoeda()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaArtigoUnidade operation/method
 */
if ($apaga->ApagaArtigoUnidade(new \StructType\ApagaArtigoUnidade()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaDocumentoCompra operation/method
 */
if ($apaga->ApagaDocumentoCompra(new \StructType\ApagaDocumentoCompra()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaDocumentoVenda operation/method
 */
if ($apaga->ApagaDocumentoVenda(new \StructType\ApagaDocumentoVenda()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaParceiro operation/method
 */
if ($apaga->ApagaParceiro(new \StructType\ApagaParceiro()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaDocumentoInterno operation/method
 */
if ($apaga->ApagaDocumentoInterno(new \StructType\ApagaDocumentoInterno()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaDocumentoLiquidacao operation/method
 */
if ($apaga->ApagaDocumentoLiquidacao(new \StructType\ApagaDocumentoLiquidacao()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaCliente operation/method
 */
if ($apaga->ApagaCliente(new \StructType\ApagaCliente()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaConcelho operation/method
 */
if ($apaga->ApagaConcelho(new \StructType\ApagaConcelho()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaConfiguracaoEasyPay operation/method
 */
if ($apaga->ApagaConfiguracaoEasyPay(new \StructType\ApagaConfiguracaoEasyPay()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaContaBancaria operation/method
 */
if ($apaga->ApagaContaBancaria(new \StructType\ApagaContaBancaria()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaDistrito operation/method
 */
if ($apaga->ApagaDistrito(new \StructType\ApagaDistrito()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoDocumentoContaCorrente operation/method
 */
if ($apaga->ApagaTipoDocumentoContaCorrente(new \StructType\ApagaTipoDocumentoContaCorrente()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoDocumentoCompra operation/method
 */
if ($apaga->ApagaTipoDocumentoCompra(new \StructType\ApagaTipoDocumentoCompra()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoDocumentoInterno operation/method
 */
if ($apaga->ApagaTipoDocumentoInterno(new \StructType\ApagaTipoDocumentoInterno()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoDocumentStock operation/method
 */
if ($apaga->ApagaTipoDocumentStock(new \StructType\ApagaTipoDocumentStock()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoDocumentoVenda operation/method
 */
if ($apaga->ApagaTipoDocumentoVenda(new \StructType\ApagaTipoDocumentoVenda()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaFamilia operation/method
 */
if ($apaga->ApagaFamilia(new \StructType\ApagaFamilia()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaFornecedor operation/method
 */
if ($apaga->ApagaFornecedor(new \StructType\ApagaFornecedor()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaFreguesia operation/method
 */
if ($apaga->ApagaFreguesia(new \StructType\ApagaFreguesia()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaFuncionario operation/method
 */
if ($apaga->ApagaFuncionario(new \StructType\ApagaFuncionario()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaIva operation/method
 */
if ($apaga->ApagaIva(new \StructType\ApagaIva()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaMarca operation/method
 */
if ($apaga->ApagaMarca(new \StructType\ApagaMarca()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaModelo operation/method
 */
if ($apaga->ApagaModelo(new \StructType\ApagaModelo()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaMoeda operation/method
 */
if ($apaga->ApagaMoeda(new \StructType\ApagaMoeda()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaMoradaAlternativaCliente operation/method
 */
if ($apaga->ApagaMoradaAlternativaCliente(new \StructType\ApagaMoradaAlternativaCliente()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaMoradaAlternativaFornecedor operation/method
 */
if ($apaga->ApagaMoradaAlternativaFornecedor(new \StructType\ApagaMoradaAlternativaFornecedor()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaMotivoEstorno operation/method
 */
if ($apaga->ApagaMotivoEstorno(new \StructType\ApagaMotivoEstorno()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaOrigemContacto operation/method
 */
if ($apaga->ApagaOrigemContacto(new \StructType\ApagaOrigemContacto()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaOutroTerceiro operation/method
 */
if ($apaga->ApagaOutroTerceiro(new \StructType\ApagaOutroTerceiro()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaPendente operation/method
 */
if ($apaga->ApagaPendente(new \StructType\ApagaPendente()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaSerieCCT operation/method
 */
if ($apaga->ApagaSerieCCT(new \StructType\ApagaSerieCCT()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaSerieStock operation/method
 */
if ($apaga->ApagaSerieStock(new \StructType\ApagaSerieStock()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaSerieVendas operation/method
 */
if ($apaga->ApagaSerieVendas(new \StructType\ApagaSerieVendas()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaTipoTerceiro operation/method
 */
if ($apaga->ApagaTipoTerceiro(new \StructType\ApagaTipoTerceiro()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaUnidade operation/method
 */
if ($apaga->ApagaUnidade(new \StructType\ApagaUnidade()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Sample call for ApagaModoExpedicao operation/method
 */
if ($apaga->ApagaModoExpedicao(new \StructType\ApagaModoExpedicao()) !== false) {
    print_r($apaga->getResult());
} else {
    print_r($apaga->getLastError());
}
/**
 * Samples for Lista ServiceType
 */
$lista = new \ServiceType\Lista($options);
/**
 * Sample call for ListaContasBancariasJSON operation/method
 */
if ($lista->ListaContasBancariasJSON(new \StructType\ListaContasBancariasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDistritosJSON operation/method
 */
if ($lista->ListaDistritosJSON(new \StructType\ListaDistritosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoContasCorrentesJSON operation/method
 */
if ($lista->ListaTiposDocumentoContasCorrentesJSON(new \StructType\ListaTiposDocumentoContasCorrentesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoCompraJSON operation/method
 */
if ($lista->ListaTiposDocumentoCompraJSON(new \StructType\ListaTiposDocumentoCompraJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoInternosJSON operation/method
 */
if ($lista->ListaTiposDocumentoInternosJSON(new \StructType\ListaTiposDocumentoInternosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoStockJSON operation/method
 */
if ($lista->ListaTiposDocumentoStockJSON(new \StructType\ListaTiposDocumentoStockJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoVendaJSON operation/method
 */
if ($lista->ListaTiposDocumentoVendaJSON(new \StructType\ListaTiposDocumentoVendaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFamiliasJSON operation/method
 */
if ($lista->ListaFamiliasJSON(new \StructType\ListaFamiliasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFornecedoresJSON operation/method
 */
if ($lista->ListaFornecedoresJSON(new \StructType\ListaFornecedoresJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFreguesiasJSON operation/method
 */
if ($lista->ListaFreguesiasJSON(new \StructType\ListaFreguesiasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFuncionariosJSON operation/method
 */
if ($lista->ListaFuncionariosJSON(new \StructType\ListaFuncionariosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaIvasJSON operation/method
 */
if ($lista->ListaIvasJSON(new \StructType\ListaIvasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocJSON operation/method
 */
if ($lista->ListaLinhasDocJSON(new \StructType\ListaLinhasDocJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocStatusJSON operation/method
 */
if ($lista->ListaLinhasDocStatusJSON(new \StructType\ListaLinhasDocStatusJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocTransJSON operation/method
 */
if ($lista->ListaLinhasDocTransJSON(new \StructType\ListaLinhasDocTransJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasInternosJSON operation/method
 */
if ($lista->ListaLinhasInternosJSON(new \StructType\ListaLinhasInternosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasInternosStatusJSON operation/method
 */
if ($lista->ListaLinhasInternosStatusJSON(new \StructType\ListaLinhasInternosStatusJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasLiqJSON operation/method
 */
if ($lista->ListaLinhasLiqJSON(new \StructType\ListaLinhasLiqJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMarcasJSON operation/method
 */
if ($lista->ListaMarcasJSON(new \StructType\ListaMarcasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaModelosJSON operation/method
 */
if ($lista->ListaModelosJSON(new \StructType\ListaModelosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoedasJSON operation/method
 */
if ($lista->ListaMoedasJSON(new \StructType\ListaMoedasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoradasAlternativasClienteJSON operation/method
 */
if ($lista->ListaMoradasAlternativasClienteJSON(new \StructType\ListaMoradasAlternativasClienteJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoradasAlternativasFornecedorJSON operation/method
 */
if ($lista->ListaMoradasAlternativasFornecedorJSON(new \StructType\ListaMoradasAlternativasFornecedorJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMotivosEstornoJSON operation/method
 */
if ($lista->ListaMotivosEstornoJSON(new \StructType\ListaMotivosEstornoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMotivosIsencaoIVAJSON operation/method
 */
if ($lista->ListaMotivosIsencaoIVAJSON(new \StructType\ListaMotivosIsencaoIVAJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaOrigensContactoJSON operation/method
 */
if ($lista->ListaOrigensContactoJSON(new \StructType\ListaOrigensContactoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaOutrosTerceirosJSON operation/method
 */
if ($lista->ListaOutrosTerceirosJSON(new \StructType\ListaOutrosTerceirosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesJSON operation/method
 */
if ($lista->ListaPendentesJSON(new \StructType\ListaPendentesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesEntidadeJSON operation/method
 */
if ($lista->ListaPendentesEntidadeJSON(new \StructType\ListaPendentesEntidadeJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesEstabelecimentoJSON operation/method
 */
if ($lista->ListaPendentesEstabelecimentoJSON(new \StructType\ListaPendentesEstabelecimentoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaJSON operation/method
 */
if ($lista->ListaExtratoContaJSON(new \StructType\ListaExtratoContaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaEstabelecimentoJSON operation/method
 */
if ($lista->ListaExtratoContaEstabelecimentoJSON(new \StructType\ListaExtratoContaEstabelecimentoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaEntidadeJSON operation/method
 */
if ($lista->ListaExtratoContaEntidadeJSON(new \StructType\ListaExtratoContaEntidadeJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosIvaJSON operation/method
 */
if ($lista->ListaResumosIvaJSON(new \StructType\ListaResumosIvaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosRetencaoJSON operation/method
 */
if ($lista->ListaResumosRetencaoJSON(new \StructType\ListaResumosRetencaoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosRetencaoLiqJSON operation/method
 */
if ($lista->ListaResumosRetencaoLiqJSON(new \StructType\ListaResumosRetencaoLiqJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesCCTJSON operation/method
 */
if ($lista->ListaSeriesCCTJSON(new \StructType\ListaSeriesCCTJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesContratosJSON operation/method
 */
if ($lista->ListaSeriesContratosJSON(new \StructType\ListaSeriesContratosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesStockJSON operation/method
 */
if ($lista->ListaSeriesStockJSON(new \StructType\ListaSeriesStockJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesVendasJSON operation/method
 */
if ($lista->ListaSeriesVendasJSON(new \StructType\ListaSeriesVendasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesComprasJSON operation/method
 */
if ($lista->ListaSeriesComprasJSON(new \StructType\ListaSeriesComprasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposTerceiroJSON operation/method
 */
if ($lista->ListaTiposTerceiroJSON(new \StructType\ListaTiposTerceiroJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposParceiroJSON operation/method
 */
if ($lista->ListaTiposParceiroJSON(new \StructType\ListaTiposParceiroJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaUnidadesJSON operation/method
 */
if ($lista->ListaUnidadesJSON(new \StructType\ListaUnidadesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosMoedaXML operation/method
 */
if ($lista->ListaArtigosMoedaXML(new \StructType\ListaArtigosMoedaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosUnidadeXML operation/method
 */
if ($lista->ListaArtigosUnidadeXML(new \StructType\ListaArtigosUnidadeXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosCompraXML operation/method
 */
if ($lista->ListaDocumentosCompraXML(new \StructType\ListaDocumentosCompraXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstadosDocumentosCompraXML operation/method
 */
if ($lista->ListaEstadosDocumentosCompraXML(new \StructType\ListaEstadosDocumentosCompraXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosVendaXML operation/method
 */
if ($lista->ListaDocumentosVendaXML(new \StructType\ListaDocumentosVendaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEncomendasVendaPendentesXML operation/method
 */
if ($lista->ListaEncomendasVendaPendentesXML(new \StructType\ListaEncomendasVendaPendentesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstadosDocumentosVendaXML operation/method
 */
if ($lista->ListaEstadosDocumentosVendaXML(new \StructType\ListaEstadosDocumentosVendaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosInternosXML operation/method
 */
if ($lista->ListaDocumentosInternosXML(new \StructType\ListaDocumentosInternosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosLiquidacaoXML operation/method
 */
if ($lista->ListaDocumentosLiquidacaoXML(new \StructType\ListaDocumentosLiquidacaoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaClientesXML operation/method
 */
if ($lista->ListaClientesXML(new \StructType\ListaClientesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaConcelhosXML operation/method
 */
if ($lista->ListaConcelhosXML(new \StructType\ListaConcelhosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaContasBancariasXML operation/method
 */
if ($lista->ListaContasBancariasXML(new \StructType\ListaContasBancariasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDistritosXML operation/method
 */
if ($lista->ListaDistritosXML(new \StructType\ListaDistritosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoContasCorrentesXML operation/method
 */
if ($lista->ListaTiposDocumentoContasCorrentesXML(new \StructType\ListaTiposDocumentoContasCorrentesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoCompraXML operation/method
 */
if ($lista->ListaTiposDocumentoCompraXML(new \StructType\ListaTiposDocumentoCompraXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoInternosXML operation/method
 */
if ($lista->ListaTiposDocumentoInternosXML(new \StructType\ListaTiposDocumentoInternosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoStockXML operation/method
 */
if ($lista->ListaTiposDocumentoStockXML(new \StructType\ListaTiposDocumentoStockXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoVendaXML operation/method
 */
if ($lista->ListaTiposDocumentoVendaXML(new \StructType\ListaTiposDocumentoVendaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFamiliasXML operation/method
 */
if ($lista->ListaFamiliasXML(new \StructType\ListaFamiliasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFornecedoresXML operation/method
 */
if ($lista->ListaFornecedoresXML(new \StructType\ListaFornecedoresXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFreguesiasXML operation/method
 */
if ($lista->ListaFreguesiasXML(new \StructType\ListaFreguesiasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFuncionariosXML operation/method
 */
if ($lista->ListaFuncionariosXML(new \StructType\ListaFuncionariosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaIvasXML operation/method
 */
if ($lista->ListaIvasXML(new \StructType\ListaIvasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocXML operation/method
 */
if ($lista->ListaLinhasDocXML(new \StructType\ListaLinhasDocXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocStatusXML operation/method
 */
if ($lista->ListaLinhasDocStatusXML(new \StructType\ListaLinhasDocStatusXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocTransXML operation/method
 */
if ($lista->ListaLinhasDocTransXML(new \StructType\ListaLinhasDocTransXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasInternosXML operation/method
 */
if ($lista->ListaLinhasInternosXML(new \StructType\ListaLinhasInternosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasInternosStatusXML operation/method
 */
if ($lista->ListaLinhasInternosStatusXML(new \StructType\ListaLinhasInternosStatusXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasLiqXML operation/method
 */
if ($lista->ListaLinhasLiqXML(new \StructType\ListaLinhasLiqXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMarcasXML operation/method
 */
if ($lista->ListaMarcasXML(new \StructType\ListaMarcasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaModelosXML operation/method
 */
if ($lista->ListaModelosXML(new \StructType\ListaModelosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoedasXML operation/method
 */
if ($lista->ListaMoedasXML(new \StructType\ListaMoedasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoradasAlternativasClienteXML operation/method
 */
if ($lista->ListaMoradasAlternativasClienteXML(new \StructType\ListaMoradasAlternativasClienteXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoradasAlternativasFornecedorXML operation/method
 */
if ($lista->ListaMoradasAlternativasFornecedorXML(new \StructType\ListaMoradasAlternativasFornecedorXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMotivosEstornoXML operation/method
 */
if ($lista->ListaMotivosEstornoXML(new \StructType\ListaMotivosEstornoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMotivosIsencaoIVAXML operation/method
 */
if ($lista->ListaMotivosIsencaoIVAXML(new \StructType\ListaMotivosIsencaoIVAXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaOrigensContactoXML operation/method
 */
if ($lista->ListaOrigensContactoXML(new \StructType\ListaOrigensContactoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaOutrosTerceirosXML operation/method
 */
if ($lista->ListaOutrosTerceirosXML(new \StructType\ListaOutrosTerceirosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesXML operation/method
 */
if ($lista->ListaPendentesXML(new \StructType\ListaPendentesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesEntidadeXML operation/method
 */
if ($lista->ListaPendentesEntidadeXML(new \StructType\ListaPendentesEntidadeXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesEstabelecimentoXML operation/method
 */
if ($lista->ListaPendentesEstabelecimentoXML(new \StructType\ListaPendentesEstabelecimentoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaXML operation/method
 */
if ($lista->ListaExtratoContaXML(new \StructType\ListaExtratoContaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaEntidadeXML operation/method
 */
if ($lista->ListaExtratoContaEntidadeXML(new \StructType\ListaExtratoContaEntidadeXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaEstabelecimentoXML operation/method
 */
if ($lista->ListaExtratoContaEstabelecimentoXML(new \StructType\ListaExtratoContaEstabelecimentoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosIvaXML operation/method
 */
if ($lista->ListaResumosIvaXML(new \StructType\ListaResumosIvaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosRetencaoXML operation/method
 */
if ($lista->ListaResumosRetencaoXML(new \StructType\ListaResumosRetencaoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosRetencaoLiqXML operation/method
 */
if ($lista->ListaResumosRetencaoLiqXML(new \StructType\ListaResumosRetencaoLiqXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesCCTXML operation/method
 */
if ($lista->ListaSeriesCCTXML(new \StructType\ListaSeriesCCTXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesContratosXML operation/method
 */
if ($lista->ListaSeriesContratosXML(new \StructType\ListaSeriesContratosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesStockXML operation/method
 */
if ($lista->ListaSeriesStockXML(new \StructType\ListaSeriesStockXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesVendasXML operation/method
 */
if ($lista->ListaSeriesVendasXML(new \StructType\ListaSeriesVendasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesComprasXML operation/method
 */
if ($lista->ListaSeriesComprasXML(new \StructType\ListaSeriesComprasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposTerceiroXML operation/method
 */
if ($lista->ListaTiposTerceiroXML(new \StructType\ListaTiposTerceiroXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposParceiroXML operation/method
 */
if ($lista->ListaTiposParceiroXML(new \StructType\ListaTiposParceiroXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaUnidadesXML operation/method
 */
if ($lista->ListaUnidadesXML(new \StructType\ListaUnidadesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaConfiguracoesEasyPayJSON operation/method
 */
if ($lista->ListaConfiguracoesEasyPayJSON(new \StructType\ListaConfiguracoesEasyPayJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosArmazemJSON operation/method
 */
if ($lista->ListaArtigosArmazemJSON(new \StructType\ListaArtigosArmazemJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaVendedoresJSON operation/method
 */
if ($lista->ListaVendedoresJSON(new \StructType\ListaVendedoresJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaModosExpedicaoJSON operation/method
 */
if ($lista->ListaModosExpedicaoJSON(new \StructType\ListaModosExpedicaoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosJSON operation/method
 */
if ($lista->ListaArtigosJSON(new \StructType\ListaArtigosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTipoDocIdentificacaoJSON operation/method
 */
if ($lista->ListaTipoDocIdentificacaoJSON(new \StructType\ListaTipoDocIdentificacaoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEmpresasJSON operation/method
 */
if ($lista->ListaEmpresasJSON(new \StructType\ListaEmpresasJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPaisesJSON operation/method
 */
if ($lista->ListaPaisesJSON(new \StructType\ListaPaisesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaParceirosJSON operation/method
 */
if ($lista->ListaParceirosJSON(new \StructType\ListaParceirosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposContactoJSON operation/method
 */
if ($lista->ListaTiposContactoJSON(new \StructType\ListaTiposContactoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstabelecimentosJSON operation/method
 */
if ($lista->ListaEstabelecimentosJSON(new \StructType\ListaEstabelecimentosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaContactosJSON operation/method
 */
if ($lista->ListaContactosJSON(new \StructType\ListaContactosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArmazensJSON operation/method
 */
if ($lista->ListaArmazensJSON(new \StructType\ListaArmazensJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArmazemLocalizacoesJSON operation/method
 */
if ($lista->ListaArmazemLocalizacoesJSON(new \StructType\ListaArmazemLocalizacoesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMetodosPagamentoJSON operation/method
 */
if ($lista->ListaMetodosPagamentoJSON(new \StructType\ListaMetodosPagamentoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaCondicoesPagamentoJSON operation/method
 */
if ($lista->ListaCondicoesPagamentoJSON(new \StructType\ListaCondicoesPagamentoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosFornecedorJSON operation/method
 */
if ($lista->ListaArtigosFornecedorJSON(new \StructType\ListaArtigosFornecedorJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosIdiomaJSON operation/method
 */
if ($lista->ListaArtigosIdiomaJSON(new \StructType\ListaArtigosIdiomaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosLoteJSON operation/method
 */
if ($lista->ListaArtigosLoteJSON(new \StructType\ListaArtigosLoteJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosMoedaJSON operation/method
 */
if ($lista->ListaArtigosMoedaJSON(new \StructType\ListaArtigosMoedaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosUnidadeJSON operation/method
 */
if ($lista->ListaArtigosUnidadeJSON(new \StructType\ListaArtigosUnidadeJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosCompraJSON operation/method
 */
if ($lista->ListaDocumentosCompraJSON(new \StructType\ListaDocumentosCompraJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstadosDocumentosCompraJSON operation/method
 */
if ($lista->ListaEstadosDocumentosCompraJSON(new \StructType\ListaEstadosDocumentosCompraJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosVendaJSON operation/method
 */
if ($lista->ListaDocumentosVendaJSON(new \StructType\ListaDocumentosVendaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEncomendasVendaPendentesJSON operation/method
 */
if ($lista->ListaEncomendasVendaPendentesJSON(new \StructType\ListaEncomendasVendaPendentesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstadosDocumentosVendaJSON operation/method
 */
if ($lista->ListaEstadosDocumentosVendaJSON(new \StructType\ListaEstadosDocumentosVendaJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosInternosJSON operation/method
 */
if ($lista->ListaDocumentosInternosJSON(new \StructType\ListaDocumentosInternosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosLiquidacaoJSON operation/method
 */
if ($lista->ListaDocumentosLiquidacaoJSON(new \StructType\ListaDocumentosLiquidacaoJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaClientesJSON operation/method
 */
if ($lista->ListaClientesJSON(new \StructType\ListaClientesJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaConcelhosJSON operation/method
 */
if ($lista->ListaConcelhosJSON(new \StructType\ListaConcelhosJSON()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstabelecimentos operation/method
 */
if ($lista->ListaEstabelecimentos(new \StructType\ListaEstabelecimentos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaContactos operation/method
 */
if ($lista->ListaContactos(new \StructType\ListaContactos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArmazens operation/method
 */
if ($lista->ListaArmazens(new \StructType\ListaArmazens()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArmazemLocalizacoes operation/method
 */
if ($lista->ListaArmazemLocalizacoes(new \StructType\ListaArmazemLocalizacoes()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMetodosPagamento operation/method
 */
if ($lista->ListaMetodosPagamento(new \StructType\ListaMetodosPagamento()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaCondicoesPagamento operation/method
 */
if ($lista->ListaCondicoesPagamento(new \StructType\ListaCondicoesPagamento()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigos operation/method
 */
if ($lista->ListaArtigos(new \StructType\ListaArtigos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTipoDocIdentificacao operation/method
 */
if ($lista->ListaTipoDocIdentificacao(new \StructType\ListaTipoDocIdentificacao()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosFornecedor operation/method
 */
if ($lista->ListaArtigosFornecedor(new \StructType\ListaArtigosFornecedor()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosIdioma operation/method
 */
if ($lista->ListaArtigosIdioma(new \StructType\ListaArtigosIdioma()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosLote operation/method
 */
if ($lista->ListaArtigosLote(new \StructType\ListaArtigosLote()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosMoeda operation/method
 */
if ($lista->ListaArtigosMoeda(new \StructType\ListaArtigosMoeda()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosUnidade operation/method
 */
if ($lista->ListaArtigosUnidade(new \StructType\ListaArtigosUnidade()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosCompra operation/method
 */
if ($lista->ListaDocumentosCompra(new \StructType\ListaDocumentosCompra()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstadosDocumentosCompra operation/method
 */
if ($lista->ListaEstadosDocumentosCompra(new \StructType\ListaEstadosDocumentosCompra()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosVenda operation/method
 */
if ($lista->ListaDocumentosVenda(new \StructType\ListaDocumentosVenda()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEncomendasVendaPendentes operation/method
 */
if ($lista->ListaEncomendasVendaPendentes(new \StructType\ListaEncomendasVendaPendentes()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstadosDocumentosVenda operation/method
 */
if ($lista->ListaEstadosDocumentosVenda(new \StructType\ListaEstadosDocumentosVenda()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosInternos operation/method
 */
if ($lista->ListaDocumentosInternos(new \StructType\ListaDocumentosInternos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDocumentosLiquidacao operation/method
 */
if ($lista->ListaDocumentosLiquidacao(new \StructType\ListaDocumentosLiquidacao()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaClientes operation/method
 */
if ($lista->ListaClientes(new \StructType\ListaClientes()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaConcelhos operation/method
 */
if ($lista->ListaConcelhos(new \StructType\ListaConcelhos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaContasBancarias operation/method
 */
if ($lista->ListaContasBancarias(new \StructType\ListaContasBancarias()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaDistritos operation/method
 */
if ($lista->ListaDistritos(new \StructType\ListaDistritos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoContasCorrentes operation/method
 */
if ($lista->ListaTiposDocumentoContasCorrentes(new \StructType\ListaTiposDocumentoContasCorrentes()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoCompra operation/method
 */
if ($lista->ListaTiposDocumentoCompra(new \StructType\ListaTiposDocumentoCompra()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoInternos operation/method
 */
if ($lista->ListaTiposDocumentoInternos(new \StructType\ListaTiposDocumentoInternos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoStock operation/method
 */
if ($lista->ListaTiposDocumentoStock(new \StructType\ListaTiposDocumentoStock()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposDocumentoVenda operation/method
 */
if ($lista->ListaTiposDocumentoVenda(new \StructType\ListaTiposDocumentoVenda()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFamilias operation/method
 */
if ($lista->ListaFamilias(new \StructType\ListaFamilias()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFornecedores operation/method
 */
if ($lista->ListaFornecedores(new \StructType\ListaFornecedores()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFreguesias operation/method
 */
if ($lista->ListaFreguesias(new \StructType\ListaFreguesias()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaFuncionarios operation/method
 */
if ($lista->ListaFuncionarios(new \StructType\ListaFuncionarios()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaIvas operation/method
 */
if ($lista->ListaIvas(new \StructType\ListaIvas()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDoc operation/method
 */
if ($lista->ListaLinhasDoc(new \StructType\ListaLinhasDoc()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocStatus operation/method
 */
if ($lista->ListaLinhasDocStatus(new \StructType\ListaLinhasDocStatus()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasDocTrans operation/method
 */
if ($lista->ListaLinhasDocTrans(new \StructType\ListaLinhasDocTrans()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasInternos operation/method
 */
if ($lista->ListaLinhasInternos(new \StructType\ListaLinhasInternos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasInternosStatus operation/method
 */
if ($lista->ListaLinhasInternosStatus(new \StructType\ListaLinhasInternosStatus()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaLinhasLiq operation/method
 */
if ($lista->ListaLinhasLiq(new \StructType\ListaLinhasLiq()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMarcas operation/method
 */
if ($lista->ListaMarcas(new \StructType\ListaMarcas()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaModelos operation/method
 */
if ($lista->ListaModelos(new \StructType\ListaModelos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoedas operation/method
 */
if ($lista->ListaMoedas(new \StructType\ListaMoedas()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoradasAlternativasCliente operation/method
 */
if ($lista->ListaMoradasAlternativasCliente(new \StructType\ListaMoradasAlternativasCliente()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMoradasAlternativasFornecedor operation/method
 */
if ($lista->ListaMoradasAlternativasFornecedor(new \StructType\ListaMoradasAlternativasFornecedor()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMotivosEstorno operation/method
 */
if ($lista->ListaMotivosEstorno(new \StructType\ListaMotivosEstorno()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMotivosIsencaoIVA operation/method
 */
if ($lista->ListaMotivosIsencaoIVA(new \StructType\ListaMotivosIsencaoIVA()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaOrigensContacto operation/method
 */
if ($lista->ListaOrigensContacto(new \StructType\ListaOrigensContacto()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaOutrosTerceiros operation/method
 */
if ($lista->ListaOutrosTerceiros(new \StructType\ListaOutrosTerceiros()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentes operation/method
 */
if ($lista->ListaPendentes(new \StructType\ListaPendentes()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesEntidade operation/method
 */
if ($lista->ListaPendentesEntidade(new \StructType\ListaPendentesEntidade()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPendentesEstabelecimento operation/method
 */
if ($lista->ListaPendentesEstabelecimento(new \StructType\ListaPendentesEstabelecimento()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoConta operation/method
 */
if ($lista->ListaExtratoConta(new \StructType\ListaExtratoConta()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaEntidade operation/method
 */
if ($lista->ListaExtratoContaEntidade(new \StructType\ListaExtratoContaEntidade()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaExtratoContaEstabelecimento operation/method
 */
if ($lista->ListaExtratoContaEstabelecimento(new \StructType\ListaExtratoContaEstabelecimento()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosIva operation/method
 */
if ($lista->ListaResumosIva(new \StructType\ListaResumosIva()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosRetencao operation/method
 */
if ($lista->ListaResumosRetencao(new \StructType\ListaResumosRetencao()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaResumosRetencaoLiq operation/method
 */
if ($lista->ListaResumosRetencaoLiq(new \StructType\ListaResumosRetencaoLiq()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesCCT operation/method
 */
if ($lista->ListaSeriesCCT(new \StructType\ListaSeriesCCT()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesContratos operation/method
 */
if ($lista->ListaSeriesContratos(new \StructType\ListaSeriesContratos()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesStock operation/method
 */
if ($lista->ListaSeriesStock(new \StructType\ListaSeriesStock()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesVendas operation/method
 */
if ($lista->ListaSeriesVendas(new \StructType\ListaSeriesVendas()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaSeriesCompras operation/method
 */
if ($lista->ListaSeriesCompras(new \StructType\ListaSeriesCompras()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposTerceiro operation/method
 */
if ($lista->ListaTiposTerceiro(new \StructType\ListaTiposTerceiro()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposParceiro operation/method
 */
if ($lista->ListaTiposParceiro(new \StructType\ListaTiposParceiro()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaUnidades operation/method
 */
if ($lista->ListaUnidades(new \StructType\ListaUnidades()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosArmazemXML operation/method
 */
if ($lista->ListaArtigosArmazemXML(new \StructType\ListaArtigosArmazemXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaVendedoresXML operation/method
 */
if ($lista->ListaVendedoresXML(new \StructType\ListaVendedoresXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaModosExpedicaoXML operation/method
 */
if ($lista->ListaModosExpedicaoXML(new \StructType\ListaModosExpedicaoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosXML operation/method
 */
if ($lista->ListaArtigosXML(new \StructType\ListaArtigosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEmpresasXML operation/method
 */
if ($lista->ListaEmpresasXML(new \StructType\ListaEmpresasXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTipoDocIdentificacaoXML operation/method
 */
if ($lista->ListaTipoDocIdentificacaoXML(new \StructType\ListaTipoDocIdentificacaoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPaisesXML operation/method
 */
if ($lista->ListaPaisesXML(new \StructType\ListaPaisesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaParceirosXML operation/method
 */
if ($lista->ListaParceirosXML(new \StructType\ListaParceirosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEstabelecimentosXML operation/method
 */
if ($lista->ListaEstabelecimentosXML(new \StructType\ListaEstabelecimentosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposContactoXML operation/method
 */
if ($lista->ListaTiposContactoXML(new \StructType\ListaTiposContactoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaContactosXML operation/method
 */
if ($lista->ListaContactosXML(new \StructType\ListaContactosXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArmazensXML operation/method
 */
if ($lista->ListaArmazensXML(new \StructType\ListaArmazensXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArmazemLocalizacoesXML operation/method
 */
if ($lista->ListaArmazemLocalizacoesXML(new \StructType\ListaArmazemLocalizacoesXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaMetodosPagamentoXML operation/method
 */
if ($lista->ListaMetodosPagamentoXML(new \StructType\ListaMetodosPagamentoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaCondicoesPagamentoXML operation/method
 */
if ($lista->ListaCondicoesPagamentoXML(new \StructType\ListaCondicoesPagamentoXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosFornecedorXML operation/method
 */
if ($lista->ListaArtigosFornecedorXML(new \StructType\ListaArtigosFornecedorXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosIdiomaXML operation/method
 */
if ($lista->ListaArtigosIdiomaXML(new \StructType\ListaArtigosIdiomaXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosLoteXML operation/method
 */
if ($lista->ListaArtigosLoteXML(new \StructType\ListaArtigosLoteXML()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaConfiguracoesEasyPay operation/method
 */
if ($lista->ListaConfiguracoesEasyPay(new \StructType\ListaConfiguracoesEasyPay()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaArtigosArmazem operation/method
 */
if ($lista->ListaArtigosArmazem(new \StructType\ListaArtigosArmazem()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaVendedores operation/method
 */
if ($lista->ListaVendedores(new \StructType\ListaVendedores()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaModosExpedicao operation/method
 */
if ($lista->ListaModosExpedicao(new \StructType\ListaModosExpedicao()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaEmpresas operation/method
 */
if ($lista->ListaEmpresas(new \StructType\ListaEmpresas()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaPaises operation/method
 */
if ($lista->ListaPaises(new \StructType\ListaPaises()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaParceiros operation/method
 */
if ($lista->ListaParceiros(new \StructType\ListaParceiros()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Sample call for ListaTiposContacto operation/method
 */
if ($lista->ListaTiposContacto(new \StructType\ListaTiposContacto()) !== false) {
    print_r($lista->getResult());
} else {
    print_r($lista->getLastError());
}
/**
 * Samples for Abre ServiceType
 */
$abre = new \ServiceType\Abre($options);
/**
 * Sample call for AbrePlataformaDEBUG operation/method
 */
if ($abre->AbrePlataformaDEBUG(new \StructType\AbrePlataformaDEBUG()) !== false) {
    print_r($abre->getResult());
} else {
    print_r($abre->getLastError());
}
/**
 * Sample call for AbrePlataforma operation/method
 */
if ($abre->AbrePlataforma(new \StructType\AbrePlataforma()) !== false) {
    print_r($abre->getResult());
} else {
    print_r($abre->getLastError());
}
/**
 * Sample call for AbreEmpresaPrimavera operation/method
 */
if ($abre->AbreEmpresaPrimavera(new \StructType\AbreEmpresaPrimavera()) !== false) {
    print_r($abre->getResult());
} else {
    print_r($abre->getLastError());
}
/**
 * Samples for Fecha ServiceType
 */
$fecha = new \ServiceType\Fecha($options);
/**
 * Sample call for FechaPlataforma operation/method
 */
if ($fecha->FechaPlataforma(new \StructType\FechaPlataforma()) !== false) {
    print_r($fecha->getResult());
} else {
    print_r($fecha->getLastError());
}
/**
 * Sample call for FechaEmpresa operation/method
 */
if ($fecha->FechaEmpresa(new \StructType\FechaEmpresa()) !== false) {
    print_r($fecha->getResult());
} else {
    print_r($fecha->getLastError());
}
/**
 * Samples for Existe ServiceType
 */
$existe = new \ServiceType\Existe($options);
/**
 * Sample call for ExisteConfiguracaoEasyPay operation/method
 */
if ($existe->ExisteConfiguracaoEasyPay(new \StructType\ExisteConfiguracaoEasyPay()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigoArmazem operation/method
 */
if ($existe->ExisteArtigoArmazem(new \StructType\ExisteArtigoArmazem()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteVendedor operation/method
 */
if ($existe->ExisteVendedor(new \StructType\ExisteVendedor()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteModoExpedicao operation/method
 */
if ($existe->ExisteModoExpedicao(new \StructType\ExisteModoExpedicao()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteEmpresa operation/method
 */
if ($existe->ExisteEmpresa(new \StructType\ExisteEmpresa()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExistePais operation/method
 */
if ($existe->ExistePais(new \StructType\ExistePais()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoDocIdentificacao operation/method
 */
if ($existe->ExisteTipoDocIdentificacao(new \StructType\ExisteTipoDocIdentificacao()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoContacto operation/method
 */
if ($existe->ExisteTipoContacto(new \StructType\ExisteTipoContacto()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoParceiro operation/method
 */
if ($existe->ExisteTipoParceiro(new \StructType\ExisteTipoParceiro()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteEstabelecimento operation/method
 */
if ($existe->ExisteEstabelecimento(new \StructType\ExisteEstabelecimento()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteContacto operation/method
 */
if ($existe->ExisteContacto(new \StructType\ExisteContacto()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArmazem operation/method
 */
if ($existe->ExisteArmazem(new \StructType\ExisteArmazem()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteParceiro operation/method
 */
if ($existe->ExisteParceiro(new \StructType\ExisteParceiro()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArmazemLocalizacao operation/method
 */
if ($existe->ExisteArmazemLocalizacao(new \StructType\ExisteArmazemLocalizacao()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMetodoPagamento operation/method
 */
if ($existe->ExisteMetodoPagamento(new \StructType\ExisteMetodoPagamento()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteCondicaoPagamento operation/method
 */
if ($existe->ExisteCondicaoPagamento(new \StructType\ExisteCondicaoPagamento()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigo operation/method
 */
if ($existe->ExisteArtigo(new \StructType\ExisteArtigo()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigoFornecedor operation/method
 */
if ($existe->ExisteArtigoFornecedor(new \StructType\ExisteArtigoFornecedor()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigoIdioma operation/method
 */
if ($existe->ExisteArtigoIdioma(new \StructType\ExisteArtigoIdioma()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigoLote operation/method
 */
if ($existe->ExisteArtigoLote(new \StructType\ExisteArtigoLote()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigoMoeda operation/method
 */
if ($existe->ExisteArtigoMoeda(new \StructType\ExisteArtigoMoeda()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteArtigoUnidade operation/method
 */
if ($existe->ExisteArtigoUnidade(new \StructType\ExisteArtigoUnidade()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoCompraId operation/method
 */
if ($existe->ExisteDocumentoCompraId(new \StructType\ExisteDocumentoCompraId()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoCompra operation/method
 */
if ($existe->ExisteDocumentoCompra(new \StructType\ExisteDocumentoCompra()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteEstadoDocumentoCompra operation/method
 */
if ($existe->ExisteEstadoDocumentoCompra(new \StructType\ExisteEstadoDocumentoCompra()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoVendaId operation/method
 */
if ($existe->ExisteDocumentoVendaId(new \StructType\ExisteDocumentoVendaId()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoVenda operation/method
 */
if ($existe->ExisteDocumentoVenda(new \StructType\ExisteDocumentoVenda()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteEstadoDocumentoVenda operation/method
 */
if ($existe->ExisteEstadoDocumentoVenda(new \StructType\ExisteEstadoDocumentoVenda()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoInternoId operation/method
 */
if ($existe->ExisteDocumentoInternoId(new \StructType\ExisteDocumentoInternoId()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoInterno operation/method
 */
if ($existe->ExisteDocumentoInterno(new \StructType\ExisteDocumentoInterno()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoLiquidacaoId operation/method
 */
if ($existe->ExisteDocumentoLiquidacaoId(new \StructType\ExisteDocumentoLiquidacaoId()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDocumentoLiquidacao operation/method
 */
if ($existe->ExisteDocumentoLiquidacao(new \StructType\ExisteDocumentoLiquidacao()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteCliente operation/method
 */
if ($existe->ExisteCliente(new \StructType\ExisteCliente()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteConcelho operation/method
 */
if ($existe->ExisteConcelho(new \StructType\ExisteConcelho()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteContaBancaria operation/method
 */
if ($existe->ExisteContaBancaria(new \StructType\ExisteContaBancaria()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteDistrito operation/method
 */
if ($existe->ExisteDistrito(new \StructType\ExisteDistrito()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoDocumentoContaCorrente operation/method
 */
if ($existe->ExisteTipoDocumentoContaCorrente(new \StructType\ExisteTipoDocumentoContaCorrente()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoDocumentoCompra operation/method
 */
if ($existe->ExisteTipoDocumentoCompra(new \StructType\ExisteTipoDocumentoCompra()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoDocumentoInterno operation/method
 */
if ($existe->ExisteTipoDocumentoInterno(new \StructType\ExisteTipoDocumentoInterno()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoDocumentStock operation/method
 */
if ($existe->ExisteTipoDocumentStock(new \StructType\ExisteTipoDocumentStock()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoDocumentoVenda operation/method
 */
if ($existe->ExisteTipoDocumentoVenda(new \StructType\ExisteTipoDocumentoVenda()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteFamilia operation/method
 */
if ($existe->ExisteFamilia(new \StructType\ExisteFamilia()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteFornecedor operation/method
 */
if ($existe->ExisteFornecedor(new \StructType\ExisteFornecedor()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteFreguesia operation/method
 */
if ($existe->ExisteFreguesia(new \StructType\ExisteFreguesia()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteFuncionario operation/method
 */
if ($existe->ExisteFuncionario(new \StructType\ExisteFuncionario()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteIva operation/method
 */
if ($existe->ExisteIva(new \StructType\ExisteIva()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteLinhaDoc operation/method
 */
if ($existe->ExisteLinhaDoc(new \StructType\ExisteLinhaDoc()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteLinhaDocStatus operation/method
 */
if ($existe->ExisteLinhaDocStatus(new \StructType\ExisteLinhaDocStatus()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteLinhaDocTrans operation/method
 */
if ($existe->ExisteLinhaDocTrans(new \StructType\ExisteLinhaDocTrans()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteLinhaInternos operation/method
 */
if ($existe->ExisteLinhaInternos(new \StructType\ExisteLinhaInternos()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteLinhaInternosStatus operation/method
 */
if ($existe->ExisteLinhaInternosStatus(new \StructType\ExisteLinhaInternosStatus()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteLinhaLiq operation/method
 */
if ($existe->ExisteLinhaLiq(new \StructType\ExisteLinhaLiq()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMarca operation/method
 */
if ($existe->ExisteMarca(new \StructType\ExisteMarca()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteModelo operation/method
 */
if ($existe->ExisteModelo(new \StructType\ExisteModelo()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMoeda operation/method
 */
if ($existe->ExisteMoeda(new \StructType\ExisteMoeda()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMoradaAlternativaCliente operation/method
 */
if ($existe->ExisteMoradaAlternativaCliente(new \StructType\ExisteMoradaAlternativaCliente()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMoradaAlternativaFornecedor operation/method
 */
if ($existe->ExisteMoradaAlternativaFornecedor(new \StructType\ExisteMoradaAlternativaFornecedor()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMotivoEstorno operation/method
 */
if ($existe->ExisteMotivoEstorno(new \StructType\ExisteMotivoEstorno()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteMotivoIsencaoIVA operation/method
 */
if ($existe->ExisteMotivoIsencaoIVA(new \StructType\ExisteMotivoIsencaoIVA()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteOrigemContacto operation/method
 */
if ($existe->ExisteOrigemContacto(new \StructType\ExisteOrigemContacto()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteOutroTerceiro operation/method
 */
if ($existe->ExisteOutroTerceiro(new \StructType\ExisteOutroTerceiro()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExistePendenteId operation/method
 */
if ($existe->ExistePendenteId(new \StructType\ExistePendenteId()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExistePendente operation/method
 */
if ($existe->ExistePendente(new \StructType\ExistePendente()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteResumoIva operation/method
 */
if ($existe->ExisteResumoIva(new \StructType\ExisteResumoIva()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteResumoRetencao operation/method
 */
if ($existe->ExisteResumoRetencao(new \StructType\ExisteResumoRetencao()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteResumoRetencaoLiq operation/method
 */
if ($existe->ExisteResumoRetencaoLiq(new \StructType\ExisteResumoRetencaoLiq()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteSerieCCT operation/method
 */
if ($existe->ExisteSerieCCT(new \StructType\ExisteSerieCCT()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteSerieContrato operation/method
 */
if ($existe->ExisteSerieContrato(new \StructType\ExisteSerieContrato()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteSerieStock operation/method
 */
if ($existe->ExisteSerieStock(new \StructType\ExisteSerieStock()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteSerieVendas operation/method
 */
if ($existe->ExisteSerieVendas(new \StructType\ExisteSerieVendas()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteTipoTerceiro operation/method
 */
if ($existe->ExisteTipoTerceiro(new \StructType\ExisteTipoTerceiro()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
/**
 * Sample call for ExisteUnidade operation/method
 */
if ($existe->ExisteUnidade(new \StructType\ExisteUnidade()) !== false) {
    print_r($existe->getResult());
} else {
    print_r($existe->getLastError());
}
