Subversion Repositories SmartDukaan

Rev

Rev 37244 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37244 Rev 37268
Line 7... Line 7...
7
 */
7
 */
8
public class HotDealAttributes {
8
public class HotDealAttributes {
9
 
9
 
10
    private Integer warrantyMonths;
10
    private Integer warrantyMonths;
11
    private String condition;
11
    private String condition;
12
    private Boolean activated;
12
    private Boolean fresh;
13
    private Boolean financeMapping;
13
    private Boolean financeMapping;
14
    private Boolean affordability;
14
    private Boolean affordability;
15
 
15
 
16
    public HotDealAttributes() {
16
    public HotDealAttributes() {
17
    }
17
    }
18
 
18
 
19
    public HotDealAttributes(Integer warrantyMonths, String condition, Boolean activated,
19
    public HotDealAttributes(Integer warrantyMonths, String condition, Boolean fresh,
20
                             Boolean financeMapping, Boolean affordability) {
20
                             Boolean financeMapping, Boolean affordability) {
21
        this.warrantyMonths = warrantyMonths;
21
        this.warrantyMonths = warrantyMonths;
22
        this.condition = condition;
22
        this.condition = condition;
23
        this.activated = activated;
23
        this.fresh = fresh;
24
        this.financeMapping = financeMapping;
24
        this.financeMapping = financeMapping;
25
        this.affordability = affordability;
25
        this.affordability = affordability;
26
    }
26
    }
27
 
27
 
28
    public Integer getWarrantyMonths() {
28
    public Integer getWarrantyMonths() {
Line 39... Line 39...
39
 
39
 
40
    public void setCondition(String condition) {
40
    public void setCondition(String condition) {
41
        this.condition = condition;
41
        this.condition = condition;
42
    }
42
    }
43
 
43
 
44
    public Boolean getActivated() {
44
    public Boolean getFresh() {
45
        return activated;
45
        return fresh;
46
    }
46
    }
47
 
47
 
48
    public void setActivated(Boolean activated) {
48
    public void setFresh(Boolean fresh) {
49
        this.activated = activated;
49
        this.fresh = fresh;
50
    }
50
    }
51
 
51
 
52
    public Boolean getFinanceMapping() {
52
    public Boolean getFinanceMapping() {
53
        return financeMapping;
53
        return financeMapping;
54
    }
54
    }