Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Factored-customer model allows for multiple subscriptions by a single customer #1077

Open
jecollins opened this issue Mar 11, 2021 · 0 comments

Comments

@jecollins
Copy link
Member

The DefaultFactoredCustomer type is designed to encapsulate a list of CapacityBundle instances, and it's the CapacityBundles that evaluate tariffs and hold TariffSubscriptions. At this point there do not appear to be any FactoredCustomer instances that take advantage of this design, but it's the CapacityBundle that holds the CustomerInfo. It is not at all clear how this feature could be used correctly. Unless someone comes up with a compelling reason to retain this feature, I recommend we remove it and either fold CapacityBundle into FactoredCustomer or make the relationship 1:1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant