A payment made against an order.
Summary
Functions
Decodes a raw payment map into a Duffel.Schema.Payment.
Types
@type t() :: %Duffel.Schema.Payment{ airline_credit_id: String.t() | nil, amount: String.t() | nil, created_at: String.t() | nil, currency: String.t() | nil, failure_reason: String.t() | nil, id: String.t() | nil, live_mode: boolean() | nil, order_id: String.t() | nil, status: String.t() | nil, type: String.t() | nil }
Functions
Decodes a raw payment map into a Duffel.Schema.Payment.