Search documentation of stripe_elixir

# StripeElixir.Resources.PaymentIntentAmountDetailsLineItem (stripe_elixir v0.1.0)

Copy Markdown View Source

PaymentFlowsAmountDetailsResourceLineItemsListResourceLineItem

## Summary

### Types

t()

### Functions

expandable_fields()
object_name()

## Types

# t()

    @type t() :: %StripeElixir.Resources.PaymentIntentAmountDetailsLineItem{
      discount_amount: integer(),
      id: String.t(),
      object: String.t(),
      payment_method_options: map(),
      product_code: String.t(),
      product_name: String.t(),
      quantity: integer(),
      tax: map(),
      unit_cost: integer(),
      unit_of_measure: String.t()
    }

- `discount_amount` - The 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. Nullable.

- `id` - Unique identifier for the object. Max length: 5000.
- `object` - String representing the object's type. Objects of the same type share the same value. Possible values: `payment_intent_amount_details_line_item`.
- `payment_method_options` - Payment method-specific information for line items. Nullable. Expandable.
- `product_code` - The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long. Max length: 5000. Nullable.
- `product_name` - The 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. Max length: 5000.

- `quantity` - The quantity of items. Required for L3 rates. An integer greater than 0.
- `tax` - Contains information about the tax on the item. Nullable. Expandable.
- `unit_cost` - The 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_measure` - A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long. Max length: 5000. Nullable.

## Functions

# expandable_fields()

# object_name()