first commit
This commit is contained in:
53
Code/Transfer.java
Normal file
53
Code/Transfer.java
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user