View Source Stripe.Tax.CalculationLineItem (stripity_stripe v3.2.0)

Summary

Types

t()

The tax.calculation_line_item type.

Types

@type t() :: %Stripe.Tax.CalculationLineItem{
  amount: integer(),
  amount_tax: integer(),
  id: binary(),
  livemode: boolean(),
  object: binary(),
  product: binary() | nil,
  quantity: integer(),
  reference: binary() | nil,
  tax_behavior: binary(),
  tax_breakdown: term() | nil,
  tax_code: binary()
}

The tax.calculation_line_item type.

  • amount The line item amount in integer cents. If tax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.
  • amount_tax The amount of tax calculated for this line item, in integer cents.
  • id Unique identifier for the object.
  • livemode Has the value true if the object exists in live mode or the value false if the object exists in test mode.
  • object String representing the object's type. Objects of the same type share the same value.
  • product The ID of an existing Product.
  • quantity The number of units of the item being purchased. For reversals, this is the quantity reversed.
  • reference A custom identifier for this line item.
  • tax_behavior Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes.
  • tax_breakdown Detailed account of taxes relevant to this line item.
  • tax_code The tax code ID used for this resource.