public class Price extends java.lang.Object implements java.io.Serializable
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 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 java.util.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-2018 Konik.io. All Rights Reserved.