001// Generated by delombok at Sun Apr 14 14:59:49 CEST 2024
002/*
003 * Copyright (c) 2010-2024 Mark Allen, Norbert Bartels.
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023package com.restfb.types.ads;
024
025import java.util.ArrayList;
026import java.util.LinkedHashMap;
027import java.util.List;
028import java.util.Map;
029import com.restfb.Facebook;
030
031/**
032 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/reference/product-item/">Product Item
033 * type</a>
034 */
035public class ProductItem extends NamedAdsObject {
036  @Facebook("additional_image_urls")
037  private List<String> additionalImageUrls;
038  @Facebook("age_group")
039  private String ageGroup;
040  @Facebook("applinks")
041  private AppLinks applinks;
042  @Facebook("availability")
043  private String availability;
044  @Facebook("brand")
045  private String brand;
046  @Facebook("category")
047  private String category;
048  @Facebook("color")
049  private String color;
050  @Facebook("commerce_tax_category")
051  private String commerceTaxCategory;
052  @Facebook("commerce_insights")
053  private ProductItemCommerceInsights commerceInsights;
054  @Facebook("condition")
055  private String condition;
056  @Facebook
057  private String currency;
058  @Facebook("custom_data")
059  private Map<String, String> customData = new LinkedHashMap<>();
060  @Facebook("custom_label_0")
061  private String customLabel0;
062  @Facebook("custom_label_1")
063  private String customLabel1;
064  @Facebook("custom_label_2")
065  private String customLabel2;
066  @Facebook("custom_label_3")
067  private String customLabel3;
068  @Facebook("custom_label_4")
069  private String customLabel4;
070  @Facebook("description")
071  private String description;
072  @Facebook("expiration_date")
073  private String expirationDate;
074  @Facebook("fb_product_category")
075  private String fbProductCategory;
076  @Facebook("google_product_category")
077  private String googleProductCategory;
078  @Facebook("gender")
079  private String gender;
080  @Facebook("gtin")
081  private String gtin;
082  @Facebook("image_fetch_status")
083  private String imageFetchStatus;
084  @Facebook("image_url")
085  private String imageUrl;
086  @Facebook
087  private List<String> images = new ArrayList<>();
088  @Facebook
089  private Integer inventory;
090  @Facebook("manufacturer_part_number")
091  private String manufacturerPartNumber;
092  @Facebook("material")
093  private String material;
094  @Facebook("mobile_link")
095  private String mobileLink;
096  @Facebook("ordering_index")
097  private Long orderingIndex;
098  @Facebook("parent_product_id")
099  private String parentProductId;
100  @Facebook("pattern")
101  private String pattern;
102  @Facebook("price")
103  private String price;
104  @Facebook("product_catalog")
105  private ProductCatalog productCatalog;
106  @Facebook("product_feed")
107  private ProductFeed productFeed;
108  @Facebook("product_group")
109  private ProductGroup productGroup;
110  @Facebook("product_type")
111  private String productType;
112  @Facebook("retailer_id")
113  private String retailerId;
114  @Facebook("retailer_product_group_id")
115  private String retailerProductGroupId;
116  @Facebook("review_rejection_reasons")
117  private List<String> reviewRejectionReasons;
118  @Facebook("review_status")
119  private String reviewStatus;
120  @Facebook("sale_price")
121  private String salePrice;
122  @Facebook("sale_price_end_date")
123  private String salePriceEndDate;
124  @Facebook("sale_price_start_date")
125  private String salePriceStartDate;
126  @Facebook("shipping_weight_unit")
127  private String shippingWeightUnit;
128  @Facebook("shipping_weight_value")
129  private Double shippingWeightValue;
130  @Facebook("short_description")
131  private String shortDescription;
132  @Facebook("size")
133  private String size;
134  @Facebook("start_date")
135  private String startDate;
136  @Facebook("url")
137  private String url;
138  @Facebook("visibility")
139  private String visibility;
140
141  @java.lang.SuppressWarnings("all")
142  public List<String> getAdditionalImageUrls() {
143    return this.additionalImageUrls;
144  }
145
146  @java.lang.SuppressWarnings("all")
147  public void setAdditionalImageUrls(final List<String> additionalImageUrls) {
148    this.additionalImageUrls = additionalImageUrls;
149  }
150
151  @java.lang.SuppressWarnings("all")
152  public String getAgeGroup() {
153    return this.ageGroup;
154  }
155
156  @java.lang.SuppressWarnings("all")
157  public void setAgeGroup(final String ageGroup) {
158    this.ageGroup = ageGroup;
159  }
160
161  @java.lang.SuppressWarnings("all")
162  public AppLinks getApplinks() {
163    return this.applinks;
164  }
165
166  @java.lang.SuppressWarnings("all")
167  public void setApplinks(final AppLinks applinks) {
168    this.applinks = applinks;
169  }
170
171  @java.lang.SuppressWarnings("all")
172  public String getAvailability() {
173    return this.availability;
174  }
175
176  @java.lang.SuppressWarnings("all")
177  public void setAvailability(final String availability) {
178    this.availability = availability;
179  }
180
181  @java.lang.SuppressWarnings("all")
182  public String getBrand() {
183    return this.brand;
184  }
185
186  @java.lang.SuppressWarnings("all")
187  public void setBrand(final String brand) {
188    this.brand = brand;
189  }
190
191  @java.lang.SuppressWarnings("all")
192  public String getCategory() {
193    return this.category;
194  }
195
196  @java.lang.SuppressWarnings("all")
197  public void setCategory(final String category) {
198    this.category = category;
199  }
200
201  @java.lang.SuppressWarnings("all")
202  public String getColor() {
203    return this.color;
204  }
205
206  @java.lang.SuppressWarnings("all")
207  public void setColor(final String color) {
208    this.color = color;
209  }
210
211  @java.lang.SuppressWarnings("all")
212  public String getCommerceTaxCategory() {
213    return this.commerceTaxCategory;
214  }
215
216  @java.lang.SuppressWarnings("all")
217  public void setCommerceTaxCategory(final String commerceTaxCategory) {
218    this.commerceTaxCategory = commerceTaxCategory;
219  }
220
221  @java.lang.SuppressWarnings("all")
222  public ProductItemCommerceInsights getCommerceInsights() {
223    return this.commerceInsights;
224  }
225
226  @java.lang.SuppressWarnings("all")
227  public void setCommerceInsights(final ProductItemCommerceInsights commerceInsights) {
228    this.commerceInsights = commerceInsights;
229  }
230
231  @java.lang.SuppressWarnings("all")
232  public String getCondition() {
233    return this.condition;
234  }
235
236  @java.lang.SuppressWarnings("all")
237  public void setCondition(final String condition) {
238    this.condition = condition;
239  }
240
241  @java.lang.SuppressWarnings("all")
242  public String getCurrency() {
243    return this.currency;
244  }
245
246  @java.lang.SuppressWarnings("all")
247  public void setCurrency(final String currency) {
248    this.currency = currency;
249  }
250
251  @java.lang.SuppressWarnings("all")
252  public Map<String, String> getCustomData() {
253    return this.customData;
254  }
255
256  @java.lang.SuppressWarnings("all")
257  public void setCustomData(final Map<String, String> customData) {
258    this.customData = customData;
259  }
260
261  @java.lang.SuppressWarnings("all")
262  public String getCustomLabel0() {
263    return this.customLabel0;
264  }
265
266  @java.lang.SuppressWarnings("all")
267  public void setCustomLabel0(final String customLabel0) {
268    this.customLabel0 = customLabel0;
269  }
270
271  @java.lang.SuppressWarnings("all")
272  public String getCustomLabel1() {
273    return this.customLabel1;
274  }
275
276  @java.lang.SuppressWarnings("all")
277  public void setCustomLabel1(final String customLabel1) {
278    this.customLabel1 = customLabel1;
279  }
280
281  @java.lang.SuppressWarnings("all")
282  public String getCustomLabel2() {
283    return this.customLabel2;
284  }
285
286  @java.lang.SuppressWarnings("all")
287  public void setCustomLabel2(final String customLabel2) {
288    this.customLabel2 = customLabel2;
289  }
290
291  @java.lang.SuppressWarnings("all")
292  public String getCustomLabel3() {
293    return this.customLabel3;
294  }
295
296  @java.lang.SuppressWarnings("all")
297  public void setCustomLabel3(final String customLabel3) {
298    this.customLabel3 = customLabel3;
299  }
300
301  @java.lang.SuppressWarnings("all")
302  public String getCustomLabel4() {
303    return this.customLabel4;
304  }
305
306  @java.lang.SuppressWarnings("all")
307  public void setCustomLabel4(final String customLabel4) {
308    this.customLabel4 = customLabel4;
309  }
310
311  @java.lang.SuppressWarnings("all")
312  public String getDescription() {
313    return this.description;
314  }
315
316  @java.lang.SuppressWarnings("all")
317  public void setDescription(final String description) {
318    this.description = description;
319  }
320
321  @java.lang.SuppressWarnings("all")
322  public String getExpirationDate() {
323    return this.expirationDate;
324  }
325
326  @java.lang.SuppressWarnings("all")
327  public void setExpirationDate(final String expirationDate) {
328    this.expirationDate = expirationDate;
329  }
330
331  @java.lang.SuppressWarnings("all")
332  public String getFbProductCategory() {
333    return this.fbProductCategory;
334  }
335
336  @java.lang.SuppressWarnings("all")
337  public void setFbProductCategory(final String fbProductCategory) {
338    this.fbProductCategory = fbProductCategory;
339  }
340
341  @java.lang.SuppressWarnings("all")
342  public String getGoogleProductCategory() {
343    return this.googleProductCategory;
344  }
345
346  @java.lang.SuppressWarnings("all")
347  public void setGoogleProductCategory(final String googleProductCategory) {
348    this.googleProductCategory = googleProductCategory;
349  }
350
351  @java.lang.SuppressWarnings("all")
352  public String getGender() {
353    return this.gender;
354  }
355
356  @java.lang.SuppressWarnings("all")
357  public void setGender(final String gender) {
358    this.gender = gender;
359  }
360
361  @java.lang.SuppressWarnings("all")
362  public String getGtin() {
363    return this.gtin;
364  }
365
366  @java.lang.SuppressWarnings("all")
367  public void setGtin(final String gtin) {
368    this.gtin = gtin;
369  }
370
371  @java.lang.SuppressWarnings("all")
372  public String getImageFetchStatus() {
373    return this.imageFetchStatus;
374  }
375
376  @java.lang.SuppressWarnings("all")
377  public void setImageFetchStatus(final String imageFetchStatus) {
378    this.imageFetchStatus = imageFetchStatus;
379  }
380
381  @java.lang.SuppressWarnings("all")
382  public String getImageUrl() {
383    return this.imageUrl;
384  }
385
386  @java.lang.SuppressWarnings("all")
387  public void setImageUrl(final String imageUrl) {
388    this.imageUrl = imageUrl;
389  }
390
391  @java.lang.SuppressWarnings("all")
392  public List<String> getImages() {
393    return this.images;
394  }
395
396  @java.lang.SuppressWarnings("all")
397  public void setImages(final List<String> images) {
398    this.images = images;
399  }
400
401  @java.lang.SuppressWarnings("all")
402  public Integer getInventory() {
403    return this.inventory;
404  }
405
406  @java.lang.SuppressWarnings("all")
407  public void setInventory(final Integer inventory) {
408    this.inventory = inventory;
409  }
410
411  @java.lang.SuppressWarnings("all")
412  public String getManufacturerPartNumber() {
413    return this.manufacturerPartNumber;
414  }
415
416  @java.lang.SuppressWarnings("all")
417  public void setManufacturerPartNumber(final String manufacturerPartNumber) {
418    this.manufacturerPartNumber = manufacturerPartNumber;
419  }
420
421  @java.lang.SuppressWarnings("all")
422  public String getMaterial() {
423    return this.material;
424  }
425
426  @java.lang.SuppressWarnings("all")
427  public void setMaterial(final String material) {
428    this.material = material;
429  }
430
431  @java.lang.SuppressWarnings("all")
432  public String getMobileLink() {
433    return this.mobileLink;
434  }
435
436  @java.lang.SuppressWarnings("all")
437  public void setMobileLink(final String mobileLink) {
438    this.mobileLink = mobileLink;
439  }
440
441  @java.lang.SuppressWarnings("all")
442  public Long getOrderingIndex() {
443    return this.orderingIndex;
444  }
445
446  @java.lang.SuppressWarnings("all")
447  public void setOrderingIndex(final Long orderingIndex) {
448    this.orderingIndex = orderingIndex;
449  }
450
451  @java.lang.SuppressWarnings("all")
452  public String getParentProductId() {
453    return this.parentProductId;
454  }
455
456  @java.lang.SuppressWarnings("all")
457  public void setParentProductId(final String parentProductId) {
458    this.parentProductId = parentProductId;
459  }
460
461  @java.lang.SuppressWarnings("all")
462  public String getPattern() {
463    return this.pattern;
464  }
465
466  @java.lang.SuppressWarnings("all")
467  public void setPattern(final String pattern) {
468    this.pattern = pattern;
469  }
470
471  @java.lang.SuppressWarnings("all")
472  public String getPrice() {
473    return this.price;
474  }
475
476  @java.lang.SuppressWarnings("all")
477  public void setPrice(final String price) {
478    this.price = price;
479  }
480
481  @java.lang.SuppressWarnings("all")
482  public ProductCatalog getProductCatalog() {
483    return this.productCatalog;
484  }
485
486  @java.lang.SuppressWarnings("all")
487  public void setProductCatalog(final ProductCatalog productCatalog) {
488    this.productCatalog = productCatalog;
489  }
490
491  @java.lang.SuppressWarnings("all")
492  public ProductFeed getProductFeed() {
493    return this.productFeed;
494  }
495
496  @java.lang.SuppressWarnings("all")
497  public void setProductFeed(final ProductFeed productFeed) {
498    this.productFeed = productFeed;
499  }
500
501  @java.lang.SuppressWarnings("all")
502  public ProductGroup getProductGroup() {
503    return this.productGroup;
504  }
505
506  @java.lang.SuppressWarnings("all")
507  public void setProductGroup(final ProductGroup productGroup) {
508    this.productGroup = productGroup;
509  }
510
511  @java.lang.SuppressWarnings("all")
512  public String getProductType() {
513    return this.productType;
514  }
515
516  @java.lang.SuppressWarnings("all")
517  public void setProductType(final String productType) {
518    this.productType = productType;
519  }
520
521  @java.lang.SuppressWarnings("all")
522  public String getRetailerId() {
523    return this.retailerId;
524  }
525
526  @java.lang.SuppressWarnings("all")
527  public void setRetailerId(final String retailerId) {
528    this.retailerId = retailerId;
529  }
530
531  @java.lang.SuppressWarnings("all")
532  public String getRetailerProductGroupId() {
533    return this.retailerProductGroupId;
534  }
535
536  @java.lang.SuppressWarnings("all")
537  public void setRetailerProductGroupId(final String retailerProductGroupId) {
538    this.retailerProductGroupId = retailerProductGroupId;
539  }
540
541  @java.lang.SuppressWarnings("all")
542  public List<String> getReviewRejectionReasons() {
543    return this.reviewRejectionReasons;
544  }
545
546  @java.lang.SuppressWarnings("all")
547  public void setReviewRejectionReasons(final List<String> reviewRejectionReasons) {
548    this.reviewRejectionReasons = reviewRejectionReasons;
549  }
550
551  @java.lang.SuppressWarnings("all")
552  public String getReviewStatus() {
553    return this.reviewStatus;
554  }
555
556  @java.lang.SuppressWarnings("all")
557  public void setReviewStatus(final String reviewStatus) {
558    this.reviewStatus = reviewStatus;
559  }
560
561  @java.lang.SuppressWarnings("all")
562  public String getSalePrice() {
563    return this.salePrice;
564  }
565
566  @java.lang.SuppressWarnings("all")
567  public void setSalePrice(final String salePrice) {
568    this.salePrice = salePrice;
569  }
570
571  @java.lang.SuppressWarnings("all")
572  public String getSalePriceEndDate() {
573    return this.salePriceEndDate;
574  }
575
576  @java.lang.SuppressWarnings("all")
577  public void setSalePriceEndDate(final String salePriceEndDate) {
578    this.salePriceEndDate = salePriceEndDate;
579  }
580
581  @java.lang.SuppressWarnings("all")
582  public String getSalePriceStartDate() {
583    return this.salePriceStartDate;
584  }
585
586  @java.lang.SuppressWarnings("all")
587  public void setSalePriceStartDate(final String salePriceStartDate) {
588    this.salePriceStartDate = salePriceStartDate;
589  }
590
591  @java.lang.SuppressWarnings("all")
592  public String getShippingWeightUnit() {
593    return this.shippingWeightUnit;
594  }
595
596  @java.lang.SuppressWarnings("all")
597  public void setShippingWeightUnit(final String shippingWeightUnit) {
598    this.shippingWeightUnit = shippingWeightUnit;
599  }
600
601  @java.lang.SuppressWarnings("all")
602  public Double getShippingWeightValue() {
603    return this.shippingWeightValue;
604  }
605
606  @java.lang.SuppressWarnings("all")
607  public void setShippingWeightValue(final Double shippingWeightValue) {
608    this.shippingWeightValue = shippingWeightValue;
609  }
610
611  @java.lang.SuppressWarnings("all")
612  public String getShortDescription() {
613    return this.shortDescription;
614  }
615
616  @java.lang.SuppressWarnings("all")
617  public void setShortDescription(final String shortDescription) {
618    this.shortDescription = shortDescription;
619  }
620
621  @java.lang.SuppressWarnings("all")
622  public String getSize() {
623    return this.size;
624  }
625
626  @java.lang.SuppressWarnings("all")
627  public void setSize(final String size) {
628    this.size = size;
629  }
630
631  @java.lang.SuppressWarnings("all")
632  public String getStartDate() {
633    return this.startDate;
634  }
635
636  @java.lang.SuppressWarnings("all")
637  public void setStartDate(final String startDate) {
638    this.startDate = startDate;
639  }
640
641  @java.lang.SuppressWarnings("all")
642  public String getUrl() {
643    return this.url;
644  }
645
646  @java.lang.SuppressWarnings("all")
647  public void setUrl(final String url) {
648    this.url = url;
649  }
650
651  @java.lang.SuppressWarnings("all")
652  public String getVisibility() {
653    return this.visibility;
654  }
655
656  @java.lang.SuppressWarnings("all")
657  public void setVisibility(final String visibility) {
658    this.visibility = visibility;
659  }
660}