public class Spend extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
Spend() |
| Modifier and Type | Method and Description |
|---|---|
Spend |
clone() |
boolean |
equals(Object obj) |
BigDecimal |
getAmount() |
String |
getUnit() |
int |
hashCode() |
void |
setAmount(BigDecimal amount) |
void |
setUnit(String unit) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Spend |
withAmount(BigDecimal amount) |
Spend |
withUnit(String unit) |
public void setAmount(BigDecimal amount)
amount - public BigDecimal getAmount()
public Spend withAmount(BigDecimal amount)
amount - public void setUnit(String unit)
unit - public String getUnit()
public Spend withUnit(String unit)
unit - public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.