public class Price extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<AllowanceCharge> |
allowanceCharges |
| Constructor and Description |
|---|
Price(Amount chargeAmount)
Instantiates a new price.
|
| Modifier and Type | Method and Description |
|---|---|
Quantity |
getBasis()
Gets the unit of price base quantity.
|
Amount |
getChargeAmount()
Gets the charge amount.
|
Price |
setBasis(Quantity quantity)
Sets the unit of price base quantity.
|
Price |
setChargeAmount(Amount chargeAmount)
Sets the charge amount.
|
protected List<AllowanceCharge> allowanceCharges
@Comfort public Quantity getBasis()
Gets the unit of price base quantity.
@NotNull(groups=Comfort.class) public Amount getChargeAmount()
Gets the charge amount.
public Price setBasis(Quantity quantity)
Sets the unit of price base quantity.
quantity - the new basis quantitypublic Price setChargeAmount(Amount chargeAmount)
Sets the charge amount.
chargeAmount - the new charge amountCopyright © 2014-2016 Konik.io. All Rights Reserved.