Skip to content

Altera sdk buscando por lista de tracking codes #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 7, 2017
Merged

Conversation

ericdallo
Copy link
Member

@ericdallo ericdallo commented Dec 2, 2016

referente a issue #41

Changelog

  • Quando a busca for feita por mais de um código de rastreio, a API vai usar o método do Web Service que recebe uma lista de códigos de rastreio.
  • Tanto para buscar um pacote, quanto para buscar vários pacotes, a API vai retornar um objeto que possui uma lista com os pacotes rastreados que foram pedidos

import br.com.correios.credentials.CorreiosCredenciais;
import br.com.correios.webservice.rastreio.EventosDosCorreios;
import br.com.correios.webservice.rastreio.Rastro;
import br.com.correios.webservice.rastreio.Service;


Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thompson!

public DetalhesRastreio buscaDetalhesRastreio(String codigoDeRastreio, CorreiosIdioma idioma, CorreiosEscopoResultado resultado, CorreiosTipoIdentificador tipoIdentificador) {
return buscaDetalhes(idioma, resultado, tipoIdentificador, asList(codigoDeRastreio));
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thompson!

@ericdallo ericdallo merged commit 7172116 into master Feb 7, 2017
@ericdallo ericdallo deleted the ISSUE-41 branch February 7, 2017 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants