Stripe.Resources.Tax.CalculationLineItem (tiger_stripe v0.4.0)

Copy Markdown View Source

TaxProductResourceTaxCalculationLineItem

Summary

Types

t()

@type t() :: %Stripe.Resources.Tax.CalculationLineItem{
  amount: term(),
  amount_tax: term(),
  id: term(),
  livemode: term(),
  metadata: term(),
  object: term(),
  product: term(),
  quantity: term(),
  reference: term(),
  tax_behavior: term(),
  tax_breakdown: term(),
  tax_code: term()
}
  • amount - The line item amount in the smallest currency unit. 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 the smallest currency unit.
  • id - Unique identifier for the object. Max length: 5000.
  • livemode - If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
  • metadata - Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Nullable.
  • object - String representing the object's type. Objects of the same type share the same value. Possible values: tax.calculation_line_item.
  • product - The ID of an existing Product. Max length: 5000. Nullable.
  • 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. Max length: 5000.
  • tax_behavior - Specifies whether the amount includes taxes. If tax_behavior=inclusive, then the amount includes taxes. Possible values: exclusive, inclusive.
  • tax_breakdown - Detailed account of taxes relevant to this line item. Nullable. Expandable.
  • tax_code - The tax code ID used for this resource. Max length: 5000.

Functions

expandable_fields()

object_name()