Confirm availability and the final price for a selected rate.
A quote is required before creating a booking.
See the Duffel documentation.
Summary
Functions
@spec create(Duffel.Client.t(), map(), keyword()) :: {:ok, map()} | {:error, Duffel.Error.t()}
Creates a quote for a rate.
Examples
Duffel.Stays.Quotes.create(client, %{rate_id: "rat_123"})
@spec get(Duffel.Client.t(), String.t()) :: {:ok, map()} | {:error, Duffel.Error.t()}
Retrieves a single quote by ID.