Files
bankbankatm/Code/Transfer.java
Ali Can Zeybek 72514365eb first commit
2025-01-09 20:02:51 +03:00

54 lines
935 B
Java

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;
}
}