Skip to content

feat(billing): Added trial, credit and constituent protos#184

Draft
krithikravi wants to merge 2 commits intomainfrom
trial-proto
Draft

feat(billing): Added trial, credit and constituent protos#184
krithikravi wants to merge 2 commits intomainfrom
trial-proto

Conversation

@krithikravi
Copy link
Member

@krithikravi krithikravi commented Mar 10, 2026

This PR adds the trial, credit and constituent protos, with the next step being constructing a trial service to populate a trial object, from the existing databases, similar to the contract service. Would appreciate feedback on the structure of the trial/credit proto, and possible missing fields: e.g is it okay to have just one status_changed_at field that stores first the activation time, then the cancellation/expiration time, or should we split it up into separate values? Are there any more tests you'd like to see? Additionally, how do you think this should be linked with a contract object - should we store a contract_id here, or have a Trial field in the contract? How are features accounted for here?

@github-actions
Copy link

github-actions bot commented Mar 10, 2026

The latest Buf updates on your PR. Results from workflow ci / buf-checks (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedMar 10, 2026, 11:21 PM

@krithikravi krithikravi changed the title feat(billing): Added trial and constituent protos feat(billing): Added trial, credit and constituent protos Mar 10, 2026
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.

1 participant