(String type,double amount,String description)
| 6 | private String description; |
| 7 | private LocalDateTime date; |
| 8 | public Transaction(String type,double amount,String description){ |
| 9 | this.type=type; |
| 10 | this.amount=amount; |
| 11 | this.description=description; |
| 12 | this.date=LocalDateTime.now(); |
| 13 | } |
| 14 | @Override |
| 15 | public String toString() { |
| 16 | return "[" + type + "] " + description + " | Date: " + date; |
nothing calls this directly
no outgoing calls
no test coverage detected