View Javadoc
1   package org.oxerr.stubhub.client.model;
2   
3   import java.math.BigDecimal;
4   import java.util.List;
5   
6   public class InventoryPricingSettingRequest {
7   
8   	/**
9   	 * Flag to control whether Pricing should be enabled for the current listing.
10  	 */
11  	private Boolean pricingEnabled;
12  
13  	/**
14  	 * The minimum amount inventory can be priced at.
15  	 * Certain users can price below the floor if a warning is accepted.
16  	 */
17  	private BigDecimal netProceedsFloor;
18  
19  	/**
20  	 * The maximum amount inventory can be priced at.
21  	 * Certain users can price above the ceiling if a warning is accepted.
22  	 */
23  	private BigDecimal netProceedsCeiling;
24  
25  	/**
26  	 * - Simple
27  	 * - RowExtrapolation
28  	 */
29  	private String undercutMode;
30  
31  	/**
32  	 * Default amount to price under a comparable listing in the currency unit
33  	 * of the listing. Applied after UndercutRelativeAmount.
34  	 */
35  	private BigDecimal undercutAbsoluteAmount;
36  
37  	/**
38  	 * Default precent to price under a comparable listing.
39  	 * Applied before UndercutRelativeAmount.
40  	 */
41  	private BigDecimal undercutRelativeAmount;
42  
43  	/**
44  	 * Mode to be used for comparable listings.
45  	 * <ul>
46  	 * <li>QualityScore</li>
47  	 * <li>SameSection</li>
48  	 * <li>SameZone</li>
49  	 * <li>SameEvent</li>
50  	 * </ul>
51  	 */
52  	private String compListingMode;
53  
54  	/**
55  	 * Sets the minimum quality of listings that we be used for comparable
56  	 * listings.
57  	 */
58  	private BigDecimal compListingFloor;
59  
60  	/**
61  	 * Sets the minimum quality of listings that we be used for comparable
62  	 * listings.
63  	 */
64  	private BigDecimal compListingCeiling;
65  
66  	/**
67  	 * Selected section ids for filtering
68  	 */
69  	private List<Integer> sectionIdFilter;
70  
71  	/**
72  	 * Selected row ids for filtering
73  	 */
74  	private List<Integer> rowIdFilter;
75  
76  	/**
77  	 * Flag to control whether quantity score adjustment should be enabled
78  	 * for the listing.
79  	 */
80  	private Boolean quantityScoreAdjustmentEnabled;
81  
82  	/**
83  	 * Sets the overrides json for the quantity score adjustment.
84  	 */
85  	private String quantityScoreAdjustmentOverridesJson;
86  
87  	/**
88  	 * Flag to control whether its only enabled for the same zone.
89  	 */
90  	private Boolean onlyForSameZoneEnabled;
91  
92  	/**
93  	 * Flag to control whether its only enabled for the selected sections.
94  	 */
95  	private Boolean onlyForSelectedSectionsEnabled;
96  
97  	/**
98  	 * Mode to be used for outlier.
99  	 * <ul>
100 	 * <li>StandardDeviations</li>
101 	 * <li>KthLowest</li>
102 	 * <li>SkipLogic</li>
103 	 * </ul>
104 	 */
105 	private String outlierMode;
106 
107 	/**
108 	 * Sets the number of standard deviations to use for outlier settings.
109 	 */
110 	private Double standardDeviations;
111 
112 	/**
113 	 * Sets the max number of outlier listings to use for KthLowest outlier
114 	 * settings.
115 	 */
116 	private Integer kthLowestOutlierLimit;
117 
118 	/**
119 	 * Sets the absolute monetary amount to use for determining the KthLowest
120 	 * outliers.
121 	 */
122 	private Double kthLowestAbsoluteOutlierSpacing;
123 
124 	/**
125 	 * Sets the relative percentage amount (0-100) to use for determining
126 	 * the KthLowest outliers.
127 	 */
128 	private BigDecimal kthLowestRelativeOutlierSpacing;
129 
130 	/**
131 	 * Sets the max discount velocity percent for the circuit breaker.
132 	 */
133 	private BigDecimal maxDiscountVelocityPercent;
134 
135 	/**
136 	 * Sets the max discount velocity ticks for the circuit breaker.
137 	 */
138 	private Long maxDiscountVelocityTicks;
139 
140 	/**
141 	 * Sets the minimum quality of listings that we be used for comparable
142 	 * listings.
143 	 */
144 	private Integer minCompListingCount;
145 
146 	public Boolean getPricingEnabled() {
147 		return pricingEnabled;
148 	}
149 
150 	public void setPricingEnabled(Boolean pricingEnabled) {
151 		this.pricingEnabled = pricingEnabled;
152 	}
153 
154 	public BigDecimal getNetProceedsFloor() {
155 		return netProceedsFloor;
156 	}
157 
158 	public void setNetProceedsFloor(BigDecimal netProceedsFloor) {
159 		this.netProceedsFloor = netProceedsFloor;
160 	}
161 
162 	public BigDecimal getNetProceedsCeiling() {
163 		return netProceedsCeiling;
164 	}
165 
166 	public void setNetProceedsCeiling(BigDecimal netProceedsCeiling) {
167 		this.netProceedsCeiling = netProceedsCeiling;
168 	}
169 
170 	public String getUndercutMode() {
171 		return undercutMode;
172 	}
173 
174 	public void setUndercutMode(String undercutMode) {
175 		this.undercutMode = undercutMode;
176 	}
177 
178 	public BigDecimal getUndercutAbsoluteAmount() {
179 		return undercutAbsoluteAmount;
180 	}
181 
182 	public void setUndercutAbsoluteAmount(BigDecimal undercutAbsoluteAmount) {
183 		this.undercutAbsoluteAmount = undercutAbsoluteAmount;
184 	}
185 
186 	public BigDecimal getUndercutRelativeAmount() {
187 		return undercutRelativeAmount;
188 	}
189 
190 	public void setUndercutRelativeAmount(BigDecimal undercutRelativeAmount) {
191 		this.undercutRelativeAmount = undercutRelativeAmount;
192 	}
193 
194 	public String getCompListingMode() {
195 		return compListingMode;
196 	}
197 
198 	public void setCompListingMode(String compListingMode) {
199 		this.compListingMode = compListingMode;
200 	}
201 
202 	public BigDecimal getCompListingFloor() {
203 		return compListingFloor;
204 	}
205 
206 	public void setCompListingFloor(BigDecimal compListingFloor) {
207 		this.compListingFloor = compListingFloor;
208 	}
209 
210 	public BigDecimal getCompListingCeiling() {
211 		return compListingCeiling;
212 	}
213 
214 	public void setCompListingCeiling(BigDecimal compListingCeiling) {
215 		this.compListingCeiling = compListingCeiling;
216 	}
217 
218 	public List<Integer> getSectionIdFilter() {
219 		return sectionIdFilter;
220 	}
221 
222 	public void setSectionIdFilter(List<Integer> sectionIdFilter) {
223 		this.sectionIdFilter = sectionIdFilter;
224 	}
225 
226 	public List<Integer> getRowIdFilter() {
227 		return rowIdFilter;
228 	}
229 
230 	public void setRowIdFilter(List<Integer> rowIdFilter) {
231 		this.rowIdFilter = rowIdFilter;
232 	}
233 
234 	public Boolean getQuantityScoreAdjustmentEnabled() {
235 		return quantityScoreAdjustmentEnabled;
236 	}
237 
238 	public void setQuantityScoreAdjustmentEnabled(Boolean quantityScoreAdjustmentEnabled) {
239 		this.quantityScoreAdjustmentEnabled = quantityScoreAdjustmentEnabled;
240 	}
241 
242 	public String getQuantityScoreAdjustmentOverridesJson() {
243 		return quantityScoreAdjustmentOverridesJson;
244 	}
245 
246 	public void setQuantityScoreAdjustmentOverridesJson(String quantityScoreAdjustmentOverridesJson) {
247 		this.quantityScoreAdjustmentOverridesJson = quantityScoreAdjustmentOverridesJson;
248 	}
249 
250 	public Boolean getOnlyForSameZoneEnabled() {
251 		return onlyForSameZoneEnabled;
252 	}
253 
254 	public void setOnlyForSameZoneEnabled(Boolean onlyForSameZoneEnabled) {
255 		this.onlyForSameZoneEnabled = onlyForSameZoneEnabled;
256 	}
257 
258 	public Boolean getOnlyForSelectedSectionsEnabled() {
259 		return onlyForSelectedSectionsEnabled;
260 	}
261 
262 	public void setOnlyForSelectedSectionsEnabled(Boolean onlyForSelectedSectionsEnabled) {
263 		this.onlyForSelectedSectionsEnabled = onlyForSelectedSectionsEnabled;
264 	}
265 
266 	public String getOutlierMode() {
267 		return outlierMode;
268 	}
269 
270 	public void setOutlierMode(String outlierMode) {
271 		this.outlierMode = outlierMode;
272 	}
273 
274 	public Double getStandardDeviations() {
275 		return standardDeviations;
276 	}
277 
278 	public void setStandardDeviations(Double standardDeviations) {
279 		this.standardDeviations = standardDeviations;
280 	}
281 
282 	public Integer getKthLowestOutlierLimit() {
283 		return kthLowestOutlierLimit;
284 	}
285 
286 	public void setKthLowestOutlierLimit(Integer kthLowestOutlierLimit) {
287 		this.kthLowestOutlierLimit = kthLowestOutlierLimit;
288 	}
289 
290 	public Double getKthLowestAbsoluteOutlierSpacing() {
291 		return kthLowestAbsoluteOutlierSpacing;
292 	}
293 
294 	public void setKthLowestAbsoluteOutlierSpacing(Double kthLowestAbsoluteOutlierSpacing) {
295 		this.kthLowestAbsoluteOutlierSpacing = kthLowestAbsoluteOutlierSpacing;
296 	}
297 
298 	public BigDecimal getKthLowestRelativeOutlierSpacing() {
299 		return kthLowestRelativeOutlierSpacing;
300 	}
301 
302 	public void setKthLowestRelativeOutlierSpacing(BigDecimal kthLowestRelativeOutlierSpacing) {
303 		this.kthLowestRelativeOutlierSpacing = kthLowestRelativeOutlierSpacing;
304 	}
305 
306 	public BigDecimal getMaxDiscountVelocityPercent() {
307 		return maxDiscountVelocityPercent;
308 	}
309 
310 	public void setMaxDiscountVelocityPercent(BigDecimal maxDiscountVelocityPercent) {
311 		this.maxDiscountVelocityPercent = maxDiscountVelocityPercent;
312 	}
313 
314 	public Long getMaxDiscountVelocityTicks() {
315 		return maxDiscountVelocityTicks;
316 	}
317 
318 	public void setMaxDiscountVelocityTicks(Long maxDiscountVelocityTicks) {
319 		this.maxDiscountVelocityTicks = maxDiscountVelocityTicks;
320 	}
321 
322 	public Integer getMinCompListingCount() {
323 		return minCompListingCount;
324 	}
325 
326 	public void setMinCompListingCount(Integer minCompListingCount) {
327 		this.minCompListingCount = minCompListingCount;
328 	}
329 
330 }