Abstracted Payment Gateway using Inteface interface PaymentGateway{ pay(amount:number):void } Single Responsiblity Principle (SRP): A class should have only one reason to change or should handle one action Handles logging of payment activiti...
codernex.hashnode.dev3 min readNo responses yet.