@Entity public class ChargeLine extends AbstractEntity<ChargeLineIdentifier> implements Priced
| Constructor and Description |
|---|
ChargeLine(javax.money.MonetaryAmount price,
String description) |
| Modifier and Type | Method and Description |
|---|---|
ChargeLineIdentifier |
getChargeLineIdentifier() |
String |
getDescription() |
ChargeLineIdentifier |
getId() |
javax.money.MonetaryAmount |
getPrice()
Returns the price of the item.
|
String |
toString() |
equals, hashCode, isNew@ConstructorProperties(value={"price","description"}) @Generated(value="lombok") public ChargeLine(javax.money.MonetaryAmount price, String description)
public ChargeLineIdentifier getId()
getId in interface org.springframework.data.domain.Persistable<ChargeLineIdentifier>@Generated(value="lombok") public ChargeLineIdentifier getChargeLineIdentifier()
@Generated(value="lombok") public javax.money.MonetaryAmount getPrice()
Priced@Generated(value="lombok") public String getDescription()
@Generated(value="lombok") public String toString()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.