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

createAdventure #14

Closed
4 tasks done
rgcv opened this issue Oct 29, 2018 · 0 comments
Closed
4 tasks done

createAdventure #14

rgcv opened this issue Oct 29, 2018 · 0 comments
Labels
operation Operation in the system

Comments

@rgcv
Copy link
Member

rgcv commented Oct 29, 2018

Input: adv, client, num, broker, actReserv, roomReserv, amount, fromAccount, toAccount

Effects: Adds the adventure adv for the client client and the number of people num, with broker broker, activity reservation actReserv, room reservations roomReserv, price for the adventure charge, client account fromAccount, broker account toAccount. After this operation, the state of the adventure is InitialState.

Associated requirements:

  • For each adventure in Adventure Builder, the number of people that the reservation is intended for is > 0. (22)
  • For each adventure in Adventure Builder, the client is also the client in the corresponding room and activity reservations. (23)
  • For each adventure in Adventure Builder, the corresponding room reservations are at the same hotel. (24)
  • For each adventure in Adventure Builder, the number of people that the
    corresponding room reservations are for matches the number of people
    doing the activity. (25)

Related to: #6

@rgcv rgcv mentioned this issue Oct 29, 2018
3 tasks
@rgcv rgcv added the operation Operation in the system label Oct 29, 2018
rgcv added a commit that referenced this issue Nov 7, 2018
rgcv added a commit that referenced this issue Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operation Operation in the system
Development

No branches or pull requests

2 participants