Bold.Types.PaymentStatusResponse (Bold v0.1.0)

View Source

PaymentMethods response struct.

Summary

Types

status()

@type status() :: :active | :processing | :paid | :rejected | :cancelled | :expired

t()

@type t() :: %Bold.Types.PaymentStatusResponse{
  amount_type: :open | :close,
  api_version: String.t(),
  creation_date: integer(),
  description: String.t(),
  expiration_date: integer(),
  id: String.t(),
  is_sandbox: boolean(),
  payment_method: String.t(),
  status: status(),
  subtotal: float(),
  taxes: [Bold.Types.Tax.t()],
  tip_amount: float(),
  total: float(),
  transaction_id: String.t()
}