Shippex.Shipment.new

You're seeing just the function new, go back to Shippex.Shipment module for more information.
Link to this function

new(from, to, package, opts \\ [])

View Source

Specs

new(Shippex.Address.t(), Shippex.Address.t(), Shippex.Package.t(), Keyword.t()) ::
  {:ok, t()} | {:error, String.t()}

Builds a Shipment.