1 package org.oxerr.stubhub.client.model;
2
3 import java.io.Serializable;
4 import java.math.BigDecimal;
5 import java.time.LocalDateTime;
6 import java.util.List;
7 import java.util.UUID;
8
9 import org.apache.commons.lang3.builder.EqualsBuilder;
10 import org.apache.commons.lang3.builder.HashCodeBuilder;
11 import org.apache.commons.lang3.builder.ToStringBuilder;
12
13 public class ListingResponse implements Serializable {
14
15 private static final long serialVersionUID = 2026051801L;
16
17 private EventMappingResponse eventMapping;
18
19 private EventResponse event;
20
21 private VenueResponse venue;
22
23 private PerformerResponse performer;
24
25 private Long id;
26
27 private LocalDateTime inHandAt;
28
29 private ListingSeatingResponse seating;
30
31 private List<ListingNoteResponse> listingNotes;
32
33 private String currencyCode;
34
35 private BigDecimal unitCost;
36
37 private BigDecimal taxedCost;
38
39 private Integer availableQuantity;
40
41 private Integer maxDisplayQuantity;
42
43 private Boolean isPreDelivered;
44
45 private SplitType splitType;
46
47 private String splitTypeValue;
48
49 private Boolean hideSeatsFromMarketplace;
50
51 private List<TicketResponse> tickets;
52
53 private Boolean instantTransfer;
54
55 private BigDecimal faceValue;
56
57 private List<StockTypeMapping> stockType;
58
59 private String internalNotes;
60
61 private List<TagResponse> tags;
62
63 private Long resourceVersion;
64
65 private String externalId;
66
67 private BigDecimal totalCost;
68
69 private Boolean zoneFill;
70
71 private AdminHoldResponse adminHold;
72
73 private Boolean isExpired;
74
75 private UUID sellerAccountId;
76
77 private Long duplicatedListingId;
78
79 private Boolean isGeneralAdmission;
80
81 private List<MarketplacePricingInfo> listingPricesByMarketplace;
82
83 private List<MarketplaceListingStatus> listingStatusByMarketplace;
84
85 private List<MarketplaceSeatingOverrideInfo> seatingOverridesByMarketplace;
86
87 private UUID pricerUserId;
88
89 private PricingSetting pricingSetting;
90
91 private Boolean isBroadcast;
92
93 private LocalDateTime lastPriceUpdatedDate;
94
95 private Boolean autoFulfill;
96
97 private UUID listingGroupId;
98
99 private Integer listingGroupPriority;
100
101 private Long exchangePosId;
102
103 public EventMappingResponse getEventMapping() {
104 return eventMapping;
105 }
106
107 public void setEventMapping(EventMappingResponse eventMapping) {
108 this.eventMapping = eventMapping;
109 }
110
111 public EventResponse getEvent() {
112 return event;
113 }
114
115 public void setEvent(EventResponse event) {
116 this.event = event;
117 }
118
119 public VenueResponse getVenue() {
120 return venue;
121 }
122
123 public void setVenue(VenueResponse venue) {
124 this.venue = venue;
125 }
126
127 public PerformerResponse getPerformer() {
128 return performer;
129 }
130
131 public void setPerformer(PerformerResponse performer) {
132 this.performer = performer;
133 }
134
135 public Long getId() {
136 return id;
137 }
138
139 public void setId(Long id) {
140 this.id = id;
141 }
142
143 public LocalDateTime getInHandAt() {
144 return inHandAt;
145 }
146
147 public void setInHandAt(LocalDateTime inHandAt) {
148 this.inHandAt = inHandAt;
149 }
150
151 public ListingSeatingResponse getSeating() {
152 return seating;
153 }
154
155 public void setSeating(ListingSeatingResponse seating) {
156 this.seating = seating;
157 }
158
159 public List<ListingNoteResponse> getListingNotes() {
160 return listingNotes;
161 }
162
163 public void setListingNotes(List<ListingNoteResponse> listingNotes) {
164 this.listingNotes = listingNotes;
165 }
166
167 public String getCurrencyCode() {
168 return currencyCode;
169 }
170
171 public void setCurrencyCode(String currencyCode) {
172 this.currencyCode = currencyCode;
173 }
174
175 public BigDecimal getUnitCost() {
176 return unitCost;
177 }
178
179 public void setUnitCost(BigDecimal unitCost) {
180 this.unitCost = unitCost;
181 }
182
183 public BigDecimal getTaxedCost() {
184 return taxedCost;
185 }
186
187 public void setTaxedCost(BigDecimal taxedCost) {
188 this.taxedCost = taxedCost;
189 }
190
191 public Integer getAvailableQuantity() {
192 return availableQuantity;
193 }
194
195 public void setAvailableQuantity(Integer availableQuantity) {
196 this.availableQuantity = availableQuantity;
197 }
198
199 public Integer getMaxDisplayQuantity() {
200 return maxDisplayQuantity;
201 }
202
203 public void setMaxDisplayQuantity(Integer maxDisplayQuantity) {
204 this.maxDisplayQuantity = maxDisplayQuantity;
205 }
206
207 public Boolean getIsPreDelivered() {
208 return isPreDelivered;
209 }
210
211 public void setIsPreDelivered(Boolean isPreDelivered) {
212 this.isPreDelivered = isPreDelivered;
213 }
214
215 public SplitType getSplitType() {
216 return splitType;
217 }
218
219 public void setSplitType(SplitType splitType) {
220 this.splitType = splitType;
221 }
222
223 public String getSplitTypeValue() {
224 return splitTypeValue;
225 }
226
227 public void setSplitTypeValue(String splitTypeValue) {
228 this.splitTypeValue = splitTypeValue;
229 }
230
231 public Boolean getHideSeatsFromMarketplace() {
232 return hideSeatsFromMarketplace;
233 }
234
235 public void setHideSeatsFromMarketplace(Boolean hideSeatsFromMarketplace) {
236 this.hideSeatsFromMarketplace = hideSeatsFromMarketplace;
237 }
238
239 public List<TicketResponse> getTickets() {
240 return tickets;
241 }
242
243 public void setTickets(List<TicketResponse> tickets) {
244 this.tickets = tickets;
245 }
246
247 public Boolean getInstantTransfer() {
248 return instantTransfer;
249 }
250
251 public void setInstantTransfer(Boolean instantTransfer) {
252 this.instantTransfer = instantTransfer;
253 }
254
255 public BigDecimal getFaceValue() {
256 return faceValue;
257 }
258
259 public void setFaceValue(BigDecimal faceValue) {
260 this.faceValue = faceValue;
261 }
262
263 public List<StockTypeMapping> getStockType() {
264 return stockType;
265 }
266
267 public void setStockType(List<StockTypeMapping> stockType) {
268 this.stockType = stockType;
269 }
270
271 public String getInternalNotes() {
272 return internalNotes;
273 }
274
275 public void setInternalNotes(String internalNotes) {
276 this.internalNotes = internalNotes;
277 }
278
279 public List<TagResponse> getTags() {
280 return tags;
281 }
282
283 public void setTags(List<TagResponse> tags) {
284 this.tags = tags;
285 }
286
287 public Long getResourceVersion() {
288 return resourceVersion;
289 }
290
291 public void setResourceVersion(Long resourceVersion) {
292 this.resourceVersion = resourceVersion;
293 }
294
295 public String getExternalId() {
296 return externalId;
297 }
298
299 public void setExternalId(String externalId) {
300 this.externalId = externalId;
301 }
302
303 public BigDecimal getTotalCost() {
304 return totalCost;
305 }
306
307 public void setTotalCost(BigDecimal totalCost) {
308 this.totalCost = totalCost;
309 }
310
311 public Boolean getZoneFill() {
312 return zoneFill;
313 }
314
315 public void setZoneFill(Boolean zoneFill) {
316 this.zoneFill = zoneFill;
317 }
318
319 public AdminHoldResponse getAdminHold() {
320 return adminHold;
321 }
322
323 public void setAdminHold(AdminHoldResponse adminHold) {
324 this.adminHold = adminHold;
325 }
326
327 public Boolean getIsExpired() {
328 return isExpired;
329 }
330
331 public void setIsExpired(Boolean isExpired) {
332 this.isExpired = isExpired;
333 }
334
335 public UUID getSellerAccountId() {
336 return sellerAccountId;
337 }
338
339 public void setSellerAccountId(UUID sellerAccountId) {
340 this.sellerAccountId = sellerAccountId;
341 }
342
343 public Long getDuplicatedListingId() {
344 return duplicatedListingId;
345 }
346
347 public void setDuplicatedListingId(Long duplicatedListingId) {
348 this.duplicatedListingId = duplicatedListingId;
349 }
350
351 public Boolean getIsGeneralAdmission() {
352 return isGeneralAdmission;
353 }
354
355 public void setIsGeneralAdmission(Boolean isGeneralAdmission) {
356 this.isGeneralAdmission = isGeneralAdmission;
357 }
358
359 public List<MarketplacePricingInfo> getListingPricesByMarketplace() {
360 return listingPricesByMarketplace;
361 }
362
363 public void setListingPricesByMarketplace(List<MarketplacePricingInfo> listingPricesByMarketplace) {
364 this.listingPricesByMarketplace = listingPricesByMarketplace;
365 }
366
367 public List<MarketplaceListingStatus> getListingStatusByMarketplace() {
368 return listingStatusByMarketplace;
369 }
370
371 public void setListingStatusByMarketplace(List<MarketplaceListingStatus> listingStatusByMarketplace) {
372 this.listingStatusByMarketplace = listingStatusByMarketplace;
373 }
374
375 public List<MarketplaceSeatingOverrideInfo> getSeatingOverridesByMarketplace() {
376 return seatingOverridesByMarketplace;
377 }
378
379 public void setSeatingOverridesByMarketplace(List<MarketplaceSeatingOverrideInfo> seatingOverridesByMarketplace) {
380 this.seatingOverridesByMarketplace = seatingOverridesByMarketplace;
381 }
382
383 public UUID getPricerUserId() {
384 return pricerUserId;
385 }
386
387 public void setPricerUserId(UUID pricerUserId) {
388 this.pricerUserId = pricerUserId;
389 }
390
391 public PricingSetting getPricingSetting() {
392 return pricingSetting;
393 }
394
395 public void setPricingSetting(PricingSetting pricingSetting) {
396 this.pricingSetting = pricingSetting;
397 }
398
399 public Boolean getIsBroadcast() {
400 return isBroadcast;
401 }
402
403 public void setIsBroadcast(Boolean isBroadcast) {
404 this.isBroadcast = isBroadcast;
405 }
406
407 public LocalDateTime getLastPriceUpdatedDate() {
408 return lastPriceUpdatedDate;
409 }
410
411 public void setLastPriceUpdatedDate(LocalDateTime lastPriceUpdatedDate) {
412 this.lastPriceUpdatedDate = lastPriceUpdatedDate;
413 }
414
415 public Boolean getAutoFulfill() {
416 return autoFulfill;
417 }
418
419 public void setAutoFulfill(Boolean autoFulfill) {
420 this.autoFulfill = autoFulfill;
421 }
422
423 public UUID getListingGroupId() {
424 return listingGroupId;
425 }
426
427 public void setListingGroupId(UUID listingGroupId) {
428 this.listingGroupId = listingGroupId;
429 }
430
431 public Integer getListingGroupPriority() {
432 return listingGroupPriority;
433 }
434
435 public void setListingGroupPriority(Integer listingGroupPriority) {
436 this.listingGroupPriority = listingGroupPriority;
437 }
438
439 public Long getExchangePosId() {
440 return exchangePosId;
441 }
442
443 public void setExchangePosId(Long exchangePosId) {
444 this.exchangePosId = exchangePosId;
445 }
446
447 @Override
448 public int hashCode() {
449 return HashCodeBuilder.reflectionHashCode(this);
450 }
451
452 @Override
453 public boolean equals(Object obj) {
454 return EqualsBuilder.reflectionEquals(this, obj);
455 }
456
457 @Override
458 public String toString() {
459 return ToStringBuilder.reflectionToString(this);
460 }
461 }