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 tax_code.ex
Raw

lib/stripe/resources/tax_code.ex

# File generated from our OpenAPI spec
defmodule Stripe.Resources.TaxCode do
@moduledoc """
TaxProductResourceTaxCode
[Tax codes](https://stripe.com/docs/tax/tax-categories) classify goods and services for tax purposes.
"""
@typedoc """
* `description` - A detailed description of which types of products the tax code represents. Max length: 5000.
* `id` - Unique identifier for the object. Max length: 5000.
* `name` - A short name for the tax code. Max length: 5000.
* `object` - String representing the object's type. Objects of the same type share the same value. Possible values: `tax_code`.
"""
@type t :: %__MODULE__{
description: String.t(),
id: String.t(),
name: String.t(),
object: String.t()
}
defstruct [:description, :id, :name, :object]
@object_name "tax_code"
def object_name, do: @object_name
end