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   
8   import org.apache.commons.lang3.builder.EqualsBuilder;
9   import org.apache.commons.lang3.builder.HashCodeBuilder;
10  import org.apache.commons.lang3.builder.ToStringBuilder;
11  
12  public class TicketGroupResponse implements Serializable {
13  
14  	private static final long serialVersionUID = 2026051801L;
15  
16  	private EventMappingResponse eventMapping;
17  
18  	private EventResponse event;
19  
20  	private VenueResponse venue;
21  
22  	private PerformerResponse performer;
23  
24  	private Long id;
25  
26  	private OffsetDateTime inHandAt;
27  
28  	private SeatingResponse seating;
29  
30  	private Integer ticketCount;
31  
32  	private List<ListingNoteResponse> listingNotes;
33  
34  	private List<TicketResponse> tickets;
35  
36  	private String currencyCode;
37  
38  	private BigDecimal unitCost;
39  
40  	private BigDecimal totalCost;
41  
42  	private BigDecimal expectedValue;
43  
44  	private BigDecimal taxPaid;
45  
46  	private Boolean isFaceValueCost;
47  
48  	private BigDecimal faceValueCost;
49  
50  	private String deliveryType;
51  
52  	private BigDecimal deliveryCost;
53  
54  	private String externalId;
55  
56  	private List<TagResponse> tags;
57  
58  	private BigDecimal totalEstimatedCost;
59  
60  	private String totalEstimatedCostCurrency;
61  
62  	public EventMappingResponse getEventMapping() {
63  		return eventMapping;
64  	}
65  
66  	public void setEventMapping(EventMappingResponse eventMapping) {
67  		this.eventMapping = eventMapping;
68  	}
69  
70  	public EventResponse getEvent() {
71  		return event;
72  	}
73  
74  	public void setEvent(EventResponse event) {
75  		this.event = event;
76  	}
77  
78  	public VenueResponse getVenue() {
79  		return venue;
80  	}
81  
82  	public void setVenue(VenueResponse venue) {
83  		this.venue = venue;
84  	}
85  
86  	public PerformerResponse getPerformer() {
87  		return performer;
88  	}
89  
90  	public void setPerformer(PerformerResponse performer) {
91  		this.performer = performer;
92  	}
93  
94  	public Long getId() {
95  		return id;
96  	}
97  
98  	public void setId(Long id) {
99  		this.id = id;
100 	}
101 
102 	public OffsetDateTime getInHandAt() {
103 		return inHandAt;
104 	}
105 
106 	public void setInHandAt(OffsetDateTime inHandAt) {
107 		this.inHandAt = inHandAt;
108 	}
109 
110 	public SeatingResponse getSeating() {
111 		return seating;
112 	}
113 
114 	public void setSeating(SeatingResponse seating) {
115 		this.seating = seating;
116 	}
117 
118 	public Integer getTicketCount() {
119 		return ticketCount;
120 	}
121 
122 	public void setTicketCount(Integer ticketCount) {
123 		this.ticketCount = ticketCount;
124 	}
125 
126 	public List<ListingNoteResponse> getListingNotes() {
127 		return listingNotes;
128 	}
129 
130 	public void setListingNotes(List<ListingNoteResponse> listingNotes) {
131 		this.listingNotes = listingNotes;
132 	}
133 
134 	public List<TicketResponse> getTickets() {
135 		return tickets;
136 	}
137 
138 	public void setTickets(List<TicketResponse> tickets) {
139 		this.tickets = tickets;
140 	}
141 
142 	public String getCurrencyCode() {
143 		return currencyCode;
144 	}
145 
146 	public void setCurrencyCode(String currencyCode) {
147 		this.currencyCode = currencyCode;
148 	}
149 
150 	public BigDecimal getUnitCost() {
151 		return unitCost;
152 	}
153 
154 	public void setUnitCost(BigDecimal unitCost) {
155 		this.unitCost = unitCost;
156 	}
157 
158 	public BigDecimal getTotalCost() {
159 		return totalCost;
160 	}
161 
162 	public void setTotalCost(BigDecimal totalCost) {
163 		this.totalCost = totalCost;
164 	}
165 
166 	public BigDecimal getExpectedValue() {
167 		return expectedValue;
168 	}
169 
170 	public void setExpectedValue(BigDecimal expectedValue) {
171 		this.expectedValue = expectedValue;
172 	}
173 
174 	public BigDecimal getTaxPaid() {
175 		return taxPaid;
176 	}
177 
178 	public void setTaxPaid(BigDecimal taxPaid) {
179 		this.taxPaid = taxPaid;
180 	}
181 
182 	public Boolean getIsFaceValueCost() {
183 		return isFaceValueCost;
184 	}
185 
186 	public void setIsFaceValueCost(Boolean isFaceValueCost) {
187 		this.isFaceValueCost = isFaceValueCost;
188 	}
189 
190 	public BigDecimal getFaceValueCost() {
191 		return faceValueCost;
192 	}
193 
194 	public void setFaceValueCost(BigDecimal faceValueCost) {
195 		this.faceValueCost = faceValueCost;
196 	}
197 
198 	public String getDeliveryType() {
199 		return deliveryType;
200 	}
201 
202 	public void setDeliveryType(String deliveryType) {
203 		this.deliveryType = deliveryType;
204 	}
205 
206 	public BigDecimal getDeliveryCost() {
207 		return deliveryCost;
208 	}
209 
210 	public void setDeliveryCost(BigDecimal deliveryCost) {
211 		this.deliveryCost = deliveryCost;
212 	}
213 
214 	public String getExternalId() {
215 		return externalId;
216 	}
217 
218 	public void setExternalId(String externalId) {
219 		this.externalId = externalId;
220 	}
221 
222 	public List<TagResponse> getTags() {
223 		return tags;
224 	}
225 
226 	public void setTags(List<TagResponse> tags) {
227 		this.tags = tags;
228 	}
229 
230 	public BigDecimal getTotalEstimatedCost() {
231 		return totalEstimatedCost;
232 	}
233 
234 	public void setTotalEstimatedCost(BigDecimal totalEstimatedCost) {
235 		this.totalEstimatedCost = totalEstimatedCost;
236 	}
237 
238 	public String getTotalEstimatedCostCurrency() {
239 		return totalEstimatedCostCurrency;
240 	}
241 
242 	public void setTotalEstimatedCostCurrency(String totalEstimatedCostCurrency) {
243 		this.totalEstimatedCostCurrency = totalEstimatedCostCurrency;
244 	}
245 
246 	@Override
247 	public int hashCode() {
248 		return HashCodeBuilder.reflectionHashCode(this);
249 	}
250 
251 	@Override
252 	public boolean equals(Object obj) {
253 		return EqualsBuilder.reflectionEquals(this, obj);
254 	}
255 
256 	@Override
257 	public String toString() {
258 		return ToStringBuilder.reflectionToString(this);
259 	}
260 }