Debian Codegraph @

stripe/entitlements/_active_entitlement_summary.py

raw
1 # -*- coding: utf-8 -*-
2 # File generated from our OpenAPI spec
3 from stripe._list_object import ListObject
4 from stripe._stripe_object import StripeObject
5 from typing import ClassVar
6 from typing_extensions import Literal, TYPE_CHECKING
7
8 if TYPE_CHECKING:
9 from stripe.entitlements._active_entitlement import ActiveEntitlement
10
11
12 class ActiveEntitlementSummary(StripeObject):
13 """
14 A summary of a customer's active entitlements.
15 """
16
17 OBJECT_NAME: ClassVar[
18 Literal["entitlements.active_entitlement_summary"]
19 ] = "entitlements.active_entitlement_summary"
20 customer: str
21 """
22 The customer that is entitled to this feature.
23 """
24 entitlements: ListObject["ActiveEntitlement"]
25 """
26 The list of entitlements this customer has.
27 """
28 livemode: bool
29 """
30 Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
31 """
32 object: Literal["entitlements.active_entitlement_summary"]
33 """
34 String representing the object's type. Objects of the same type share the same value.
35 """