ExCorreios v1.1.4 ExCorreios.Address View Source

This module provides functions to get an address.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %ExCorreios.Address{
  city: String.t(),
  complement: String.t(),
  district: String.t(),
  postal_code: String.t(),
  state: String.t(),
  street: String.t()
}

Link to this section Functions

Link to this function

find(postal_code, opts \\ [])

View Source
find(String.t(), keyword()) :: {:ok, t()} | {:error, atom()}