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

feat(DynamicPricing) - Add dynamic charge model & validator #2613

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

nudded
Copy link
Contributor

@nudded nudded commented Sep 20, 2024

Context

AI, CPaaS and Fintech customers can apply a price to a unit that fluctuates over time. Currently Lago does not support this usecase.

Description

Adds dynamic as an option for the possible Charge Models. Also makes sure you can only use it in combination with Sum AGG

@nudded nudded marked this pull request as draft September 20, 2024 11:57
@nudded nudded force-pushed the feat-dynamic-pricing-add-enum-validators branch 3 times, most recently from 1309bec to 6faf101 Compare September 25, 2024 11:00
@nudded nudded marked this pull request as ready for review September 26, 2024 08:10
@nudded nudded force-pushed the feat-dynamic-pricing-add-enum-validators branch from 477bf00 to 45ef14b Compare September 26, 2024 08:12
Add Charge model + extend properties service to support new charge model
@nudded nudded force-pushed the feat-dynamic-pricing-add-enum-validators branch from 1932128 to 6176dff Compare September 26, 2024 15:29
@nudded nudded force-pushed the feat-dynamic-pricing-add-enum-validators branch 3 times, most recently from 01b7f3f to 095f8ce Compare September 27, 2024 12:38
@nudded nudded force-pushed the feat-dynamic-pricing-add-enum-validators branch from 61692b9 to d37db1d Compare September 30, 2024 08:16
@nudded nudded merged commit bfdf2b0 into main Sep 30, 2024
6 checks passed
@nudded nudded deleted the feat-dynamic-pricing-add-enum-validators branch September 30, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants