A booked order.
slices is a list of Duffel.Schema.Slice structs and passengers a list
of Duffel.Schema.Passenger structs. The owner airline, payment_status,
services, documents, conditions, cancellation, change history and
metadata are kept as raw maps.
Summary
Functions
Decodes a raw order map into a Duffel.Schema.Order.
Types
@type t() :: %Duffel.Schema.Order{ airline_initiated_changes: [map()], available_actions: [String.t()], base_amount: String.t() | nil, base_currency: String.t() | nil, booking_reference: String.t() | nil, booking_references: [map()], cancellation: map() | nil, cancelled_at: String.t() | nil, changes: [map()], conditions: map() | nil, content: String.t() | nil, created_at: String.t() | nil, documents: [map()], id: String.t() | nil, intended_payment_methods: [String.t()], live_mode: boolean() | nil, metadata: map() | nil, offer_id: String.t() | nil, owner: map() | nil, passengers: [Duffel.Schema.Passenger.t()], payment_status: map() | nil, services: [map()], slices: [Duffel.Schema.Slice.t()], synced_at: String.t() | nil, tax_amount: String.t() | nil, tax_currency: String.t() | nil, total_amount: String.t() | nil, total_currency: String.t() | nil, type: String.t() | nil, users: [String.t()], void_window_ends_at: String.t() | nil }
Functions
Decodes a raw order map into a Duffel.Schema.Order.