|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.shop.checkout.OrderPosition
@Entity(name="checkout_OrderPosition") public class OrderPosition
The OrderPosition.
| Constructor Summary | |
|---|---|
protected |
OrderPosition()
Deprecated. |
|
OrderPosition(ShoppingCartPosition position, ShopSettings settings, User user)
Creates a new OrderPosition from the given
ShoppingCartPosition, ShopSettings and User. |
| Method Summary | |
|---|---|
java.lang.Long |
getItemId()
Returns the id of the item. |
java.lang.Class<? extends ShopItem> |
getItemType()
Returns the type of the item. |
java.lang.String |
getName()
Returns the name of the item. |
java.lang.String |
getOrderCode()
Returns the order code of the item. |
Price |
getPrice()
Returns the Price of the OrderPosition. |
int |
getQuantity()
Returns the quantity of items. |
Price |
getUnitPrice()
Returns the Price of the item. |
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected OrderPosition()
public OrderPosition(ShoppingCartPosition position, ShopSettings settings, User user)
OrderPosition from the given
ShoppingCartPosition, ShopSettings and User.
position - the ShoppingCartPosition.settings - the ShopSettings.user - the User.
java.lang.IllegalArgumentException - if the given ShoppingCartPosition,
ShopSettings or User is null.| Method Detail |
|---|
public final int getQuantity()
public final java.lang.Class<? extends ShopItem> getItemType()
public final java.lang.Long getItemId()
public final java.lang.String getName()
public final java.lang.String getOrderCode()
public final Price getUnitPrice()
Price of the item.
Price of the item.public final Price getPrice()
Price of the OrderPosition.
Price of the OrderPosition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||