You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: stripe/billing/_meter_event_summary.py
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# -*- coding: utf-8 -*-
2
2
# File generated from our OpenAPI spec
3
3
fromstripe._stripe_objectimportStripeObject
4
-
fromtypingimportClassVar
4
+
fromtypingimportClassVar, Dict, Optional
5
5
fromtyping_extensionsimportLiteral
6
6
7
7
@@ -20,6 +20,10 @@ class MeterEventSummary(StripeObject):
20
20
"""
21
21
Aggregated value of all the events within `start_time` (inclusive) and `end_time` (inclusive). The aggregation strategy is defined on meter via `default_aggregation`.
22
22
"""
23
+
dimensions: Optional[Dict[str, str]]
24
+
"""
25
+
Key-value pairs of dimension values for event summaries with grouping on dimensions.
26
+
"""
23
27
end_time: int
24
28
"""
25
29
End timestamp for this event summary (exclusive). Must be aligned with minute boundaries.
Time at which the object was created. Measured in seconds since the Unix epoch.
222
+
"""
43
223
currency: str
44
224
"""
45
225
Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
@@ -48,19 +228,64 @@ class FulfillmentDetails(StripeObject):
48
228
"""
49
229
The customer for this requested session.
50
230
"""
231
+
expires_at: int
232
+
"""
233
+
Time at which the requested session expires. Measured in seconds since the Unix epoch.
234
+
"""
51
235
fulfillment_details: Optional[FulfillmentDetails]
236
+
"""
237
+
The details of the fulfillment.
238
+
"""
52
239
id: str
53
240
"""
54
241
Unique identifier for the object.
55
242
"""
243
+
line_item_details: List[LineItemDetail]
244
+
"""
245
+
The line items to be purchased.
246
+
"""
56
247
livemode: bool
57
248
"""
58
249
Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
59
250
"""
251
+
metadata: Optional[Dict[str, str]]
252
+
"""
253
+
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
0 commit comments