public final class Transaction extends Object
Constructor and Description |
---|
Transaction() |
Transaction(long accountId,
long timestamp,
double amount) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getAccountId() |
double |
getAmount() |
long |
getTimestamp() |
int |
hashCode() |
void |
setAccountId(long accountId) |
void |
setAmount(double amount) |
void |
setTimestamp(long timestamp) |
String |
toString() |
public Transaction()
public Transaction(long accountId, long timestamp, double amount)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.