Created
December 3, 2023 07:13
-
-
Save isaacssemugenyi/35bf421ab49f5652b9b10ce84cabf171 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AtPay implements Payment { | |
@Override | |
public void debitUser() { | |
System.out.println("Money deducted from user using AtPay"); | |
} | |
@Override | |
public void checkUserBalance() { | |
System.out.println("User balance checked using AtPay"); | |
} | |
@Override | |
public void creditUser() { | |
System.out.println("Account credited using AtPay"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment