View Source ExOAPI.Stripe.Schemas.CustomerTax (exoapi_stripe v0.1.4)

:automatic_tax :: ExOAPI.Stripe.Schemas.AutomaticTax

Surfaces if automatic tax computation is possible given the current customer location information.

:ip_address :: :string

A recent IP address of the customer used for tax reporting and tax location inference.

:location :: ExOAPI.Stripe.Schemas.CustomerTaxLocation

The customer's location as identified by Stripe Tax.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.CustomerTax{
  automatic_tax:
    (:unrecognized_location | :supported | :not_collecting | :failed) | nil,
  ip_address: String.t() | nil,
  location: ExOAPI.EctoTypes.AnyOf.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()