djstripe.models.entitlements

ActiveEntitlement

Bases: StripeModel

An active entitlement describes access to a feature for a customer.

Stirpe Documentation: https://stripe.com/docs/api/entitlements/active_entitlement

lookup_key

property  lookup_key: str

stripe_class

attribute  stripe_class

Feature

Bases: StripeModel

A feature represents a monetizable ability or functionality in your system. Features can be assigned to products, and when those products are purchased, Stripe will create an entitlement to the feature for the purchasing customer.

Stirpe Documentation: https://stripe.com/docs/api/entitlements/feature

lookup_key

property  lookup_key: str

name

property  name: str

stripe_class

attribute  stripe_class

ProductFeature

Bases: StripeModel

A product_feature represents a feature attached to a product. When a product is purchased that has a feature, Stripe will create an entitlement to that feature for the purchasing customer.

Stripe Documentation: https://stripe.com/docs/api/product-feature

entitlement_feature

attribute  entitlement_feature

product

attribute  product

stripe_class

attribute  stripe_class