⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 neworderform.java

📁 使用jsp+Servlet,采用MVC模式,实现了一典型小型电子商务网站的全过程.包括前台和后台的全部功能.适合于初学者学习使用.
💻 JAVA
字号:
package com.eshop.form;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map;

import com.eshop.vo.CreditCardInfo;
import com.eshop.vo.PayInfo;

/**
 * 保存收货人信息的FORM
 * @author jonson
 *
 */
public class NewOrderForm {
	private long orderid;
	private String userid;
	private String datetime;
	private String shipaddr1;
	private String shipaddr2;
	private String shipcity;
	private String shipstate;
	private String shipzip;
	private String shipcountry;
	private String shiptoname;
	private String courier;
	private float totalprice;
	private long lineitem;//订单商品
	private long quality;//每类商品的数量
	private String itemid;//商品ID
	private float unitprice;//产品单价
	private ArrayList items;//购物车中商品列表
	private Map shoppingCartMap;
	private String paytype;
	private long isfinished;
	private String transactiondate;
	private long creditcardinfo;
	private CreditCardInfo creditCardInfo;
	private PayInfo payInfo;
	/**
	 * @return the courier
	 */
	public String getCourier() {
		return courier;
	}
	/**
	 * @param courier the courier to set
	 */
	public void setCourier(String courier) {
		this.courier = courier;
	}
	/**
	 * @return the datetime
	 */
	public String getDatetime() {
		return datetime;
	}
	/**
	 * @param datetime the datetime to set
	 */
	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}
	/**
	 * @return the orderid
	 */
	public long getOrderid() {
		return orderid;
	}
	/**
	 * @param orderid the orderid to set
	 */
	public void setOrderid(long orderid) {
		this.orderid = orderid;
	}
	/**
	 * @return the shipaddr1
	 */
	public String getShipaddr1() {
		return shipaddr1;
	}
	/**
	 * @param shipaddr1 the shipaddr1 to set
	 */
	public void setShipaddr1(String shipaddr1) {
		this.shipaddr1 = shipaddr1;
	}
	/**
	 * @return the shipaddr2
	 */
	public String getShipaddr2() {
		return shipaddr2;
	}
	/**
	 * @param shipaddr2 the shipaddr2 to set
	 */
	public void setShipaddr2(String shipaddr2) {
		this.shipaddr2 = shipaddr2;
	}
	/**
	 * @return the shipcity
	 */
	public String getShipcity() {
		return shipcity;
	}
	/**
	 * @param shipcity the shipcity to set
	 */
	public void setShipcity(String shipcity) {
		this.shipcity = shipcity;
	}
	/**
	 * @return the shipcountry
	 */
	public String getShipcountry() {
		return shipcountry;
	}
	/**
	 * @param shipcountry the shipcountry to set
	 */
	public void setShipcountry(String shipcountry) {
		this.shipcountry = shipcountry;
	}
	/**
	 * @return the shipstate
	 */
	public String getShipstate() {
		return shipstate;
	}
	/**
	 * @param shipstate the shipstate to set
	 */
	public void setShipstate(String shipstate) {
		this.shipstate = shipstate;
	}
	/**
	 * @return the shiptoname
	 */
	public String getShiptoname() {
		return shiptoname;
	}
	/**
	 * @param shiptoname the shiptoname to set
	 */
	public void setShiptoname(String shiptoname) {
		this.shiptoname = shiptoname;
	}
	/**
	 * @return the shipzip
	 */
	public String getShipzip() {
		return shipzip;
	}
	/**
	 * @param shipzip the shipzip to set
	 */
	public void setShipzip(String shipzip) {
		this.shipzip = shipzip;
	}
	/**
	 * @return the totalprice
	 */
	public float getTotalprice() {
		return totalprice;
	}
	/**
	 * @param totalprice the totalprice to set
	 */
	public void setTotalprice(float totalprice) {
		this.totalprice = totalprice;
	}
	/**
	 * @return the userid
	 */
	public String getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(String userid) {
		this.userid = userid;
	}
	/**
	 * @return the payInfo
	 */
	public PayInfo getPayInfo() {
		return payInfo;
	}
	/**
	 * @param payInfo the payInfo to set
	 */
	public void setPayInfo(PayInfo payInfo) {
		this.payInfo = payInfo;
	}
	/**
	 * @return the itemid
	 */
	public String getItemid() {
		return itemid;
	}
	/**
	 * @param itemid the itemid to set
	 */
	public void setItemid(String itemid) {
		this.itemid = itemid;
	}
	/**
	 * @return the lineitem
	 */
	public long getLineitem() {
		return lineitem;
	}
	/**
	 * @param lineitem the lineitem to set
	 */
	public void setLineitem(long lineitem) {
		this.lineitem = lineitem;
	}
	/**
	 * @return the quality
	 */
	public long getQuality() {
		return quality;
	}
	/**
	 * @param quality the quality to set
	 */
	public void setQuality(long quality) {
		this.quality = quality;
	}
	/**
	 * @return the unitprice
	 */
	public float getUnitprice() {
		return unitprice;
	}
	/**
	 * @param unitprice the unitprice to set
	 */
	public void setUnitprice(float unitprice) {
		this.unitprice = unitprice;
	}
	/**
	 * @return the items
	 */
	public ArrayList getItems() {
		return items;
	}
	/**
	 * @param items the items to set
	 */
	public void setItems(ArrayList items) {
		this.items = items;
	}

	/**
	 * @return the shoppingCartMap
	 */
	public Map getShoppingCartMap() {
		return shoppingCartMap;
	}
	/**
	 * @param shoppingCartMap the shoppingCartMap to set
	 */
	public void setShoppingCartMap(Map shoppingCartMap) {
		this.shoppingCartMap = shoppingCartMap;
	}
	/**
	 * @return the creditcardinfo
	 */
	public long getCreditcardinfo() {
		return creditcardinfo;
	}
	/**
	 * @param creditcardinfo the creditcardinfo to set
	 */
	public void setCreditcardinfo(long creditcardinfo) {
		this.creditcardinfo = creditcardinfo;
	}
	/**
	 * @return the creditCardInfo
	 */
	public CreditCardInfo getCreditCardInfo() {
		return creditCardInfo;
	}
	/**
	 * @param creditCardInfo the creditCardInfo to set
	 */
	public void setCreditCardInfo(CreditCardInfo creditCardInfo) {
		this.creditCardInfo = creditCardInfo;
	}
	/**
	 * @return the isfinished
	 */
	public long getIsfinished() {
		return isfinished;
	}
	/**
	 * @param isfinished the isfinished to set
	 */
	public void setIsfinished(long isfinished) {
		this.isfinished = isfinished;
	}
	/**
	 * @return the paytype
	 */
	public String getPaytype() {
		return paytype;
	}
	/**
	 * @param paytype the paytype to set
	 */
	public void setPaytype(String paytype) {
		this.paytype = paytype;
	}
	/**
	 * @return the transactiondate
	 */
	public String getTransactiondate() {
		return transactiondate;
	}
	/**
	 * @param transactiondate the transactiondate to set
	 */
	public void setTransactiondate(String transactiondate) {
		this.transactiondate = transactiondate;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -