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

:amount :: :integer

The amount, in %s, of the tax.

:inclusive :: :boolean

Whether this tax amount is inclusive or exclusive.

:tax_rate :: ExOAPI.Stripe.Schemas.TaxRate | :string

The tax rate that was applied to get this tax amount.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.CreditNoteTaxAmount{
  amount: integer() | nil,
  inclusive: boolean() | nil,
  tax_rate: 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()