OrderInfo.java 4.87 KB
package com.yoho.unions.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 大数据提供的订单数据
 * Created by zhouxiang on 2016/11/4.
 */
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = -3433514401854529932L;
    //下单时间
    private int orderTime;
    //父订单
    private String parentOrderCode;
    //订单号
    private String orderCode;
    //会员id
    private int uid;
    //联盟id
    private String clientId;
    //第三方cookie
    private String unionCookie;
    //商品金额---用户针对那个订单的支付金额
    private BigDecimal orderAmount;
    //运费
    private BigDecimal shippingCost;
    //支付方式(网上支付、银联支付、线下支付)
    private String payment;
    //订单状态(未付款、已付款、已取消、退款/退货)
    private String orderStatus;
    //平台(web/wap/app)  1:web,3:ios,4:安卓,6:wap
    private String orderType;

    private String isNew;

    // 共通参数
    private String unionData;

    public String getUnionData() {
        return unionData;
    }

    public void setUnionData(String unionData) {
        this.unionData = unionData;
    }

    public String getIsNew() {
        return isNew;
    }

    public void setIsNew(String isNew) {
        this.isNew = isNew;
    }

    public String getMbrName() {
        return mbrName;
    }

    public void setMbrName(String mbrName) {
        this.mbrName = mbrName;
    }

    private String trackingCode;

    private String thirdUid;

    private String mbrName;

    private List<OrdersGood> ordersGoods;

    public int getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(int orderTime) {
        this.orderTime = orderTime;
    }

    public String getParentOrderCode() {
        return parentOrderCode;
    }

    public void setParentOrderCode(String parentOrderCode) {
        this.parentOrderCode = parentOrderCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getUnionCookie() {
        return unionCookie;
    }

    public void setUnionCookie(String unionCookie) {
        this.unionCookie = unionCookie;
    }

    public BigDecimal getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(BigDecimal orderAmount) {
        this.orderAmount = orderAmount;
    }

    public BigDecimal getShippingCost() {
        return shippingCost;
    }

    public void setShippingCost(BigDecimal shippingCost) {
        this.shippingCost = shippingCost;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public List<OrdersGood> getOrdersGoods() {
        return ordersGoods;
    }

    public void setOrdersGoods(List<OrdersGood> ordersGoods) {
        this.ordersGoods = ordersGoods;
    }

    public String getTrackingCode() {
        return trackingCode;
    }

    public void setTrackingCode(String trackingCode) {
        this.trackingCode = trackingCode;
    }

    public String getThirdUid() {
        return thirdUid;
    }

    public void setThirdUid(String thirdUid) {
        this.thirdUid = thirdUid;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "orderTime=" + orderTime +
                ", parentOrderCode='" + parentOrderCode + '\'' +
                ", orderCode='" + orderCode + '\'' +
                ", uid=" + uid +
                ", clientId='" + clientId + '\'' +
                ", unionCookie='" + unionCookie + '\'' +
                ", orderAmount=" + orderAmount +
                ", shippingCost=" + shippingCost +
                ", payment='" + payment + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", orderType='" + orderType + '\'' +
                ", isNew='" + isNew + '\'' +
                ", unionData='" + unionData + '\'' +
                ", trackingCode='" + trackingCode + '\'' +
                ", thirdUid='" + thirdUid + '\'' +
                ", mbrName='" + mbrName + '\'' +
                ", ordersGoods=" + ordersGoods +
                '}';
    }
}