first commit

This commit is contained in:
Ali Can Zeybek
2025-01-09 20:02:51 +03:00
commit 72514365eb
55 changed files with 1285 additions and 0 deletions

53
Code/Transfer.java Normal file
View File

@@ -0,0 +1,53 @@
public class Transfer extends Transaction {
private int from;
private int to;
private Money amount;
/**
*
* @param atm
* @param session
* @param card
* @param pin
*/
public Transfer(ATM atm, Session session, Card card, int pin) {
// TODO - implement Transfer.Transfer
throw new UnsupportedOperationException();
}
public Message getSpecificsFromCustomer() {
// TODO - implement Transfer.getSpecificsFromCustomer
throw new UnsupportedOperationException();
}
public Receipt completeTransaction() {
// TODO - implement Transfer.completeTransaction
throw new UnsupportedOperationException();
}
public int getFrom() {
return from;
}
public void setFrom(int from) {
this.from = from;
}
public int getTo() {
return to;
}
public void setTo(int to) {
this.to = to;
}
public Money getAmount() {
return amount;
}
public void setAmount(Money amount) {
this.amount = amount;
}
}