Created the base class for the payment method and created the UI for the same function ref #3