View Javadoc
1   package org.oxerr.vividseats.client.model.inventory;
2   
3   import java.io.Serializable;
4   import java.math.BigDecimal;
5   import java.time.LocalDateTime;
6   import java.util.List;
7   
8   import org.apache.commons.lang3.builder.EqualsBuilder;
9   import org.apache.commons.lang3.builder.HashCodeBuilder;
10  
11  /**
12   * A listing from a broker.
13   *
14   * <a href="https://vividseats.stoplight.io/docs/broker-portal/decf5dae8afe5-broker-listing">Broker Listing</a>.
15   */
16  public class BrokerListing implements Serializable {
17  
18  	private static final long serialVersionUID = 2024092601L;
19  
20  	private Long id;
21  
22  	private Integer productionId;
23  
24  	private Integer quantity;
25  
26  	private String section;
27  
28  	private String row;
29  
30  	private String seatFrom;
31  
32  	private String seatThru;
33  
34  	private String notes;
35  
36  	private BigDecimal price;
37  
38  	private String ticketId;
39  
40  	private Boolean electronic;
41  
42  	private Boolean electronicTransfer;
43  
44  	private LocalDateTime inHandDate;
45  
46  	private LocalDateTime listDate;
47  
48  	private SplitType splitType;
49  
50  	private String splitValue;
51  
52  	private Boolean spec;
53  
54  	private Boolean instantDownload;
55  
56  	private String passThrough;
57  
58  	private StockType stockType;
59  
60  	private List<Integer> seatNumbers;
61  
62  	private BigDecimal faceValue;
63  
64  	private BigDecimal unitTaxedCost;
65  
66  	private Boolean instantTransfer;
67  
68  	private List<String> attributes;
69  
70  	private List<Ticket> tickets;
71  
72  	private String internalNotes;
73  
74  	private String eventName;
75  
76  	private String venue;
77  
78  	private String city;
79  
80  	private String state;
81  
82  	private LocalDateTime eventDate;
83  
84  	private String shipDate;
85  
86  	private BigDecimal cost;
87  
88  	private Boolean hasFiles;
89  
90  	private Boolean hasBarcodes;
91  
92  	private LocalDateTime lastUpdate;
93  
94  	public Long getId() {
95  		return id;
96  	}
97  
98  	public void setId(Long id) {
99  		this.id = id;
100 	}
101 
102 	public Integer getProductionId() {
103 		return productionId;
104 	}
105 
106 	public void setProductionId(Integer productionId) {
107 		this.productionId = productionId;
108 	}
109 
110 	public Integer getQuantity() {
111 		return quantity;
112 	}
113 
114 	public void setQuantity(Integer quantity) {
115 		this.quantity = quantity;
116 	}
117 
118 	public String getSection() {
119 		return section;
120 	}
121 
122 	public void setSection(String section) {
123 		this.section = section;
124 	}
125 
126 	public String getRow() {
127 		return row;
128 	}
129 
130 	public void setRow(String row) {
131 		this.row = row;
132 	}
133 
134 	public String getSeatFrom() {
135 		return seatFrom;
136 	}
137 
138 	public void setSeatFrom(String seatFrom) {
139 		this.seatFrom = seatFrom;
140 	}
141 
142 	public String getSeatThru() {
143 		return seatThru;
144 	}
145 
146 	public void setSeatThru(String seatThru) {
147 		this.seatThru = seatThru;
148 	}
149 
150 	public String getNotes() {
151 		return notes;
152 	}
153 
154 	public void setNotes(String notes) {
155 		this.notes = notes;
156 	}
157 
158 	public BigDecimal getPrice() {
159 		return price;
160 	}
161 
162 	public void setPrice(BigDecimal price) {
163 		this.price = price;
164 	}
165 
166 	public String getTicketId() {
167 		return ticketId;
168 	}
169 
170 	public void setTicketId(String ticketId) {
171 		this.ticketId = ticketId;
172 	}
173 
174 	public Boolean getElectronic() {
175 		return electronic;
176 	}
177 
178 	public void setElectronic(Boolean electronic) {
179 		this.electronic = electronic;
180 	}
181 
182 	public Boolean getElectronicTransfer() {
183 		return electronicTransfer;
184 	}
185 
186 	public void setElectronicTransfer(Boolean electronicTransfer) {
187 		this.electronicTransfer = electronicTransfer;
188 	}
189 
190 	public LocalDateTime getInHandDate() {
191 		return inHandDate;
192 	}
193 
194 	public void setInHandDate(LocalDateTime inHandDate) {
195 		this.inHandDate = inHandDate;
196 	}
197 
198 	public LocalDateTime getListDate() {
199 		return listDate;
200 	}
201 
202 	public void setListDate(LocalDateTime listDate) {
203 		this.listDate = listDate;
204 	}
205 
206 	public SplitType getSplitType() {
207 		return splitType;
208 	}
209 
210 	public void setSplitType(SplitType splitType) {
211 		this.splitType = splitType;
212 	}
213 
214 	public String getSplitValue() {
215 		return splitValue;
216 	}
217 
218 	public void setSplitValue(String splitValue) {
219 		this.splitValue = splitValue;
220 	}
221 
222 	public Boolean getSpec() {
223 		return spec;
224 	}
225 
226 	public void setSpec(Boolean spec) {
227 		this.spec = spec;
228 	}
229 
230 	public Boolean getInstantDownload() {
231 		return instantDownload;
232 	}
233 
234 	public void setInstantDownload(Boolean instantDownload) {
235 		this.instantDownload = instantDownload;
236 	}
237 
238 	public String getPassThrough() {
239 		return passThrough;
240 	}
241 
242 	public void setPassThrough(String passThrough) {
243 		this.passThrough = passThrough;
244 	}
245 
246 	public StockType getStockType() {
247 		return stockType;
248 	}
249 
250 	public void setStockType(StockType stockType) {
251 		this.stockType = stockType;
252 	}
253 
254 	public List<Integer> getSeatNumbers() {
255 		return seatNumbers;
256 	}
257 
258 	public void setSeatNumbers(List<Integer> seatNumbers) {
259 		this.seatNumbers = seatNumbers;
260 	}
261 
262 	public BigDecimal getFaceValue() {
263 		return faceValue;
264 	}
265 
266 	public void setFaceValue(BigDecimal faceValue) {
267 		this.faceValue = faceValue;
268 	}
269 
270 	public BigDecimal getUnitTaxedCost() {
271 		return unitTaxedCost;
272 	}
273 
274 	public void setUnitTaxedCost(BigDecimal unitTaxedCost) {
275 		this.unitTaxedCost = unitTaxedCost;
276 	}
277 
278 	public Boolean getInstantTransfer() {
279 		return instantTransfer;
280 	}
281 
282 	public void setInstantTransfer(Boolean instantTransfer) {
283 		this.instantTransfer = instantTransfer;
284 	}
285 
286 	public List<String> getAttributes() {
287 		return attributes;
288 	}
289 
290 	public void setAttributes(List<String> attributes) {
291 		this.attributes = attributes;
292 	}
293 
294 	public List<Ticket> getTickets() {
295 		return tickets;
296 	}
297 
298 	public void setTickets(List<Ticket> tickets) {
299 		this.tickets = tickets;
300 	}
301 
302 	public String getInternalNotes() {
303 		return internalNotes;
304 	}
305 
306 	public void setInternalNotes(String internalNotes) {
307 		this.internalNotes = internalNotes;
308 	}
309 
310 	public String getEventName() {
311 		return eventName;
312 	}
313 
314 	public void setEventName(String eventName) {
315 		this.eventName = eventName;
316 	}
317 
318 	public String getVenue() {
319 		return venue;
320 	}
321 
322 	public void setVenue(String venue) {
323 		this.venue = venue;
324 	}
325 
326 	public String getCity() {
327 		return city;
328 	}
329 
330 	public void setCity(String city) {
331 		this.city = city;
332 	}
333 
334 	public String getState() {
335 		return state;
336 	}
337 
338 	public void setState(String state) {
339 		this.state = state;
340 	}
341 
342 	public LocalDateTime getEventDate() {
343 		return eventDate;
344 	}
345 
346 	public void setEventDate(LocalDateTime eventDate) {
347 		this.eventDate = eventDate;
348 	}
349 
350 	public String getShipDate() {
351 		return shipDate;
352 	}
353 
354 	public void setShipDate(String shipDate) {
355 		this.shipDate = shipDate;
356 	}
357 
358 	public BigDecimal getCost() {
359 		return cost;
360 	}
361 
362 	public void setCost(BigDecimal cost) {
363 		this.cost = cost;
364 	}
365 
366 	public Boolean getHasFiles() {
367 		return hasFiles;
368 	}
369 
370 	public void setHasFiles(Boolean hasFiles) {
371 		this.hasFiles = hasFiles;
372 	}
373 
374 	public Boolean getHasBarcodes() {
375 		return hasBarcodes;
376 	}
377 
378 	public void setHasBarcodes(Boolean hasBarcodes) {
379 		this.hasBarcodes = hasBarcodes;
380 	}
381 
382 	public LocalDateTime getLastUpdate() {
383 		return lastUpdate;
384 	}
385 
386 	public void setLastUpdate(LocalDateTime lastUpdate) {
387 		this.lastUpdate = lastUpdate;
388 	}
389 
390 	@Override
391 	public int hashCode() {
392 		return HashCodeBuilder.reflectionHashCode(this);
393 	}
394 
395 	@Override
396 	public boolean equals(Object obj) {
397 		if (this == obj) {
398 			return true;
399 		}
400 		if (!(obj instanceof BrokerListing)) {
401 			return false;
402 		}
403 		BrokerListing rhs = (BrokerListing) obj;
404 		return EqualsBuilder.reflectionEquals(this, rhs);
405 	}
406 
407 }