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
Current section
Files
lib/stripe/params/tax/settings_update_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.Tax.SettingsUpdateParams do
@moduledoc "Parameters for settings update."
@typedoc """
* `defaults` - Default configuration to be used on Stripe Tax calculations.
* `expand` - Specifies which fields in the response should be expanded.
* `head_office` - The place where your business is located.
"""
@type t :: %__MODULE__{
defaults: map() | nil,
expand: [String.t()] | nil,
head_office: map() | nil
}
defstruct [:defaults, :expand, :head_office]
defmodule Defaults do
@moduledoc "Nested parameters."
@typedoc """
* `tax_behavior` - Specifies the default [tax behavior](https://stripe.com/docs/tax/products-prices-tax-categories-tax-behavior#tax-behavior) to be used when the item's price has unspecified tax behavior. One of inclusive, exclusive, or inferred_by_currency. Once specified, it cannot be changed back to null. Possible values: `exclusive`, `inclusive`, `inferred_by_currency`.
* `tax_code` - A [tax code](https://docs.stripe.com/tax/tax-categories) ID.
"""
@type t :: %__MODULE__{
tax_behavior: String.t() | nil,
tax_code: String.t() | nil
}
defstruct [:tax_behavior, :tax_code]
end
defmodule HeadOffice do
@moduledoc "Nested parameters."
@typedoc """
* `address` - The location of the business for tax purposes.
"""
@type t :: %__MODULE__{
address: map() | nil
}
defstruct [:address]
end
end