View Source Stripe.PaymentIntentAmountDetailsLineItem (stripity_stripe v3.3.1)
Summary
Functions
Lists all LineItems of a given PaymentIntent.
Types
@type t() :: %Stripe.PaymentIntentAmountDetailsLineItem{ discount_amount: integer() | nil, id: binary(), object: binary(), payment_method_options: term() | nil, product_code: binary() | nil, product_name: binary(), quantity: integer(), tax: term() | nil, unit_cost: integer(), unit_of_measure: binary() | nil }
The payment_intent_amount_details_line_item type.
discount_amountThe discount applied on this line item represented in the smallest currency unit. An integer greater than 0.
This field is mutually exclusive with the amount_details[discount_amount] field.
idUnique identifier for the object.objectString representing the object's type. Objects of the same type share the same value.payment_method_optionsPayment method-specific information for line items.product_codeThe product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.product_nameThe product name of the line item. Required for L3 rates. At most 1024 characters long.
For Cards, this field is truncated to 26 alphanumeric characters before being sent to the card networks. For Paypal, this field is truncated to 127 characters.
quantityThe quantity of items. Required for L3 rates. An integer greater than 0.taxContains information about the tax on the item.unit_costThe unit cost of the line item represented in the smallest currency unit. Required for L3 rates. An integer greater than or equal to 0.unit_of_measureA unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.
Functions
@spec list( intent :: binary(), params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Lists all LineItems of a given PaymentIntent.
Details
- Method:
get - Path:
/v1/payment_intents/{intent}/amount_details_line_items