Debian Codegraph @

stripe/params/_invoice_item_list_params.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._request_options import RequestOptions
4 from typing import List
5 from typing_extensions import NotRequired, TypedDict
6
7
8 class InvoiceItemListParams(RequestOptions):
9 created: NotRequired["InvoiceItemListParamsCreated|int"]
10 """
11 Only return invoice items that were created during the given date interval.
12 """
13 customer: NotRequired[str]
14 """
15 The identifier of the customer whose invoice items to return. If none is provided, returns all invoice items.
16 """
17 customer_account: NotRequired[str]
18 """
19 The identifier of the account representing the customer whose invoice items to return. If none is provided, returns all invoice items.
20 """
21 ending_before: NotRequired[str]
22 """
23 A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.
24 """
25 expand: NotRequired[List[str]]
26 """
27 Specifies which fields in the response should be expanded.
28 """
29 invoice: NotRequired[str]
30 """
31 Only return invoice items belonging to this invoice. If none is provided, all invoice items will be returned. If specifying an invoice, no customer identifier is needed.
32 """
33 limit: NotRequired[int]
34 """
35 A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
36 """
37 pending: NotRequired[bool]
38 """
39 Set to `true` to only show pending invoice items, which are not yet attached to any invoices. Set to `false` to only show invoice items already attached to invoices. If unspecified, no filter is applied.
40 """
41 starting_after: NotRequired[str]
42 """
43 A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.
44 """
45
46
47 class InvoiceItemListParamsCreated(TypedDict):
48 gt: NotRequired[int]
49 """
50 Minimum value to filter by (exclusive)
51 """
52 gte: NotRequired[int]
53 """
54 Minimum value to filter by (inclusive)
55 """
56 lt: NotRequired[int]
57 """
58 Maximum value to filter by (exclusive)
59 """
60 lte: NotRequired[int]
61 """
62 Maximum value to filter by (inclusive)
63 """