Changeset 10714 for main/eko-disco-specs
- Timestamp:
- 7 Nov 2013, 10:17:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/eko-disco-specs/trunk/use-cases/account-add.rst
r10713 r10714 1 Sample-Use-Case: Withdraw Money from ATM 1 .. _label-uc-account-add: 2 3 Use-Case: Add a Customer Account 2 4 *********************************************************************** 3 5 … … 13 15 ----------------------------------------------------------------------- 14 16 15 An account holder is paid a requested amount of money and the account 16 is charged this amount. 17 17 A customer account is added to the system. 18 18 19 19 Actor(s) 20 20 ----------------------------------------------------------------------- 21 21 22 Account holder, Accounting System22 Accountant, Admins 23 23 24 24 … … 26 26 ----------------------------------------------------------------------- 27 27 28 The account holder puts a debit card into the ATM slot. 28 - Some customer or contract is added to the system. 29 - A respective web form is requested from the system. 29 30 30 31 … … 32 33 ----------------------------------------------------------------------- 33 34 34 The account holder got an amount of money. The account has been 35 charged. The account holder got back the debit card. 35 - The new account was created in system with a new unique ID. 36 37 - A (nearly empty) account history can be retrieved for the new 38 account. 39 40 - The new account is connected to some contract or customer. 41 42 - Authorized users can get the current account balance of the account. 43 36 44 37 45 … … 39 47 ----------------------------------------------------------------------- 40 48 41 PIN, requested amount 49 ID of customer or contract to connect to. 42 50 43 51 … … 45 53 ----------------------------------------------------------------------- 46 54 47 Data leaving the system _during_ use case. Includes only data not 48 existing any more after use-case has been finished. For instance 49 screen messages, etc. 55 - Message about account creation. 56 - Log message 50 57 51 58 … … 53 60 ----------------------------------------------------------------------- 54 61 55 The ATM is ready to receive a debit card. 62 The entity to connect the account with (customer or contract) already 63 exists. 56 64 57 65 … … 59 67 ----------------------------------------------------------------------- 60 68 61 The ATM is ready to receive a debit card.69 The system accepts transactions for the new account. 62 70 63 71 … … 71 79 ----------------------------------------------------------------------- 72 80 73 * Authenticate account holder 74 * Get requested amount 75 * Check possibility to withdraw 76 * Charge account 77 * Pay amount 81 1. Authenticate request 82 2. Check existence of contract/customer to connect to 83 3. Check that no other account is already connected 84 4. Create account in DB 85 5. Notify system 78 86 79 87 … … 81 89 ----------------------------------------------------------------------- 82 90 83 91 We should discuss, whether accounts are connected to customers _or_ 92 contracts. 84 93 85 94 … … 90 99 | Timestamp | Who | New Status | What | 91 100 +------------+----------+------------+--------------------------------+ 92 | 2013- 09-04 | uli | init | Initial samples|101 | 2013-11-07 | uli | init | Initial state | 93 102 +------------+----------+------------+--------------------------------+ 94 103
Note: See TracChangeset for help on using the changeset viewer.