public class AccountLimit extends Object implements Serializable, Cloneable
The AccountLimit data type.
Constructor and Description |
---|
AccountLimit() |
Modifier and Type | Method and Description |
---|---|
AccountLimit |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the account limit.
|
Integer |
getValue()
The value that is associated with the account limit name.
|
int |
hashCode() |
void |
setName(String name)
The name of the account limit.
|
void |
setValue(Integer value)
The value that is associated with the account limit name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AccountLimit |
withName(String name)
The name of the account limit.
|
AccountLimit |
withValue(Integer value)
The value that is associated with the account limit name.
|
public String getName()
StackLimit
.StackLimit
.public void setName(String name)
StackLimit
.name
- The name of the account limit. Currently, the only account limit is
StackLimit
.public AccountLimit withName(String name)
StackLimit
.
Returns a reference to this object so that method calls can be chained together.
name
- The name of the account limit. Currently, the only account limit is
StackLimit
.public Integer getValue()
public void setValue(Integer value)
value
- The value that is associated with the account limit name.public AccountLimit withValue(Integer value)
Returns a reference to this object so that method calls can be chained together.
value
- The value that is associated with the account limit name.public String toString()
toString
in class Object
Object.toString()
public AccountLimit clone()
Copyright © 2015. All rights reserved.