View Javadoc
1   package org.oxerr.viagogo.model.request.inventory;
2   
3   import java.io.Serializable;
4   
5   import org.apache.commons.lang3.builder.EqualsBuilder;
6   import org.apache.commons.lang3.builder.HashCodeBuilder;
7   import org.oxerr.viagogo.model.Money;
8   import org.oxerr.viagogo.model.Seating;
9   
10  public class CreateSellerListingRequest implements Serializable {
11  
12  	private static final long serialVersionUID = 2023021301L;
13  
14  	private Money ticketPrice;
15  
16  	private Seating seating;
17  
18  	private String ticketType;
19  
20  	private String splitType;
21  
22  	private Integer numberOfTickets;
23  
24  	private String externalId;
25  
26  	private String notes;
27  
28  	public Money getTicketPrice() {
29  		return ticketPrice;
30  	}
31  
32  	public void setTicketPrice(Money ticketPrice) {
33  		this.ticketPrice = ticketPrice;
34  	}
35  
36  	public Seating getSeating() {
37  		return seating;
38  	}
39  
40  	public void setSeating(Seating seating) {
41  		this.seating = seating;
42  	}
43  
44  	public String getTicketType() {
45  		return ticketType;
46  	}
47  
48  	public void setTicketType(String ticketType) {
49  		this.ticketType = ticketType;
50  	}
51  
52  	public String getSplitType() {
53  		return splitType;
54  	}
55  
56  	public void setSplitType(String splitType) {
57  		this.splitType = splitType;
58  	}
59  
60  	public Integer getNumberOfTickets() {
61  		return numberOfTickets;
62  	}
63  
64  	public void setNumberOfTickets(Integer numberOfTickets) {
65  		this.numberOfTickets = numberOfTickets;
66  	}
67  
68  	public String getExternalId() {
69  		return externalId;
70  	}
71  
72  	public void setExternalId(String externalId) {
73  		this.externalId = externalId;
74  	}
75  
76  	public String getNotes() {
77  		return notes;
78  	}
79  
80  	public void setNotes(String notes) {
81  		this.notes = notes;
82  	}
83  
84  	@Override
85  	public int hashCode() {
86  		return HashCodeBuilder.reflectionHashCode(this);
87  	}
88  
89  	@Override
90  	public boolean equals(Object obj) {
91  		if (this == obj) {
92  			return true;
93  		}
94  		if (!(obj instanceof CreateSellerListingRequest)) {
95  			return false;
96  		}
97  		CreateSellerListingRequest rhs = (CreateSellerListingRequest) obj;
98  		return EqualsBuilder.reflectionEquals(this, rhs);
99  	}
100 
101 }