lineItems property

List<LineItem>? lineItems
final

A list of items the customer is purchasing. Use this parameter to pass one-time or recurring Prices. One-time Prices in subscription mode will be on the initial invoice only.

There is a maximum of 100 line items, however it is recommended to consolidate line items if there are more than a few dozen.

Implementation

final List<LineItem>? lineItems;