Shippex.fetch_rate
You're seeing just the function
fetch_rate
, go back to Shippex module for more information.
Specs
fetch_rate(Shippex.Shipment.t(), atom() | Shippex.Service.t()) :: {atom(), Shippex.Rate.t()}
Fetches the rate for shipment
for a specific Service
. The service
module
contains the Carrier
and selected delivery speed. You can also pass in the
ID of the service.
Shippex.fetch_rate(shipment, service)