/DesignPatterns

Java console application factory of t-shirt products implementing strategy pattern. T-shirt has 3 variations Color, Size, Fabric and three different payment methods Credit/Debit cards, Money/Bank transfer and Cash. The application gives as an output a Strategy pattern that implements the variations and the payment methods under three (3) combined strategies that implement all the possible combinations.

Primary LanguageJavaMIT LicenseMIT

DesignPatterns

Java console application factory of t-shirt products implementing strategy pattern. T-shirt has 3 variations Color, Size, Fabric and three different payment methods Credit/Debit cards, Money/Bank transfer and Cash. The application gives as an output a Strategy pattern that implements the variations and the payment methods under three (3) combined strategies that implement all the possible combinations.

1.Color, Size and Fabric with Credit / Debit Cards.

2.Color, Sizeand Fabric with Money / Bank Transfer.

3.Color, Size and Fabric with Cash.