Class ChargeLine

java.lang.Object
org.salespointframework.core.AbstractEntity<org.salespointframework.order.ChargeLineIdentifier>
org.salespointframework.order.ChargeLine
All Implemented Interfaces:
Persistable<org.salespointframework.order.ChargeLineIdentifier>
Direct Known Subclasses:
ChargeLine.AttachedChargeLine

@Entity
public class ChargeLine
extends AbstractEntity<org.salespointframework.order.ChargeLineIdentifier>
A charge line represents extra expenses, such as shipping, for an Order as a whole. Expenses for an individual OrderLine can be modeled using the ChargeLine.AttachedChargeLine sub-class.

This class is immutable.

Author:
Thomas Dedek, Paul Henke, Oliver Gierke
See Also:
ChargeLine.AttachedChargeLine, OrderLine
  • Constructor Details

    • ChargeLine

      public ChargeLine​(@NonNull @NonNull javax.money.MonetaryAmount price, @NonNull @NonNull String description)
  • Method Details