www.pudn.com > dangdang.zip > Cart.java, change:2006-06-25,size:558b


package com.tarena.dangdang.entity; 
 
import java.util.HashMap; 
import java.util.Map; 
 
public class Cart { 
	private Map<String, OrderItem> orderItems = new HashMap<String, OrderItem>(); 
	private double totalPrice; 
 
	public Map<String, OrderItem> getOrderItems() { 
		return orderItems; 
	} 
 
	public void setOrderItems(Map<String, OrderItem> orderItems) { 
		this.orderItems = orderItems; 
	} 
 
	public double getTotalPrice() { 
		return totalPrice; 
	} 
 
	public void setTotalPrice(double totalPrice) { 
		this.totalPrice = totalPrice; 
	} 
 
}