public class AccountLimit
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The AccountLimit data type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the account limit.
|
private java.lang.Integer |
value
The value that is associated with the account limit name.
|
Constructor and Description |
---|
AccountLimit() |
Modifier and Type | Method and Description |
---|---|
AccountLimit |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the account limit.
|
java.lang.Integer |
getValue()
The value that is associated with the account limit name.
|
int |
hashCode() |
void |
setName(java.lang.String name)
The name of the account limit.
|
void |
setValue(java.lang.Integer value)
The value that is associated with the account limit name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AccountLimit |
withName(java.lang.String name)
The name of the account limit.
|
AccountLimit |
withValue(java.lang.Integer value)
The value that is associated with the account limit name.
|
private java.lang.String name
The name of the account limit. Currently, the only account limit is
StackLimit
.
private java.lang.Integer value
The value that is associated with the account limit name.
public void setName(java.lang.String name)
The name of the account limit. Currently, the only account limit is
StackLimit
.
name
- The name of the account limit. Currently, the only account limit
is StackLimit
.public java.lang.String getName()
The name of the account limit. Currently, the only account limit is
StackLimit
.
StackLimit
.public AccountLimit withName(java.lang.String name)
The name of the account limit. Currently, the only account limit is
StackLimit
.
name
- The name of the account limit. Currently, the only account limit
is StackLimit
.public void setValue(java.lang.Integer value)
The value that is associated with the account limit name.
value
- The value that is associated with the account limit name.public java.lang.Integer getValue()
The value that is associated with the account limit name.
public AccountLimit withValue(java.lang.Integer value)
The value that is associated with the account limit name.
value
- The value that is associated with the account limit name.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AccountLimit clone()
clone
in class java.lang.Object