Constructor and Description |
---|
CartItem(Product product,
Quantity quantity)
Creates a new
CartItem . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getIdentifier()
Returns the identifier of the
CartItem . |
org.joda.money.Money |
getPrice()
Returns the proce of the item.
|
Product |
getProduct()
|
String |
getProductName()
|
Quantity |
getQuantity()
|
int |
hashCode() |
(package private) OrderLine |
toOrderLine()
Creates an
OrderLine from this CartItem. |
String |
toString() |
public final org.joda.money.Money getPrice()
Priced
public final Product getProduct()
public final String getProductName()
public final Quantity getQuantity()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.