This isn't a very good example. It's too open ended. The customer class doesn't have an implementation making it difficult to decide which services are required. Regardless, the Customer class has too many responsibilities and would be better refactored further up the call hierarchy. For instance, the customer could be passed a context with the necessary data it requires.
I’m looking forward to part 2 thanks guys
here it is ruclips.net/video/PT7Zsbl5G7U/видео.html
This isn't a very good example. It's too open ended. The customer class doesn't have an implementation making it difficult to decide which services are required. Regardless, the Customer class has too many responsibilities and would be better refactored further up the call hierarchy. For instance, the customer could be passed a context with the necessary data it requires.