Skip to content

Refactor Product constructor

Refactored Product constructor to remove all parameters. Instead, the client should use the setters to set object properties. Updated the setters to return the object instance for convenience. Updated README to reflect this change.

I am making this change as the Product object is going to become more complex and code quality analysis is already complaining about 4 parameters in the constructor being too many.

Paging Doctors @paul.erickson @weizhong-wang @lloyd-carter @SDUNAGAN

Merge request reports

Loading