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