CorreiosEx (correios_ex v0.1.0)
Link to this section Summary
Link to this section Types
Link to this type
rate()
@type rate() :: %{
error_code: :integer,
error_message: :string,
code: :integer,
eta: :string,
price: :positive_integer
}
Link to this type
requestParams()
@type requestParams() :: %{
code: :string,
origin: :string,
destination: :string,
weight: :positive_integer,
length: :positive_integer,
height: :positive_integer,
width: :positive_integer,
on_hand: :boolean,
declared_value: :positive_integer,
ack: :boolean
}
Link to this section Functions
Link to this function
rate(params)
@spec rate(requestParams()) :: rate()