You are on page 1of 2

3.

3 CRC Class Diagrams for < Payment > Class (Rajkumar)

CRC Front side

Class Name: Payment ID:2 TYPE:


Abstract,
Domain

Description: This class will handle all user Associated


payment information Use Case:
103

Responsibilities: createPayment( ), Collaborators:


updatePayment( ), createReceipt( ), Payment,Booking
countDiscountRate( ), recordPayment( )

CRC Back side

Attributes:
PayNum,PassengerID,DriverID,Amount

Relationships:
Generalization (a- kind – of): not applicable
Aggregation(has – parts): Booking
Other Associations: Passenger,Driver

You might also like