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