001// Generated by delombok at Thu Aug 13 13:56:44 UTC 2026
002/*
003 * Copyright (c) 2010-2026 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.webhook.messaging;
024
025import java.util.List;
026import com.restfb.Facebook;
027
028public class ElementItem {
029  @Facebook
030  private String title;
031  @Facebook
032  private String subtitle;
033  @Facebook("image_url")
034  private String imageUrl;
035  @Facebook
036  private List<ButtonItem> buttons;
037  @Facebook
038  private Integer quantity;
039  @Facebook
040  private Double price;
041  @Facebook
042  private String currency;
043
044  @java.lang.Override
045  @java.lang.SuppressWarnings("all")
046  @lombok.Generated
047  public java.lang.String toString() {
048    return "ElementItem(title=" + this.getTitle() + ", subtitle=" + this.getSubtitle() + ", imageUrl=" + this.getImageUrl() + ", buttons=" + this.getButtons() + ", quantity=" + this.getQuantity() + ", price=" + this.getPrice() + ", currency=" + this.getCurrency() + ")";
049  }
050
051  @java.lang.SuppressWarnings("all")
052  @lombok.Generated
053  public String getTitle() {
054    return this.title;
055  }
056
057  @java.lang.SuppressWarnings("all")
058  @lombok.Generated
059  public void setTitle(final String title) {
060    this.title = title;
061  }
062
063  @java.lang.SuppressWarnings("all")
064  @lombok.Generated
065  public String getSubtitle() {
066    return this.subtitle;
067  }
068
069  @java.lang.SuppressWarnings("all")
070  @lombok.Generated
071  public void setSubtitle(final String subtitle) {
072    this.subtitle = subtitle;
073  }
074
075  @java.lang.SuppressWarnings("all")
076  @lombok.Generated
077  public String getImageUrl() {
078    return this.imageUrl;
079  }
080
081  @java.lang.SuppressWarnings("all")
082  @lombok.Generated
083  public void setImageUrl(final String imageUrl) {
084    this.imageUrl = imageUrl;
085  }
086
087  @java.lang.SuppressWarnings("all")
088  @lombok.Generated
089  public List<ButtonItem> getButtons() {
090    return this.buttons;
091  }
092
093  @java.lang.SuppressWarnings("all")
094  @lombok.Generated
095  public void setButtons(final List<ButtonItem> buttons) {
096    this.buttons = buttons;
097  }
098
099  @java.lang.SuppressWarnings("all")
100  @lombok.Generated
101  public Integer getQuantity() {
102    return this.quantity;
103  }
104
105  @java.lang.SuppressWarnings("all")
106  @lombok.Generated
107  public void setQuantity(final Integer quantity) {
108    this.quantity = quantity;
109  }
110
111  @java.lang.SuppressWarnings("all")
112  @lombok.Generated
113  public Double getPrice() {
114    return this.price;
115  }
116
117  @java.lang.SuppressWarnings("all")
118  @lombok.Generated
119  public void setPrice(final Double price) {
120    this.price = price;
121  }
122
123  @java.lang.SuppressWarnings("all")
124  @lombok.Generated
125  public String getCurrency() {
126    return this.currency;
127  }
128
129  @java.lang.SuppressWarnings("all")
130  @lombok.Generated
131  public void setCurrency(final String currency) {
132    this.currency = currency;
133  }
134}