package com.matrix.system.shopXcx.api.vo; import com.matrix.system.shopXcx.bean.ShopCoupon; import com.matrix.system.shopXcx.bean.ShopShoppingCart; import java.math.BigDecimal; import java.util.List; /** * 购物车前台展示对象 */ public class ShopCartVo { private ShopCoupon coupon; private CouponReceiveInfoVO couponReceiveInfoVO; public CouponReceiveInfoVO getCouponReceiveInfoVO() { return couponReceiveInfoVO; } public void setCouponReceiveInfoVO(CouponReceiveInfoVO couponReceiveInfoVO) { this.couponReceiveInfoVO = couponReceiveInfoVO; } //是否满足优惠 private boolean satisfactionCoupon; private List cartList; //提示语 private String msg=""; //优惠小计金额 private BigDecimal subtotal=BigDecimal.ZERO; //原价 private BigDecimal srcPrice=BigDecimal.ZERO; //优惠金额 private BigDecimal couponPrice=BigDecimal.ZERO; public ShopCoupon getCoupon() { return coupon; } public void setCoupon(ShopCoupon coupon) { this.coupon = coupon; } public boolean isSatisfactionCoupon() { return satisfactionCoupon; } public void setSatisfactionCoupon(boolean satisfactionCoupon) { this.satisfactionCoupon = satisfactionCoupon; } public List getCartList() { return cartList; } public void setCartList(List cartList) { this.cartList = cartList; } public String getMsg() { return msg; } public void setMsg(String msg) { this.msg = msg; } public BigDecimal getSubtotal() { return subtotal; } public void setSubtotal(BigDecimal subtotal) { this.subtotal = subtotal; } public BigDecimal getSrcPrice() { return srcPrice; } public void setSrcPrice(BigDecimal srcPrice) { this.srcPrice = srcPrice; } public BigDecimal getCouponPrice() { return couponPrice; } public void setCouponPrice(BigDecimal couponPrice) { this.couponPrice = couponPrice; } }