Question: 2- Suppose that a payment module(class) is accessed directly by both customer and bank system as shown in the figure below. The customer needs to

 2- Suppose that a payment module(class) is accessed directly by both

2- Suppose that a payment module(class) is accessed directly by both customer and bank system as shown in the figure below. The customer needs to make payment, and the bank needs to validate payment: (4 marks) Bank Customer email:char -firstName: string HastName: string Payment ayment Noint makePayment paymentNo) validate Payment paymeni) a. Mention two SOLID principles that are violated in the mentioned design. b. Create a partial class diagram and redesign the payment module with the associated actors (customer and bank system) in a way that it meets these design principles

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!