View Javadoc
1   package org.oxerr.stubhub.client.model;
2   
3   import java.io.Serializable;
4   import java.math.BigDecimal;
5   import java.time.OffsetDateTime;
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 HoldResponse implements Serializable {
14  
15  	private static final long serialVersionUID = 2025051801L;
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 String marketplaceSaleId;
28  
29  	private String marketplaceListingId;
30  
31  	private Long inventoryId;
32  
33  	private OffsetDateTime inHandAt;
34  
35  	private SeatingResponse seating;
36  
37  	private SeatingResponse marketplaceOriginalSeating;
38  
39  	private BigDecimal totalNetProceeds;
40  
41  	private BigDecimal totalCost;
42  
43  	private BigDecimal totalCharges;
44  
45  	private BigDecimal totalCredits;
46  
47  	private String currencyCode;
48  
49  	private OffsetDateTime saleDate;
50  
51  	private OffsetDateTime updateDate;
52  
53  	private Integer quantitySold;
54  
55  	private Integer quantityWasted;
56  
57  	private String marketplace;
58  
59  	private String stockType;
60  
61  	private List<ListingNoteResponse> listingNotes;
62  
63  	private PosState posState;
64  
65  	private MarketplaceState marketplaceState;
66  
67  	private List<VendorResponse> vendorInfos;
68  
69  	private List<PurchaseVendorAccountResponse> vendorAccounts;
70  
71  	private List<TicketResponse> tickets;
72  
73  	private String paymentStatus;
74  
75  	private String paymentReferenceNumber;
76  
77  	private OffsetDateTime lastPaymentDate;
78  
79  	private String internalNotes;
80  
81  	private TicketHolderResponse ticketHolder;
82  
83  	private List<TagResponse> tags;
84  
85  	private OffsetDateTime createdDate;
86  
87  	private OffsetDateTime fulfillmentDate;
88  
89  	private Long originatedFromListingId;
90  
91  	private OffsetDateTime cancellationDate;
92  
93  	private Integer fulfillmentVersion;
94  
95  	private Integer marketplaceFulfillmentVersion;
96  
97  	private String externalId;
98  
99  	private UUID fulfillmentUserId;
100 
101 	private Boolean autoFulfill;
102 
103 	private UUID sellerAccountId;
104 
105 	private List<BuyerCommission> buyerCommissionOverride;
106 
107 	private BigDecimal originalNetProceedsAmount;
108 
109 	private String originalNetProceedsCurrency;
110 
111 	private OffsetDateTime expirationDate;
112 
113 	public EventMappingResponse getEventMapping() {
114 		return eventMapping;
115 	}
116 
117 	public void setEventMapping(EventMappingResponse eventMapping) {
118 		this.eventMapping = eventMapping;
119 	}
120 
121 	public EventResponse getEvent() {
122 		return event;
123 	}
124 
125 	public void setEvent(EventResponse event) {
126 		this.event = event;
127 	}
128 
129 	public VenueResponse getVenue() {
130 		return venue;
131 	}
132 
133 	public void setVenue(VenueResponse venue) {
134 		this.venue = venue;
135 	}
136 
137 	public PerformerResponse getPerformer() {
138 		return performer;
139 	}
140 
141 	public void setPerformer(PerformerResponse performer) {
142 		this.performer = performer;
143 	}
144 
145 	public Long getId() {
146 		return id;
147 	}
148 
149 	public void setId(Long id) {
150 		this.id = id;
151 	}
152 
153 	public String getMarketplaceSaleId() {
154 		return marketplaceSaleId;
155 	}
156 
157 	public void setMarketplaceSaleId(String marketplaceSaleId) {
158 		this.marketplaceSaleId = marketplaceSaleId;
159 	}
160 
161 	public String getMarketplaceListingId() {
162 		return marketplaceListingId;
163 	}
164 
165 	public void setMarketplaceListingId(String marketplaceListingId) {
166 		this.marketplaceListingId = marketplaceListingId;
167 	}
168 
169 	public Long getInventoryId() {
170 		return inventoryId;
171 	}
172 
173 	public void setInventoryId(Long inventoryId) {
174 		this.inventoryId = inventoryId;
175 	}
176 
177 	public OffsetDateTime getInHandAt() {
178 		return inHandAt;
179 	}
180 
181 	public void setInHandAt(OffsetDateTime inHandAt) {
182 		this.inHandAt = inHandAt;
183 	}
184 
185 	public SeatingResponse getSeating() {
186 		return seating;
187 	}
188 
189 	public void setSeating(SeatingResponse seating) {
190 		this.seating = seating;
191 	}
192 
193 	public SeatingResponse getMarketplaceOriginalSeating() {
194 		return marketplaceOriginalSeating;
195 	}
196 
197 	public void setMarketplaceOriginalSeating(SeatingResponse marketplaceOriginalSeating) {
198 		this.marketplaceOriginalSeating = marketplaceOriginalSeating;
199 	}
200 
201 	public BigDecimal getTotalNetProceeds() {
202 		return totalNetProceeds;
203 	}
204 
205 	public void setTotalNetProceeds(BigDecimal totalNetProceeds) {
206 		this.totalNetProceeds = totalNetProceeds;
207 	}
208 
209 	public BigDecimal getTotalCost() {
210 		return totalCost;
211 	}
212 
213 	public void setTotalCost(BigDecimal totalCost) {
214 		this.totalCost = totalCost;
215 	}
216 
217 	public BigDecimal getTotalCharges() {
218 		return totalCharges;
219 	}
220 
221 	public void setTotalCharges(BigDecimal totalCharges) {
222 		this.totalCharges = totalCharges;
223 	}
224 
225 	public BigDecimal getTotalCredits() {
226 		return totalCredits;
227 	}
228 
229 	public void setTotalCredits(BigDecimal totalCredits) {
230 		this.totalCredits = totalCredits;
231 	}
232 
233 	public String getCurrencyCode() {
234 		return currencyCode;
235 	}
236 
237 	public void setCurrencyCode(String currencyCode) {
238 		this.currencyCode = currencyCode;
239 	}
240 
241 	public OffsetDateTime getSaleDate() {
242 		return saleDate;
243 	}
244 
245 	public void setSaleDate(OffsetDateTime saleDate) {
246 		this.saleDate = saleDate;
247 	}
248 
249 	public OffsetDateTime getUpdateDate() {
250 		return updateDate;
251 	}
252 
253 	public void setUpdateDate(OffsetDateTime updateDate) {
254 		this.updateDate = updateDate;
255 	}
256 
257 	public Integer getQuantitySold() {
258 		return quantitySold;
259 	}
260 
261 	public void setQuantitySold(Integer quantitySold) {
262 		this.quantitySold = quantitySold;
263 	}
264 
265 	public Integer getQuantityWasted() {
266 		return quantityWasted;
267 	}
268 
269 	public void setQuantityWasted(Integer quantityWasted) {
270 		this.quantityWasted = quantityWasted;
271 	}
272 
273 	public String getMarketplace() {
274 		return marketplace;
275 	}
276 
277 	public void setMarketplace(String marketplace) {
278 		this.marketplace = marketplace;
279 	}
280 
281 	public String getStockType() {
282 		return stockType;
283 	}
284 
285 	public void setStockType(String stockType) {
286 		this.stockType = stockType;
287 	}
288 
289 	public List<ListingNoteResponse> getListingNotes() {
290 		return listingNotes;
291 	}
292 
293 	public void setListingNotes(List<ListingNoteResponse> listingNotes) {
294 		this.listingNotes = listingNotes;
295 	}
296 
297 	public PosState getPosState() {
298 		return posState;
299 	}
300 
301 	public void setPosState(PosState posState) {
302 		this.posState = posState;
303 	}
304 
305 	public MarketplaceState getMarketplaceState() {
306 		return marketplaceState;
307 	}
308 
309 	public void setMarketplaceState(MarketplaceState marketplaceState) {
310 		this.marketplaceState = marketplaceState;
311 	}
312 
313 	public List<VendorResponse> getVendorInfos() {
314 		return vendorInfos;
315 	}
316 
317 	public void setVendorInfos(List<VendorResponse> vendorInfos) {
318 		this.vendorInfos = vendorInfos;
319 	}
320 
321 	public List<PurchaseVendorAccountResponse> getVendorAccounts() {
322 		return vendorAccounts;
323 	}
324 
325 	public void setVendorAccounts(List<PurchaseVendorAccountResponse> vendorAccounts) {
326 		this.vendorAccounts = vendorAccounts;
327 	}
328 
329 	public List<TicketResponse> getTickets() {
330 		return tickets;
331 	}
332 
333 	public void setTickets(List<TicketResponse> tickets) {
334 		this.tickets = tickets;
335 	}
336 
337 	public String getPaymentStatus() {
338 		return paymentStatus;
339 	}
340 
341 	public void setPaymentStatus(String paymentStatus) {
342 		this.paymentStatus = paymentStatus;
343 	}
344 
345 	public String getPaymentReferenceNumber() {
346 		return paymentReferenceNumber;
347 	}
348 
349 	public void setPaymentReferenceNumber(String paymentReferenceNumber) {
350 		this.paymentReferenceNumber = paymentReferenceNumber;
351 	}
352 
353 	public OffsetDateTime getLastPaymentDate() {
354 		return lastPaymentDate;
355 	}
356 
357 	public void setLastPaymentDate(OffsetDateTime lastPaymentDate) {
358 		this.lastPaymentDate = lastPaymentDate;
359 	}
360 
361 	public String getInternalNotes() {
362 		return internalNotes;
363 	}
364 
365 	public void setInternalNotes(String internalNotes) {
366 		this.internalNotes = internalNotes;
367 	}
368 
369 	public TicketHolderResponse getTicketHolder() {
370 		return ticketHolder;
371 	}
372 
373 	public void setTicketHolder(TicketHolderResponse ticketHolder) {
374 		this.ticketHolder = ticketHolder;
375 	}
376 
377 	public List<TagResponse> getTags() {
378 		return tags;
379 	}
380 
381 	public void setTags(List<TagResponse> tags) {
382 		this.tags = tags;
383 	}
384 
385 	public OffsetDateTime getCreatedDate() {
386 		return createdDate;
387 	}
388 
389 	public void setCreatedDate(OffsetDateTime createdDate) {
390 		this.createdDate = createdDate;
391 	}
392 
393 	public OffsetDateTime getFulfillmentDate() {
394 		return fulfillmentDate;
395 	}
396 
397 	public void setFulfillmentDate(OffsetDateTime fulfillmentDate) {
398 		this.fulfillmentDate = fulfillmentDate;
399 	}
400 
401 	public Long getOriginatedFromListingId() {
402 		return originatedFromListingId;
403 	}
404 
405 	public void setOriginatedFromListingId(Long originatedFromListingId) {
406 		this.originatedFromListingId = originatedFromListingId;
407 	}
408 
409 	public OffsetDateTime getCancellationDate() {
410 		return cancellationDate;
411 	}
412 
413 	public void setCancellationDate(OffsetDateTime cancellationDate) {
414 		this.cancellationDate = cancellationDate;
415 	}
416 
417 	public Integer getFulfillmentVersion() {
418 		return fulfillmentVersion;
419 	}
420 
421 	public void setFulfillmentVersion(Integer fulfillmentVersion) {
422 		this.fulfillmentVersion = fulfillmentVersion;
423 	}
424 
425 	public Integer getMarketplaceFulfillmentVersion() {
426 		return marketplaceFulfillmentVersion;
427 	}
428 
429 	public void setMarketplaceFulfillmentVersion(Integer marketplaceFulfillmentVersion) {
430 		this.marketplaceFulfillmentVersion = marketplaceFulfillmentVersion;
431 	}
432 
433 	public String getExternalId() {
434 		return externalId;
435 	}
436 
437 	public void setExternalId(String externalId) {
438 		this.externalId = externalId;
439 	}
440 
441 	public UUID getFulfillmentUserId() {
442 		return fulfillmentUserId;
443 	}
444 
445 	public void setFulfillmentUserId(UUID fulfillmentUserId) {
446 		this.fulfillmentUserId = fulfillmentUserId;
447 	}
448 
449 	public Boolean getAutoFulfill() {
450 		return autoFulfill;
451 	}
452 
453 	public void setAutoFulfill(Boolean autoFulfill) {
454 		this.autoFulfill = autoFulfill;
455 	}
456 
457 	public UUID getSellerAccountId() {
458 		return sellerAccountId;
459 	}
460 
461 	public void setSellerAccountId(UUID sellerAccountId) {
462 		this.sellerAccountId = sellerAccountId;
463 	}
464 
465 	public List<BuyerCommission> getBuyerCommissionOverride() {
466 		return buyerCommissionOverride;
467 	}
468 
469 	public void setBuyerCommissionOverride(List<BuyerCommission> buyerCommissionOverride) {
470 		this.buyerCommissionOverride = buyerCommissionOverride;
471 	}
472 
473 	public BigDecimal getOriginalNetProceedsAmount() {
474 		return originalNetProceedsAmount;
475 	}
476 
477 	public void setOriginalNetProceedsAmount(BigDecimal originalNetProceedsAmount) {
478 		this.originalNetProceedsAmount = originalNetProceedsAmount;
479 	}
480 
481 	public String getOriginalNetProceedsCurrency() {
482 		return originalNetProceedsCurrency;
483 	}
484 
485 	public void setOriginalNetProceedsCurrency(String originalNetProceedsCurrency) {
486 		this.originalNetProceedsCurrency = originalNetProceedsCurrency;
487 	}
488 
489 	public OffsetDateTime getExpirationDate() {
490 		return expirationDate;
491 	}
492 
493 	public void setExpirationDate(OffsetDateTime expirationDate) {
494 		this.expirationDate = expirationDate;
495 	}
496 
497 	@Override
498 	public int hashCode() {
499 		return HashCodeBuilder.reflectionHashCode(this);
500 	}
501 
502 	@Override
503 	public boolean equals(Object obj) {
504 		return EqualsBuilder.reflectionEquals(this, obj);
505 	}
506 
507 	@Override
508 	public String toString() {
509 		return ToStringBuilder.reflectionToString(this);
510 	}
511 }