Represents a Paysafe Payment Handle response.
Summary
Types
@type action() :: :none | :redirect
@type execution_mode() :: :synchronous | :asynchronous
@type status() ::
:initiated
| :payable
| :processing
| :completed
| :expired
| :failed
| :cancelled
| :error
@type t() :: %Paysafe.Types.PaymentHandle{ action: action() | nil, amount: pos_integer(), currency_code: String.t(), execution_mode: execution_mode() | nil, id: String.t() | nil, links: [map()] | [], merchant_ref_num: String.t(), payment_handle_token: String.t() | nil, payment_type: String.t(), raw: map(), return_links: [map()] | [], status: status(), time_to_live_seconds: non_neg_integer() | nil, transaction_type: transaction_type(), usage: usage() }
@type transaction_type() ::
:payment | :standalone_credit | :original_credit | :verification
@type usage() :: :single_use | :multi_use