private static OpportunityInfo GenerateOpportunity(CrmBEOportunidadeVenda opportunityInfo)
 {
     return(new OpportunityInfo()
     {
         DataCriacao = opportunityInfo.get_DataCriacao(),
         Entity = opportunityInfo.get_Entidade(),
         Campaign = opportunityInfo.get_Campanha(),
         SellCycle = opportunityInfo.get_CicloVenda(),
         ExpirationDate = opportunityInfo.get_DataExpiracao(),
         RealDateOrdered = opportunityInfo.get_DataRealEncomenda(),
         Description = opportunityInfo.get_Descricao(),
         MarginOV = opportunityInfo.get_MargemOV(),
         ProposedValueOV = opportunityInfo.get_ValorPropostoOV(),
         Origin = opportunityInfo.get_Origem(),
         Seller = opportunityInfo.get_Vendedor(),
         CreatedBy = opportunityInfo.get_CriadoPor(),
         RealBillingDate = opportunityInfo.get_DataRealFacturacao(),
         ClosureDate = opportunityInfo.get_DataFecho(),
         LossMotive = opportunityInfo.get_MotivoPerda(),
         OpportunityId = opportunityInfo.get_Oportunidade(),
         Currency = opportunityInfo.get_Moeda(),
         Brief = opportunityInfo.get_Resumo(),
         Zone = opportunityInfo.get_Zona(),
         Status = opportunityInfo.get_EstadoVenda(),
         EntityType = opportunityInfo.get_TipoEntidade(),
         TotalValueOV = opportunityInfo.get_ValorTotalOV(),
         Identificador = opportunityInfo.get_ID()
     });
 }