SAPM Assignment 2
-
Upload
rohit-shetty -
Category
Documents
-
view
212 -
download
0
description
Transcript of SAPM Assignment 2
Q1:
a)Context Diagram
b) Use Case Diagram:
c) Use Case Descriptions
Use Case: 1
Name: Get Product Details
Description: Customer selects the License Type, Edition Type, and Purchase options to know the price info,
features about the product.
Trigger: A Customer wants to know the details of the product.
Normal Flow:
1. Display Visual Paradigm Store screen
2. Accepts the License Type
3. Accepts the Edition type
4. Accepts the Purchase options
5. Display the Price and product features.
Use Case: 2
Name: Get a Quote
Description: Customer selects the final product and quantity to get a
quotation. Trigger: A customer clicks Get a quote button
Normal Flow:
1. Accept License Type
2. Accept Edition Type
3. Accept Purchase Options
4. Display the shopping cart screen
5. Accept quantity
6. Accept quote medium
7. Accept user info
8. Accept type
9. Provide Quotation
Exception: If customer clicks remove the item button, then remove the item and update the cart.
Use Case: 3
Name: Buy a Product
Description: Customer selects the final product and its quantity to proceed for buying.
Trigger: A customer clicks buy online or subscribe button
Normal Flow:
1. Accept License Type
2. Accept Edition Type
3. Accept Purchase Options
4. Display the shopping cart screen
5. Accept quantity
6. Accept Billing info
7. If clicked on select payment method button, execute payment processing use case.
Exception:
7a) if transaction successful generate activation code and receipt.
7b) if transaction failed, display failed transaction message and go back to the payment method screen.
Use Case: 4
Name: Payment Processing
Description: Customer initiates the payment process and submit the payment credentials.
Trigger: A customer selects the payment method and payment gateway to proceed for payment.
Normal flow:
1. Display payment method screen
2. Accept the selected payment method
If payment method is credit card, then perform sub flow S-1
If payment method is wire transfer, then perform sub flow S-2
If payment method is check, then perform sub flow S-3
3. Retrieve the payment status from payment processing system.
4. Send transaction status message
Sub flows:
S-1: Credit card sub flow
1. Accept Card details
S-2: Wire Transfer sub flow
1. Download Invoice
S-3: Check sub flow
1. Download Invoice
Q2. Data Dictionary
Use case 1: Get Product Details
License Type = [Perpetual | Subscription]
Edition Type = [Enterprise| Professional| Standard|
Modeler] Purchase Options = (1-year maintenance) +
(floating license)
Price = [base product price | Effective price with purchase options]
Features = [Enterprise features | Professional features | Standard features | Modeler
features]
Use case 2: Get a Quote
License Type = [Perpetual | Subscription]
Edition Type = [Enterprise| Professional| Standard| Modeler]
Purchase Options = (1-year maintenance) + (floating license)
Quantity = Data element
Quote medium = [Download | Email]
User Info= (Name + Company + Address + Customer PO#)
Type= [Quotation | Invoice]
Quotation= License Type + Edition Type + Purchase Options + 1{Quantity} + Price info
Use case 3: Buy a Product
License Type = [Perpetual | Subscription]
Edition Type = [Enterprise| Professional | Standard|
Modeler] Purchase Options = (1-year maintenance) + (floating
license) Quantity = Data element
Billing Info= Name + Email + (Phone + Fax + Company + Vat No. + Address + Country + City + State/Province
+ Zip/Postal Code + Remark)
Activation code = Data Element
Transaction message = Data element
Use case 4: Payment processing
Payment method = [Credit Card | Wire Transfer |
Check] Payment gateway = [PayPal | WorldPay |
2Checkout.com]
Billing Info= First Name + Last Name + Address line 1 + (Address line 2) + City + State + Zip Code + Remark
Card details = Card Number + Expiration Date + CVV Code
Payment Status = Data Element
Transaction status message = Data Element
Q3: Class Diagram
-Activation Code
-Quantity
-Payment Method
-Payment Gateway
Order -features
-LicenseType
-EditionType
-PurchaseOptions
-Price
Product
-Payment Status
-Transaction Status Message
-Card Details
Paymen
-name
-Company
-Address
-Phone
-fax
-Phone Number
-Vat No
-Country
-City
-state
-Zipcode
-Remark
Customer
-Quotation medium
-Type
-Quantity
Quoatation
1,1
1,*
0,* 1,*
1,*
1,1
1,*
0,*
1,1
0,*
Rohit Shetty Rds140030