Changeset 10714 for main/eko-disco-specs


Ignore:
Timestamp:
7 Nov 2013, 10:17:00 (11 years ago)
Author:
uli
Message:

Add account use-case.

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
     3Use-Case: Add a Customer Account
    24***********************************************************************
    35
     
    1315-----------------------------------------------------------------------
    1416
    15 An account holder is paid a requested amount of money and the account
    16 is charged this amount.
    17 
     17A customer account is added to the system.
    1818
    1919Actor(s)
    2020-----------------------------------------------------------------------
    2121
    22 Account holder, Accounting System
     22Accountant, Admins
    2323
    2424
     
    2626-----------------------------------------------------------------------
    2727
    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.
    2930
    3031
     
    3233-----------------------------------------------------------------------
    3334
    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
    3644
    3745
     
    3947-----------------------------------------------------------------------
    4048
    41 PIN, requested amount
     49ID of customer or contract to connect to.
    4250
    4351
     
    4553-----------------------------------------------------------------------
    4654
    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
    5057
    5158
     
    5360-----------------------------------------------------------------------
    5461
    55 The ATM is ready to receive a debit card.
     62The entity to connect the account with (customer or contract) already
     63exists.
    5664
    5765
     
    5967-----------------------------------------------------------------------
    6068
    61 The ATM is ready to receive a debit card.
     69The system accepts transactions for the new account.
    6270
    6371
     
    7179-----------------------------------------------------------------------
    7280
    73 * Authenticate account holder
    74 * Get requested amount
    75 * Check possibility to withdraw
    76 * Charge account
    77 * Pay amount
     811. Authenticate request
     822. Check existence of contract/customer to connect to
     833. Check that no other account is already connected
     844. Create account in DB
     855. Notify system
    7886
    7987
     
    8189-----------------------------------------------------------------------
    8290
    83 
     91We should discuss, whether accounts are connected to customers _or_
     92contracts.
    8493
    8594
     
    9099| Timestamp  | Who      | New Status | What                           |
    91100+------------+----------+------------+--------------------------------+
    92 | 2013-09-04 | uli      | init       | Initial samples                |
     101| 2013-11-07 | uli      | init       | Initial state                  |
    93102+------------+----------+------------+--------------------------------+
    94103
Note: See TracChangeset for help on using the changeset viewer.