View Source Stripe.TaxCode (Striped v0.1.0)
Tax codes classify goods and services for tax purposes.
Link to this section Summary
Functions
A list of all tax codes available to add to Products in order to allow specific tax calculations.
Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
Link to this section Types
@type t() :: %Stripe.TaxCode{ description: binary(), id: binary(), name: binary(), object: binary() }
The tax_code type.
descriptionA detailed description of which types of products the tax code represents.idUnique identifier for the object.nameA short name for the tax code.objectString representing the object's type. Objects of the same type share the same value.
Link to this section Functions
@spec list(client :: term(), params :: map()) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
A list of all tax codes available to add to Products in order to allow specific tax calculations.
Details
- Method:
get - Path:
/v1/tax_codes
Query parameters
:ending_beforestring:expandarray of: string:limitinteger:starting_afterstring
@spec retrieve(client :: term(), id :: binary(), params :: map()) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Retrieves the details of an existing tax code. Supply the unique tax code ID and Stripe will return the corresponding tax code information.
Details
- Method:
get - Path:
/v1/tax_codes/{id}
Query parameters
:expandarray of: string