Create a class called Account that contains:
Three private instance variables: name (String), account(String), account balance (double).
One constructor, which constructs all instances with the valuesgiven.
Getters and setters for all the instance variables.
Debit function that takes an amount from the user and subtractthe balance (make sure the balance will not drop below zero afterthe operation, if this was the case, the function should returnfalse else it should return true)
Credit function that takes an amount from the user and add it tothe balance.
Write a test program calledTestAccount to test the constructor and public methods in the classAccount. Ask the user to
PayPal Gateway not configured
PayPal Gateway not configured