A confirmed price for a rate, ready to book.
accommodation is a Duffel.Schema.Stays.Accommodation struct and
rate a Duffel.Schema.Stays.Rate struct. guests is kept as a list of
raw maps.
Summary
Functions
Decodes a raw stays quote map into a Duffel.Schema.Stays.Quote.
Types
@type t() :: %Duffel.Schema.Stays.Quote{ accommodation: Duffel.Schema.Stays.Accommodation.t() | nil, base_amount: String.t() | nil, base_currency: String.t() | nil, check_in_date: String.t() | nil, check_out_date: String.t() | nil, deposit_amount: String.t() | nil, deposit_currency: String.t() | nil, due_at_accommodation_amount: String.t() | nil, due_at_accommodation_currency: String.t() | nil, fee_amount: String.t() | nil, fee_currency: String.t() | nil, guests: [map()], id: String.t() | nil, live_mode: boolean() | nil, rate: Duffel.Schema.Stays.Rate.t() | nil, rooms: integer() | nil, supported_loyalty_programme: String.t() | nil, tax_amount: String.t() | nil, tax_currency: String.t() | nil, total_amount: String.t() | nil, total_currency: String.t() | nil }
Functions
Decodes a raw stays quote map into a Duffel.Schema.Stays.Quote.