Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.cart.v2;

import java.math.BigDecimal;

public class CartBlocker {

        private Integer lineId;
        private Integer productId;
        private BlockerType type;
        private String message;
        private BigDecimal oldPrice;
        private BigDecimal newPrice;
        private Integer requestedQty;
        private Integer availableQty;

        public CartBlocker() {}

        public CartBlocker(BlockerType type, Integer lineId, String message) {
                this.type = type;
                this.lineId = lineId;
                this.message = message;
        }

        public Integer getLineId() { return lineId; }
        public void setLineId(Integer lineId) { this.lineId = lineId; }

        public Integer getProductId() { return productId; }
        public void setProductId(Integer productId) { this.productId = productId; }

        public BlockerType getType() { return type; }
        public void setType(BlockerType type) { this.type = type; }

        public String getMessage() { return message; }
        public void setMessage(String message) { this.message = message; }

        public BigDecimal getOldPrice() { return oldPrice; }
        public void setOldPrice(BigDecimal oldPrice) { this.oldPrice = oldPrice; }

        public BigDecimal getNewPrice() { return newPrice; }
        public void setNewPrice(BigDecimal newPrice) { this.newPrice = newPrice; }

        public Integer getRequestedQty() { return requestedQty; }
        public void setRequestedQty(Integer requestedQty) { this.requestedQty = requestedQty; }

        public Integer getAvailableQty() { return availableQty; }
        public void setAvailableQty(Integer availableQty) { this.availableQty = availableQty; }
}