View Source Stripe.Tax.TransactionLineItem (stripity_stripe v3.2.0)
Summary
Types
@type t() :: %Stripe.Tax.TransactionLineItem{ amount: integer(), amount_tax: integer(), id: binary(), livemode: boolean(), metadata: term() | nil, object: binary(), product: binary() | nil, quantity: integer(), reference: binary(), reversal: term() | nil, tax_behavior: binary(), tax_code: binary(), type: binary() }
The tax.transaction_line_item
type.
amount
The line item amount in integer cents. Iftax_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 valuetrue
if the object exists in live mode or the valuefalse
if the object exists in test mode.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.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 in the transaction.reversal
Iftype=reversal
, contains information about what was reversed.tax_behavior
Specifies whether theamount
includes taxes. Iftax_behavior=inclusive
, then the amount includes taxes.tax_code
The tax code ID used for this resource.type
Ifreversal
, this line item reverses an earlier transaction.