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

Order System UML Class Diagram

The UML class diagram models an order system with classes for Customer, Order, Order Details, Item, and Payment. A Customer can make multiple Orders. An Order contains order details with line items that reference Items. Items track properties like description, price, and stock quantity. Orders calculate totals from order details. Payments authorize different payment types like Cash, Check, and Credit cards.

Uploaded by

Dali.pe
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)
518 views1 page

Order System UML Class Diagram

The UML class diagram models an order system with classes for Customer, Order, Order Details, Item, and Payment. A Customer can make multiple Orders. An Order contains order details with line items that reference Items. Items track properties like description, price, and stock quantity. Orders calculate totals from order details. Payments authorize different payment types like Cash, Check, and Credit cards.

Uploaded by

Dali.pe
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

UML Class Diagram - Order System

Order
Order Details Item

- date : date
Customer - status : String 1 - quantity - shippingWeight
1 line item
- taxStatus : String 1 0..* - description : String
- name: String + calcSub Total() 1..*
- address 0..* + calcTax() + calcSub Total() + getPriceForQuantity()
+ calcTotal() + calcWeight() + getTax()
+ calcTotalWeight() + calcTax() + inStock()

1..*

1
Payment

- amount : float

Cash Check Credit

- cashTendered : float - name : String - number : String


- bankID : String - type : String
- expDate
+ authorized()
+ authorized()

You might also like