CompListingSetting.java

package org.oxerr.stubhub.client.model;

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

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class CompListingSetting implements Serializable {

	private static final long serialVersionUID = 2026051801L;

	private String compListingMode;

	private BigDecimal compListingFloor;

	private BigDecimal compListingCeiling;

	private Boolean quantityScoreAdjustmentEnabled;

	private String quantityScoreAdjustmentOverridesJson;

	private Boolean onlyForSameZoneEnabled;

	private Boolean onlyForSelectedSectionsEnabled;

	public String getCompListingMode() {
		return compListingMode;
	}

	public void setCompListingMode(String compListingMode) {
		this.compListingMode = compListingMode;
	}

	public BigDecimal getCompListingFloor() {
		return compListingFloor;
	}

	public void setCompListingFloor(BigDecimal compListingFloor) {
		this.compListingFloor = compListingFloor;
	}

	public BigDecimal getCompListingCeiling() {
		return compListingCeiling;
	}

	public void setCompListingCeiling(BigDecimal compListingCeiling) {
		this.compListingCeiling = compListingCeiling;
	}

	public Boolean getQuantityScoreAdjustmentEnabled() {
		return quantityScoreAdjustmentEnabled;
	}

	public void setQuantityScoreAdjustmentEnabled(Boolean quantityScoreAdjustmentEnabled) {
		this.quantityScoreAdjustmentEnabled = quantityScoreAdjustmentEnabled;
	}

	public String getQuantityScoreAdjustmentOverridesJson() {
		return quantityScoreAdjustmentOverridesJson;
	}

	public void setQuantityScoreAdjustmentOverridesJson(String quantityScoreAdjustmentOverridesJson) {
		this.quantityScoreAdjustmentOverridesJson = quantityScoreAdjustmentOverridesJson;
	}

	public Boolean getOnlyForSameZoneEnabled() {
		return onlyForSameZoneEnabled;
	}

	public void setOnlyForSameZoneEnabled(Boolean onlyForSameZoneEnabled) {
		this.onlyForSameZoneEnabled = onlyForSameZoneEnabled;
	}

	public Boolean getOnlyForSelectedSectionsEnabled() {
		return onlyForSelectedSectionsEnabled;
	}

	public void setOnlyForSelectedSectionsEnabled(Boolean onlyForSelectedSectionsEnabled) {
		this.onlyForSelectedSectionsEnabled = onlyForSelectedSectionsEnabled;
	}

	@Override
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	@Override
	public boolean equals(Object obj) {
		return EqualsBuilder.reflectionEquals(this, obj);
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
}