File: _active_entitlement_summary.py

package info (click to toggle)
python-stripe 14.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,576 kB
  • sloc: python: 201,956; makefile: 13; sh: 9
file content (35 lines) | stat: -rw-r--r-- 1,097 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- coding: utf-8 -*-
# File generated from our OpenAPI spec
from stripe._list_object import ListObject
from stripe._stripe_object import StripeObject
from typing import ClassVar
from typing_extensions import Literal, TYPE_CHECKING

if TYPE_CHECKING:
    from stripe.entitlements._active_entitlement import ActiveEntitlement


class ActiveEntitlementSummary(StripeObject):
    """
    A summary of a customer's active entitlements.
    """

    OBJECT_NAME: ClassVar[
        Literal["entitlements.active_entitlement_summary"]
    ] = "entitlements.active_entitlement_summary"
    customer: str
    """
    The customer that is entitled to this feature.
    """
    entitlements: ListObject["ActiveEntitlement"]
    """
    The list of entitlements this customer has.
    """
    livemode: bool
    """
    Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
    """
    object: Literal["entitlements.active_entitlement_summary"]
    """
    String representing the object's type. Objects of the same type share the same value.
    """