28 lines
522 B
Java
Raw Normal View History

2016-10-31 16:43:48 +01:00
package com.baeldung.mdc;
2016-11-06 15:57:07 +01:00
public class Transaction {
2016-10-31 16:43:48 +01:00
2016-11-07 21:21:28 +01:00
private String transactionId;
private String owner;
private Long amount;
public Transaction(String transactionId, String owner, long amount) {
this.transactionId = transactionId;
this.owner = owner;
this.amount = amount;
}
public String getOwner() {
return owner;
}
public String getTransactionId() {
return transactionId;
}
public Long getAmount() {
return amount;
}
2016-10-31 16:43:48 +01:00
}