View Javadoc
1   package org.oxerr.stubhub.client.model;
2   
3   import java.io.Serializable;
4   import java.math.BigDecimal;
5   
6   import org.apache.commons.lang3.builder.EqualsBuilder;
7   import org.apache.commons.lang3.builder.HashCodeBuilder;
8   import org.apache.commons.lang3.builder.ToStringBuilder;
9   
10  public class CompListingSetting implements Serializable {
11  
12  	private static final long serialVersionUID = 2026051801L;
13  
14  	private String compListingMode;
15  
16  	private BigDecimal compListingFloor;
17  
18  	private BigDecimal compListingCeiling;
19  
20  	private Boolean quantityScoreAdjustmentEnabled;
21  
22  	private String quantityScoreAdjustmentOverridesJson;
23  
24  	private Boolean onlyForSameZoneEnabled;
25  
26  	private Boolean onlyForSelectedSectionsEnabled;
27  
28  	public String getCompListingMode() {
29  		return compListingMode;
30  	}
31  
32  	public void setCompListingMode(String compListingMode) {
33  		this.compListingMode = compListingMode;
34  	}
35  
36  	public BigDecimal getCompListingFloor() {
37  		return compListingFloor;
38  	}
39  
40  	public void setCompListingFloor(BigDecimal compListingFloor) {
41  		this.compListingFloor = compListingFloor;
42  	}
43  
44  	public BigDecimal getCompListingCeiling() {
45  		return compListingCeiling;
46  	}
47  
48  	public void setCompListingCeiling(BigDecimal compListingCeiling) {
49  		this.compListingCeiling = compListingCeiling;
50  	}
51  
52  	public Boolean getQuantityScoreAdjustmentEnabled() {
53  		return quantityScoreAdjustmentEnabled;
54  	}
55  
56  	public void setQuantityScoreAdjustmentEnabled(Boolean quantityScoreAdjustmentEnabled) {
57  		this.quantityScoreAdjustmentEnabled = quantityScoreAdjustmentEnabled;
58  	}
59  
60  	public String getQuantityScoreAdjustmentOverridesJson() {
61  		return quantityScoreAdjustmentOverridesJson;
62  	}
63  
64  	public void setQuantityScoreAdjustmentOverridesJson(String quantityScoreAdjustmentOverridesJson) {
65  		this.quantityScoreAdjustmentOverridesJson = quantityScoreAdjustmentOverridesJson;
66  	}
67  
68  	public Boolean getOnlyForSameZoneEnabled() {
69  		return onlyForSameZoneEnabled;
70  	}
71  
72  	public void setOnlyForSameZoneEnabled(Boolean onlyForSameZoneEnabled) {
73  		this.onlyForSameZoneEnabled = onlyForSameZoneEnabled;
74  	}
75  
76  	public Boolean getOnlyForSelectedSectionsEnabled() {
77  		return onlyForSelectedSectionsEnabled;
78  	}
79  
80  	public void setOnlyForSelectedSectionsEnabled(Boolean onlyForSelectedSectionsEnabled) {
81  		this.onlyForSelectedSectionsEnabled = onlyForSelectedSectionsEnabled;
82  	}
83  
84  	@Override
85  	public int hashCode() {
86  		return HashCodeBuilder.reflectionHashCode(this);
87  	}
88  
89  	@Override
90  	public boolean equals(Object obj) {
91  		return EqualsBuilder.reflectionEquals(this, obj);
92  	}
93  
94  	@Override
95  	public String toString() {
96  		return ToStringBuilder.reflectionToString(this);
97  	}
98  }