Shopping cart UML
Shopping cart
classDiagram class Item { -itemId +isRestricted() } class Customer { -name +getAddress() } class Address { -country -state } Customer "1" *-- "1" Address : composition
Shopping cart
classDiagram class Item { -itemId +isRestricted() } class Customer { -name +getAddress() } class Address { -country -state } Customer "1" *-- "1" Address : composition