mirror of https://github.com/zulip/zulip.git
ce6f1f8c18
So that `update_or_create_stripe_customer` can work for Customer objects with either a realm or remote_server, we create an abstract base class, BillingSession, and implement a child class for the current implementation of Customer objects with a realm. Refactoring `update_or_create_stripe_customer` also moves `create_stripe_customer` and `replace_payment_method` to the BillingSession class. |
||
---|---|---|
.. | ||
commands | ||
__init__.py |