001// Generated by delombok at Thu Aug 13 13:56:43 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.ads;
024
025import com.restfb.Facebook;
026import com.restfb.types.FacebookType;
027
028/**
029 * Represents the <a href="https://developers.facebook.com/docs/marketing-api/reference/ad-account/">Funding Source
030 * Details type</a>.
031 */
032public class FundingSourceDetails extends FacebookType {
033  private static final long serialVersionUID = 1L;
034  /**
035   * Details of the Facebook Ads Coupon from the payment method
036   */
037  @Facebook
038  private FundingSourceDetailsCoupon coupon;
039  /**
040   * Amount of Facebook Ads Coupon
041   */
042  @Facebook
043  private String amount;
044  /**
045   * Currency of the Facebook Ads Coupon
046   */
047  @Facebook
048  private String currency;
049  /**
050   * How the amount of Facebook Ads Coupon is displayed
051   */
052  @Facebook("display_amount")
053  private String displayAmount;
054  /**
055   * When the coupon will expire
056   */
057  @Facebook
058  private String expiration;
059  /**
060   * How the payment method is shown
061   */
062  @Facebook("display_string")
063  private String displayString;
064
065  /**
066   * Details of the Facebook Ads Coupon from the payment method
067   */
068  @java.lang.SuppressWarnings("all")
069  @lombok.Generated
070  public FundingSourceDetailsCoupon getCoupon() {
071    return this.coupon;
072  }
073
074  /**
075   * Details of the Facebook Ads Coupon from the payment method
076   */
077  @java.lang.SuppressWarnings("all")
078  @lombok.Generated
079  public void setCoupon(final FundingSourceDetailsCoupon coupon) {
080    this.coupon = coupon;
081  }
082
083  /**
084   * Amount of Facebook Ads Coupon
085   */
086  @java.lang.SuppressWarnings("all")
087  @lombok.Generated
088  public String getAmount() {
089    return this.amount;
090  }
091
092  /**
093   * Amount of Facebook Ads Coupon
094   */
095  @java.lang.SuppressWarnings("all")
096  @lombok.Generated
097  public void setAmount(final String amount) {
098    this.amount = amount;
099  }
100
101  /**
102   * Currency of the Facebook Ads Coupon
103   */
104  @java.lang.SuppressWarnings("all")
105  @lombok.Generated
106  public String getCurrency() {
107    return this.currency;
108  }
109
110  /**
111   * Currency of the Facebook Ads Coupon
112   */
113  @java.lang.SuppressWarnings("all")
114  @lombok.Generated
115  public void setCurrency(final String currency) {
116    this.currency = currency;
117  }
118
119  /**
120   * How the amount of Facebook Ads Coupon is displayed
121   */
122  @java.lang.SuppressWarnings("all")
123  @lombok.Generated
124  public String getDisplayAmount() {
125    return this.displayAmount;
126  }
127
128  /**
129   * How the amount of Facebook Ads Coupon is displayed
130   */
131  @java.lang.SuppressWarnings("all")
132  @lombok.Generated
133  public void setDisplayAmount(final String displayAmount) {
134    this.displayAmount = displayAmount;
135  }
136
137  /**
138   * When the coupon will expire
139   */
140  @java.lang.SuppressWarnings("all")
141  @lombok.Generated
142  public String getExpiration() {
143    return this.expiration;
144  }
145
146  /**
147   * When the coupon will expire
148   */
149  @java.lang.SuppressWarnings("all")
150  @lombok.Generated
151  public void setExpiration(final String expiration) {
152    this.expiration = expiration;
153  }
154
155  /**
156   * How the payment method is shown
157   */
158  @java.lang.SuppressWarnings("all")
159  @lombok.Generated
160  public String getDisplayString() {
161    return this.displayString;
162  }
163
164  /**
165   * How the payment method is shown
166   */
167  @java.lang.SuppressWarnings("all")
168  @lombok.Generated
169  public void setDisplayString(final String displayString) {
170    this.displayString = displayString;
171  }
172}