public class Adjustment extends Object implements Serializable
| Constructor and Description |
|---|
Adjustment()
Instantiates a new adjustment.
|
Adjustment(String name,
BigDecimal amount)
Instantiates a new adjustment.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigDecimal |
getAmount()
Gets the amount.
|
String |
getName()
Gets the name.
|
int |
hashCode() |
void |
setAmount(BigDecimal amount)
Sets the amount.
|
void |
setName(String name)
Sets the name.
|
String |
toString() |
public Adjustment()
public Adjustment(String name, BigDecimal amount)
name - the nameamount - the amountpublic String getName()
public void setName(String name)
name - the new namepublic BigDecimal getAmount()
public void setAmount(BigDecimal amount)
amount - the new amountCopyright © 2017 BotMill. All rights reserved.