Managers
dj-stripe model managers
Classes
djstripe.managers.ChargeManager
Bases: Manager
Manager used by models.Charge.
Source code in djstripe/managers.py
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
|
Functions
djstripe.managers.ChargeManager.during(year, month)
Return Charges between a certain time range based on created
.
Source code in djstripe/managers.py
86 87 88 |
|
djstripe.managers.ChargeManager.paid_totals_for(year, month)
Return paid Charges during a certain year, month with total amount, fee and refunded annotated.
Source code in djstripe/managers.py
90 91 92 93 94 95 96 97 98 99 100 101 102 |
|
djstripe.managers.StripeModelManager
Bases: Manager
Manager used in StripeModel.
Source code in djstripe/managers.py
9 10 11 12 |
|
djstripe.managers.SubscriptionManager
Bases: Manager
Manager used in models.Subscription.
Source code in djstripe/managers.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
|
Functions
djstripe.managers.SubscriptionManager.active()
Return active Subscriptions.
Source code in djstripe/managers.py
24 25 26 |
|
djstripe.managers.SubscriptionManager.active_plan_summary()
Return active Subscriptions with plan counts annotated.
Source code in djstripe/managers.py
45 46 47 48 49 |
|
djstripe.managers.SubscriptionManager.canceled()
Return canceled Subscriptions.
Source code in djstripe/managers.py
28 29 30 |
|
djstripe.managers.SubscriptionManager.canceled_during(year, month)
Return Subscriptions canceled during a certain time range.
Source code in djstripe/managers.py
32 33 34 |
|
djstripe.managers.SubscriptionManager.canceled_plan_summary_for(year, month)
Return Subscriptions canceled within a time range with plan counts annotated.
Source code in djstripe/managers.py
51 52 53 54 55 56 57 58 59 60 |
|
djstripe.managers.SubscriptionManager.churn()
Return number of canceled Subscriptions divided by active Subscriptions.
Source code in djstripe/managers.py
62 63 64 65 66 |
|
djstripe.managers.SubscriptionManager.started_during(year, month)
Return Subscriptions not in trial status between a certain time range.
Source code in djstripe/managers.py
18 19 20 21 22 |
|
djstripe.managers.SubscriptionManager.started_plan_summary_for(year, month)
Return started_during Subscriptions with plan counts annotated.
Source code in djstripe/managers.py
36 37 38 39 40 41 42 43 |
|
djstripe.managers.TransferManager
Bases: Manager
Manager used by models.Transfer.
Source code in djstripe/managers.py
69 70 71 72 73 74 75 76 77 78 79 80 |
|
Functions
djstripe.managers.TransferManager.during(year, month)
Return Transfers between a certain time range.
Source code in djstripe/managers.py
72 73 74 |
|
djstripe.managers.TransferManager.paid_totals_for(year, month)
Return paid Transfers during a certain year, month with total amounts annotated.
Source code in djstripe/managers.py
76 77 78 79 80 |
|