Packages

Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.

Current section

Files

Jump to
tiger_stripe lib stripe resources toggle_settings.ex
Raw

lib/stripe/resources/toggle_settings.ex

# File generated from our OpenAPI spec
defmodule Stripe.Resources.ToggleSettings do
@moduledoc """
TreasuryFinancialAccountsResourceToggleSettings
Toggle settings for enabling/disabling a feature
"""
@typedoc """
* `requested` - Whether the FinancialAccount should have the Feature.
* `status` - Whether the Feature is operational. Possible values: `active`, `pending`, `restricted`.
* `status_details` - Additional details; includes at least one entry when the status is not `active`. Expandable.
"""
@type t :: %__MODULE__{
requested: boolean(),
status: String.t(),
status_details: [Stripe.Resources.StatusDetails.t()]
}
defstruct [:requested, :status, :status_details]
@object_name "treasury_financial_accounts_resource_toggle_settings"
def object_name, do: @object_name
def expandable_fields, do: ["status_details"]
end