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.
amountThe line item amount in integer cents. Iftax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount.amount_taxThe amount of tax calculated for this line item, in integer cents.idUnique identifier for the object.livemodeHas the valuetrueif the object exists in live mode or the valuefalseif the object exists in test mode.metadataSet 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.objectString representing the object's type. Objects of the same type share the same value.productThe ID of an existing Product.quantityThe number of units of the item being purchased. For reversals, this is the quantity reversed.referenceA custom identifier for this line item in the transaction.reversalIftype=reversal, contains information about what was reversed.tax_behaviorSpecifies whether theamountincludes taxes. Iftax_behavior=inclusive, then the amount includes taxes.tax_codeThe tax code ID used for this resource.typeIfreversal, this line item reverses an earlier transaction.