Skip to content

Commit

Permalink
Remove Subscription.billing (previously deprecated)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Jun 11, 2020
1 parent 3dcacb2 commit a6a421e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions djstripe/models/billing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import warnings
from copy import deepcopy

import stripe
Expand Down Expand Up @@ -1407,15 +1406,6 @@ class Subscription(StripeModel):
enum=enums.SubscriptionStatus, help_text="The status of this subscription."
)

@property
def billing(self):
warnings.warn(
"Invoice.billing has been renamed to .collection_method. "
"This alias will be removed in djstripe 2.4",
DeprecationWarning,
)
return self.collection_method

# deprecated - will be removed in 2.4 - use .default_tax_rates instead
tax_percent = StripePercentField(
null=True,
Expand Down

0 comments on commit a6a421e

Please sign in to comment.