0% found this document useful (0 votes)
7 views

Class Dig - Copy (5)

The document outlines a system architecture for an e-commerce platform, detailing user roles such as User, Seller, Admin, and Shipper, along with their attributes and methods. It includes functionalities for product management, order processing, payment handling, and discount applications. The relationships between different entities like Products, Orders, Cart, and Payment are also illustrated, indicating a complex interaction within the system.

Uploaded by

amritaranjan054
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)
7 views

Class Dig - Copy (5)

The document outlines a system architecture for an e-commerce platform, detailing user roles such as User, Seller, Admin, and Shipper, along with their attributes and methods. It includes functionalities for product management, order processing, payment handling, and discount applications. The relationships between different entities like Products, Orders, Cart, and Payment are also illustrated, indicating a complex interaction within the system.

Uploaded by

amritaranjan054
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

User

1
-id: Int
-userName: String
Product Category
-Password: String
-Email: String 1
M
-AddressLine: String -Id:int 1
M -Id: int
-ContactNo: String -Name:string
-Price:float -Name: String
-Details: string
-Image
+Login() +addProduct()
-SellerName:string
+Logout() +deleteProduct()
+Update() +updateProuct()
+addToCart() +view()
+sellProducts()
M M
+getProdcutsbyID() M
+buyProduct()
+wishlist()
Payment
M
-id :int
-orderId: int
-paid:boolean
-total:int
-detail:String
1 -mode:enum
Seller 1
+sendOtp()
-sellerId : int Admin +getPaymentDetailsbyId()
-password:int +makeTransactions()
-userName: string -Id: int +confirmTransaction()
-reviews : string +view()
M 1 -userName: string
-ratings: int -password:String
-number:long M 1 M

+updateProfile()
+login() +addProduct()
+addProduct() +addSeller()
+deleteProduct() +deleteProduct()
+viewProduct() +deleteSeller() 1
+blockUser()
1 +viewData()
+update() 1
+getAllAdminsbyID() Cart
+getdetailsbyID()

1
-productDetails:
-productQuantity:int

M
+addtoCart()
coupon
+removeProducts()
+checkout()
M -ID:string
+viewcartDetails()
-type:enum
Orders -value: decimal
-startDate:DateTime
-Id: int 1 -endDate:DateTime
1
-totalAmount: float
-productDetails:string
-deliveryDate:Date +applyCoupon()
-deliveryStatus:String +validityPeriod()
-history: +isValidForOrder()
+isValidForCustomer()
Discount
+placeOrder()
1 1 -ID: string
+returnOrder()
-type: enum
+canelOrder()
-value:decimal
M -startDate: Datetime
-endDate:DateTime 1
-isActive:boolean
1
+applyDiscount()
Shipper +validityPeriod()
+isValidForOrder()
+isValidForCustomer()
-shippingID: int
-shippingCost:int
-shippingType: string
-shippingAddress: string

1
+updateShippingStatus()
+trackShipping()

You might also like