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

Core Enrollments Extensions #548

Open
pozylon opened this issue Feb 3, 2023 · 0 comments
Open

Core Enrollments Extensions #548

pozylon opened this issue Feb 3, 2023 · 0 comments
Labels
enhancement New feature or request feature request Suggest an idea for this project
Milestone

Comments

@pozylon
Copy link
Member

pozylon commented Feb 3, 2023

  • Allow to define the next end date of a subscription given a reference date and some meta data, allowing for complex terms regarding minimum contract duration, time conditions like prior note requirements of certain days. This should open up the system to handle termination events based on adapter logic so the end date of a subscription is completely up to the developer and rules he sets.
  • Allow to define a subscription to automatically terminate at some point in time (no auto-renewal), supporting cases where you commit to 1 year but pay monthly or cases where you want to phase out existing plans.
  • When an enrollment is initialized, an adapter should be able to calculate the state of "periods" initially, pre-generate multiple periods that go back in time or go far into the future. This allows to potentially adjust the start timestamp to the beginning of a month/week/day or even extend it to allow adding enrollments that have started a long time ago. / Currently it's only possible to calculate ONE period (the nextPeriod).
@pozylon pozylon added enhancement New feature or request feature request Suggest an idea for this project labels Feb 3, 2023
@pozylon pozylon changed the title Core Enrollments v2 Core Enrollments v3 Feb 3, 2023
@pozylon pozylon changed the title Core Enrollments v3 Core Enrollments Redesign Feb 3, 2023
@pozylon pozylon changed the title Core Enrollments Redesign Core Enrollments Extensions Feb 3, 2023
@pozylon pozylon added this to the v3.0 milestone Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature request Suggest an idea for this project
Projects
Status: Next Minor
Development

No branches or pull requests

1 participant