0% found this document useful (0 votes)
19 views1 page

F-Overview Drawio

The document describes an online shopping system, including accounts, products, categories, carts, and administration. Users can browse products, add items to their cart or wishlist, and make purchases. Administrators can manage products, orders, customers, and blogs.

Uploaded by

Cảnh Đỗ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views1 page

F-Overview Drawio

The document describes an online shopping system, including accounts, products, categories, carts, and administration. Users can browse products, add items to their cart or wishlist, and make purchases. Administrators can manage products, orders, customers, and blogs.

Uploaded by

Cảnh Đỗ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Online Shopping

State Diagram Account


Add to WishList Category Login/Register
Product AdminLogin

- catId : Long
- prodId : Long - loginId : long
- name : String
- catId : Long - adminId : long
- description : String
- name : String - login : String Manage Blogs
Search Products
View Item Add to Cart
- listOfProducts : List<Product>
Register
- description : String - password : String
- unit : String
+ addProduct ( Product ) : void
Manage Catalog
- unitPrice : double View Products
First time + removeProduct ( Product ) : void Customer
visiting - quantityInStock : long
+ findProduct ( Product ) : Product
Manage Customer
Administrator
[Not found] + restock ( long
See other products ) : void - adminId : long Make Purchase
Admin

+ updatePrice ( double ) : void - name : String Manage Orders


Already
have an ShoppingCart
- email : String
account

Manage Shopping
- shoppingcartId : Long Cart
Manage Dashboard
Login Search
- customerId : Long
SelectedProduct
- listOfProducts : List<SelectedProduct>
- quantitySelected: long
- sellingPrice: double

View Cart + addSelectedProduct ( SelectedProduct ) : void + updateQuantity (int): void


See updated cart
+ removeSelectedProduct ( SelectedProduct ) :
void

+ findSelectedProduct ( SelectedProduct ) :
Make decision SelectedProduct Use Case
Checkout See Shopping cart Remove item
+ getTotalPrice ( ) : double

+ empty ( ) : void
Done with shopping
+ checkout ( ) : Order

User
Sign-in

<<service>>
Class Diagram Customer
Authentication
Remember Me
Authentication
Sequence Diagram

Single Sign-on
<<Include>>

Customer Identity
Provider

- password : String Order


Customer browse <<Include>> View/Update <<Include>>
Item DB PurchaseIterface Checkout Checkout Calculate Total
Interface - customerId : long Shopping Cart
queryItems - orderId : long
BrowseItems - name : String
- customerId : long
- billingAddress : Address <<Include>>
UserLogin
Credit Card - shippingId : long
selectItems Authorization - email : String
- loginId : long - totalPrice : double Calculate
- phone : long Taxes and Shiping
- customerId : long - shippingPrice : double <<Include>>
purchase - listOfCCs : List<CreditCard>
- login : String - orderDate : Date
- listOfOrders : List<Order>
getSelectedItems - password : String - shipping : Shipment
Payment By Credit
- orderedProducts : List<SelectedProduct>
+ addCC ( CreditCarrd ) : void
- payment : CreditCard Credit
queryPriceInfo Payment Service
+ findOrders ( long
Payment
+ placeOrder ( CreditCard ) : void
) : Order
displaySelectedItem + cancelOrder ( ) : void
+ updateInfo ( ) : void
Payment By Paypal
displayPriceInfo
authorizePurchase CreditCard
Paypal
authorizeCredit + field: type

+ field: type
immediateNotification
+ field: type

immediateNotification View items Use Case


Address

- addrId : Long

- street : String
- city : String

- state : String

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy