View Javadoc
1   package org.oxerr.viagogo.model.topic;
2   
3   import java.io.Serializable;
4   import java.util.List;
5   
6   import org.oxerr.viagogo.model.BarcodeInformation;
7   import org.oxerr.viagogo.model.response.catalog.Event;
8   import org.oxerr.viagogo.model.response.catalog.Venue;
9   import org.oxerr.viagogo.model.response.inventory.SellerListing;
10  import org.oxerr.viagogo.model.response.sale.Sale;
11  
12  import io.openapitools.jackson.dataformat.hal.annotation.EmbeddedResource;
13  import io.openapitools.jackson.dataformat.hal.annotation.Resource;
14  
15  /**
16   * <a href="https://developer.viagogo.net/api-reference/webhooks#tag/Topics/paths/sales/post">
17   * Sales(Webhook)
18   * </a>
19   */
20  @Resource
21  public class SalesTopic implements Serializable {
22  
23  	private static final long serialVersionUID = 2023080601L;
24  
25  	private List<BarcodeInformation> barcodes;
26  
27  	private String topic;
28  
29  	private String action;
30  
31  	@EmbeddedResource
32  	private Event event;
33  
34  	@EmbeddedResource
35  	private Sale sale;
36  
37  	@EmbeddedResource
38  	private SellerListing sellerListing;
39  
40  	@EmbeddedResource
41  	private Venue venue;
42  
43  	public List<BarcodeInformation> getBarcodes() {
44  		return barcodes;
45  	}
46  
47  	public void setBarcodes(List<BarcodeInformation> barcodes) {
48  		this.barcodes = barcodes;
49  	}
50  
51  	public String getTopic() {
52  		return topic;
53  	}
54  
55  	public void setTopic(String topic) {
56  		this.topic = topic;
57  	}
58  
59  	public String getAction() {
60  		return action;
61  	}
62  
63  	public void setAction(String action) {
64  		this.action = action;
65  	}
66  
67  	public Event getEvent() {
68  		return event;
69  	}
70  
71  	public void setEvent(Event event) {
72  		this.event = event;
73  	}
74  
75  	public Sale getSale() {
76  		return sale;
77  	}
78  
79  	public void setSale(Sale sale) {
80  		this.sale = sale;
81  	}
82  
83  	public SellerListing getSellerListing() {
84  		return sellerListing;
85  	}
86  
87  	public void setSellerListing(SellerListing sellerListing) {
88  		this.sellerListing = sellerListing;
89  	}
90  
91  	public Venue getVenue() {
92  		return venue;
93  	}
94  
95  	public void setVenue(Venue venue) {
96  		this.venue = venue;
97  	}
98  
99  }