public class DepositRequest extends Object implements Serializable
| Constructor and Description |
|---|
DepositRequest(Date timeOut,
boolean multiUse,
long expectedAmount) |
| Modifier and Type | Method and Description |
|---|---|
DepositRequest |
clone() |
boolean |
equals(Object obj) |
long |
getExpectedAmount()
The expected amount which gets deposited.
|
boolean |
getMultiUse() |
Date |
getTimeOut()
The timeout after this deposit address becomes invalid (creation+timeout)
|
boolean |
hasExpectedAmount()
Checks if we are expecting a specific amount in this request
|
int |
hashCode() |
boolean |
hasTimeOut() |
boolean |
isMultiUse()
Whether to expect multiple deposits to this address
in the given timeout.
|
String |
toString() |
public DepositRequest(Date timeOut, boolean multiUse, long expectedAmount)
public Date getTimeOut()
public boolean hasTimeOut()
public boolean getMultiUse()
public boolean isMultiUse()
public long getExpectedAmount()
public boolean hasExpectedAmount()
true if we expect anything but 0, otherwise falsepublic DepositRequest clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2019. All rights reserved.