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

[server] Implement Bill Creation #5

Open
4 of 6 tasks
Jdyn opened this issue Sep 4, 2023 · 0 comments
Open
4 of 6 tasks

[server] Implement Bill Creation #5

Jdyn opened this issue Sep 4, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Jdyn
Copy link
Owner

Jdyn commented Sep 4, 2023

Creation Process

All of the following must be validated in order to create a Bill:

  • If the creator has specified BillItems, then billItems amount must be validated to sum to the bill total.
    • if there is a mismatch, the error should provide the erroneous difference.
  • All charge amounts must sum to the provided bill total
  • Validate that the provided group member IDs are members of the group.
  • Validate that you cannot add a user from outside of the group into the bill.
  • Prevent multiple charges with the same user_id
@Jdyn Jdyn added the enhancement New feature or request label Sep 4, 2023
@Jdyn Jdyn self-assigned this Sep 4, 2023
@Jdyn Jdyn changed the title Implement Bill Creation [server] Implement Bill Creation Sep 4, 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
Projects
None yet
Development

No branches or pull requests

1 participant