1 package org.oxerr.seatgeek.client.model.request;
2
3 import java.math.BigDecimal;
4 import java.time.LocalDate;
5 import java.time.LocalTime;
6
7 import org.apache.commons.lang3.builder.EqualsBuilder;
8 import org.apache.commons.lang3.builder.HashCodeBuilder;
9 import org.oxerr.seatgeek.client.model.AbstractListing;
10
11 public class CreateListingRequest extends AbstractListing {
12
13 private static final long serialVersionUID = 2023031401L;
14
15
16
17
18
19
20 private String event;
21
22
23
24
25 private String venue;
26
27
28
29
30 private LocalDate eventDate;
31
32
33
34
35 private LocalTime eventTime;
36
37
38
39
40
41
42 private String splits;
43
44
45
46
47
48
49 private BigDecimal sellerPreviouslyPaidPricePerTicket;
50
51
52
53
54
55
56
57 private String stockType;
58
59 public String getEvent() {
60 return event;
61 }
62
63 public void setEvent(String event) {
64 this.event = event;
65 }
66
67 public String getVenue() {
68 return venue;
69 }
70
71 public void setVenue(String venue) {
72 this.venue = venue;
73 }
74
75 public LocalDate getEventDate() {
76 return eventDate;
77 }
78
79 public void setEventDate(LocalDate eventDate) {
80 this.eventDate = eventDate;
81 }
82
83 public LocalTime getEventTime() {
84 return eventTime;
85 }
86
87 public void setEventTime(LocalTime eventTime) {
88 this.eventTime = eventTime;
89 }
90
91 public String getSplits() {
92 return splits;
93 }
94
95 public void setSplits(String splits) {
96 this.splits = splits;
97 }
98
99 public BigDecimal getSellerPreviouslyPaidPricePerTicket() {
100 return sellerPreviouslyPaidPricePerTicket;
101 }
102
103 public void setSellerPreviouslyPaidPricePerTicket(BigDecimal sellerPreviouslyPaidPricePerTicket) {
104 this.sellerPreviouslyPaidPricePerTicket = sellerPreviouslyPaidPricePerTicket;
105 }
106
107 public String getStockType() {
108 return stockType;
109 }
110
111 public void setStockType(String stockType) {
112 this.stockType = stockType;
113 }
114
115 @Override
116 public int hashCode() {
117 return HashCodeBuilder.reflectionHashCode(this);
118 }
119
120 @Override
121 public boolean equals(Object obj) {
122 if (obj == null) {
123 return false;
124 }
125 if (obj == this) {
126 return true;
127 }
128 if (obj.getClass() != getClass()) {
129 return false;
130 }
131 CreateListingRequest rhs = (CreateListingRequest) obj;
132 return EqualsBuilder.reflectionEquals(this, rhs);
133 }
134
135 }