billing: Add mock for cancel at period end subscriptions.

This commit is contained in:
Vishnu Ks
2018-07-26 19:40:07 +05:30
committed by Rishi Gupta
parent d89e07b8a7
commit fa7b98030b
2 changed files with 7 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ class Subscription:
created: int
status: str
canceled_at: int
cancel_at_period_end: bool
@staticmethod
def create(customer: str, billing: str, items: List[Dict[str, Any]],