View Javadoc
1   package org.oxerr.stubhub.client.model;
2   
3   import java.math.BigDecimal;
4   import java.time.OffsetDateTime;
5   import java.util.List;
6   
7   public class BulkInventoryCreateRequest {
8   
9   	private String currencyCode;
10  
11  	private BigDecimal unitCost;
12  
13  	private BigDecimal expectedValue;
14  
15  	private BigDecimal taxPaid;
16  
17  	private BigDecimal faceValueCost;
18  
19  	private ApiDeliveryType deliveryType;
20  
21  	private BigDecimal deliveryCost;
22  
23  	private EventRequest event;
24  
25  	private EventMappingRequest eventMapping;
26  
27  	/**
28  	 * Primary Event Id is the event ID from the primary vendor.
29  	 * It is used to map the event quickly.
30  	 */
31  	private String primaryEventId;
32  
33  	/**
34  	 * Given a Sale can consist of tickets purchased at different times,
35  	 * this should be the latest date that all tickets are in hand.
36  	 * This is a seller-provided field and it does not have to coincide
37  	 * with listings or purchase orders.
38  	 */
39  	private OffsetDateTime inHandAt;
40  
41  	/**
42  	 * How the inventory may be split.
43  	 *
44  	 * Allowable values:
45  	 * - Any
46  	 * - None
47  	 * - AvoidOne
48  	 * - AvoidOneAndThree
49  	 * - Pairs
50  	 */
51  	private ApiSplitType splitType;
52  
53  	/**
54  	 * Max display quantity
55  	 */
56  	private Integer maxDisplayQuantity;
57  
58  	private PurchaseSeatingRequest seating;
59  
60  	/**
61  	 * The number of tickets in this set.
62  	 *
63  	 * - For Sale, it would be the same as QuantitySold
64  	 * - but this is the physical number of allocated tickets.
65  	 * - For Listing for PO, it would just mean the number of tickets listed.
66  	 */
67  	private Integer ticketCount;
68  
69  	/**
70  	 * List of Listing Note Request.
71  	 */
72  	private List<ListingNoteRequest> listingNotes;
73  
74  	/**
75  	 * Autobroadcast listings after the purchase order is created.
76  	 */
77  	private Boolean autoBroadcast;
78  
79  	/**
80  	 * Listing internal notes.
81  	 */
82  	private String internalNotes;
83  
84  	/**
85  	 * PreDeliveryState Values:
86  	 * - Yes
87  	 * - No
88  	 * - null
89  	 */
90  	private String preDeliveryState;
91  
92  	/**
93  	 * Unique identifier for the inventory.
94  	 */
95  	private String externalId;
96  
97  	/**
98  	 * Developer specified tags.
99  	 */
100 	private List<TagRequest> tags;
101 
102 	private InventoryAdminHoldRequest adminHold;
103 
104 	private Boolean zoneFill;
105 
106 	private InventoryPricingSettingRequest pricingSetting;
107 
108 	private UpdateListingPricingSettingsRequest autoPricingSettings;
109 
110 	public String getCurrencyCode() {
111 		return currencyCode;
112 	}
113 
114 	public void setCurrencyCode(String currencyCode) {
115 		this.currencyCode = currencyCode;
116 	}
117 
118 	public BigDecimal getUnitCost() {
119 		return unitCost;
120 	}
121 
122 	public void setUnitCost(BigDecimal unitCost) {
123 		this.unitCost = unitCost;
124 	}
125 
126 	public BigDecimal getExpectedValue() {
127 		return expectedValue;
128 	}
129 
130 	public void setExpectedValue(BigDecimal expectedValue) {
131 		this.expectedValue = expectedValue;
132 	}
133 
134 	public BigDecimal getTaxPaid() {
135 		return taxPaid;
136 	}
137 
138 	public void setTaxPaid(BigDecimal taxPaid) {
139 		this.taxPaid = taxPaid;
140 	}
141 
142 	public BigDecimal getFaceValueCost() {
143 		return faceValueCost;
144 	}
145 
146 	public void setFaceValueCost(BigDecimal faceValueCost) {
147 		this.faceValueCost = faceValueCost;
148 	}
149 
150 	public ApiDeliveryType getDeliveryType() {
151 		return deliveryType;
152 	}
153 
154 	public void setDeliveryType(ApiDeliveryType deliveryType) {
155 		this.deliveryType = deliveryType;
156 	}
157 
158 	public BigDecimal getDeliveryCost() {
159 		return deliveryCost;
160 	}
161 
162 	public void setDeliveryCost(BigDecimal deliveryCost) {
163 		this.deliveryCost = deliveryCost;
164 	}
165 
166 	public EventRequest getEvent() {
167 		return event;
168 	}
169 
170 	public void setEvent(EventRequest event) {
171 		this.event = event;
172 	}
173 
174 	public EventMappingRequest getEventMapping() {
175 		return eventMapping;
176 	}
177 
178 	public void setEventMapping(EventMappingRequest eventMapping) {
179 		this.eventMapping = eventMapping;
180 	}
181 
182 	public String getPrimaryEventId() {
183 		return primaryEventId;
184 	}
185 
186 	public void setPrimaryEventId(String primaryEventId) {
187 		this.primaryEventId = primaryEventId;
188 	}
189 
190 	public OffsetDateTime getInHandAt() {
191 		return inHandAt;
192 	}
193 
194 	public void setInHandAt(OffsetDateTime inHandAt) {
195 		this.inHandAt = inHandAt;
196 	}
197 
198 	public ApiSplitType getSplitType() {
199 		return splitType;
200 	}
201 
202 	public void setSplitType(ApiSplitType splitType) {
203 		this.splitType = splitType;
204 	}
205 
206 	public Integer getMaxDisplayQuantity() {
207 		return maxDisplayQuantity;
208 	}
209 
210 	public void setMaxDisplayQuantity(Integer maxDisplayQuantity) {
211 		this.maxDisplayQuantity = maxDisplayQuantity;
212 	}
213 
214 	public PurchaseSeatingRequest getSeating() {
215 		return seating;
216 	}
217 
218 	public void setSeating(PurchaseSeatingRequest seating) {
219 		this.seating = seating;
220 	}
221 
222 	public Integer getTicketCount() {
223 		return ticketCount;
224 	}
225 
226 	public void setTicketCount(Integer ticketCount) {
227 		this.ticketCount = ticketCount;
228 	}
229 
230 	public List<ListingNoteRequest> getListingNotes() {
231 		return listingNotes;
232 	}
233 
234 	public void setListingNotes(List<ListingNoteRequest> listingNotes) {
235 		this.listingNotes = listingNotes;
236 	}
237 
238 	public Boolean getAutoBroadcast() {
239 		return autoBroadcast;
240 	}
241 
242 	public void setAutoBroadcast(Boolean autoBroadcast) {
243 		this.autoBroadcast = autoBroadcast;
244 	}
245 
246 	public String getInternalNotes() {
247 		return internalNotes;
248 	}
249 
250 	public void setInternalNotes(String internalNotes) {
251 		this.internalNotes = internalNotes;
252 	}
253 
254 	public String getPreDeliveryState() {
255 		return preDeliveryState;
256 	}
257 
258 	public void setPreDeliveryState(String preDeliveryState) {
259 		this.preDeliveryState = preDeliveryState;
260 	}
261 
262 	public String getExternalId() {
263 		return externalId;
264 	}
265 
266 	public void setExternalId(String externalId) {
267 		this.externalId = externalId;
268 	}
269 
270 	public List<TagRequest> getTags() {
271 		return tags;
272 	}
273 
274 	public void setTags(List<TagRequest> tags) {
275 		this.tags = tags;
276 	}
277 
278 	public InventoryAdminHoldRequest getAdminHold() {
279 		return adminHold;
280 	}
281 
282 	public void setAdminHold(InventoryAdminHoldRequest adminHold) {
283 		this.adminHold = adminHold;
284 	}
285 
286 	public Boolean getZoneFill() {
287 		return zoneFill;
288 	}
289 
290 	public void setZoneFill(Boolean zoneFill) {
291 		this.zoneFill = zoneFill;
292 	}
293 
294 	public InventoryPricingSettingRequest getPricingSetting() {
295 		return pricingSetting;
296 	}
297 
298 	public void setPricingSetting(InventoryPricingSettingRequest pricingSetting) {
299 		this.pricingSetting = pricingSetting;
300 	}
301 
302 	public UpdateListingPricingSettingsRequest getAutoPricingSettings() {
303 		return autoPricingSettings;
304 	}
305 
306 	public void setAutoPricingSettings(UpdateListingPricingSettingsRequest autoPricingSettings) {
307 		this.autoPricingSettings = autoPricingSettings;
308 	}
309 
310 }