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.AbstractFacebookType;
027
028/**
029 * Represents the
030 * <a href="https://developers.facebook.com/docs/marketing-api/reference/ad-account/agency-client-declaration/">Agency
031 * Client Declaration type</a>.
032 */
033public class AgencyClientDeclaration extends AbstractFacebookType {
034  /**
035   * Whether this account is for an agency representing a client.
036   */
037  @Facebook("agency_representing_client")
038  private Integer agencyRepresentingClient;
039  /**
040   * Whether the client is based in France.
041   */
042  @Facebook("client_based_in_france")
043  private Integer clientBasedInFrance;
044  /**
045   * Client's city.
046   */
047  @Facebook("client_city")
048  private String clientCity;
049  /**
050   * Client's country code.
051   */
052  @Facebook("client_country_code")
053  private String clientCountryCode;
054  /**
055   * Client's email address.
056   */
057  @Facebook("client_email_address")
058  private String clientEmailAddress;
059  /**
060   * Name of the client.
061   */
062  @Facebook("client_name")
063  private String clientName;
064  /**
065   * Client's postal code.
066   */
067  @Facebook("client_postal_code")
068  private String clientPostalCode;
069  /**
070   * Client's province.
071   */
072  @Facebook("client_province")
073  private String clientProvince;
074  /**
075   * First line of client's street address.
076   */
077  @Facebook("client_street")
078  private String clientStreet;
079  /**
080   * Second line of client's street address.
081   */
082  @Facebook("client_street2")
083  private String clientStreet2;
084  /**
085   * Whether the agency has a written mandate to advertise on behalf of this client.
086   */
087  @Facebook("has_written_mandate_from_advertiser")
088  private Integer hasWrittenMandateFromAdvertiser;
089  /**
090   * Whether the client is paying via invoice.
091   */
092  @Facebook("is_client_paying_invoices")
093  private Integer isClientPayingInvoices;
094
095  /**
096   * Whether this account is for an agency representing a client.
097   *
098   * @return Whether this account is for an agency representing a client
099   */
100  @java.lang.SuppressWarnings("all")
101  @lombok.Generated
102  public Integer getAgencyRepresentingClient() {
103    return this.agencyRepresentingClient;
104  }
105
106  /**
107   * Whether this account is for an agency representing a client.
108   */
109  @java.lang.SuppressWarnings("all")
110  @lombok.Generated
111  public void setAgencyRepresentingClient(final Integer agencyRepresentingClient) {
112    this.agencyRepresentingClient = agencyRepresentingClient;
113  }
114
115  /**
116   * Whether the client is based in France.
117   *
118   * @return Whether the client is based in France
119   */
120  @java.lang.SuppressWarnings("all")
121  @lombok.Generated
122  public Integer getClientBasedInFrance() {
123    return this.clientBasedInFrance;
124  }
125
126  /**
127   * Whether the client is based in France.
128   */
129  @java.lang.SuppressWarnings("all")
130  @lombok.Generated
131  public void setClientBasedInFrance(final Integer clientBasedInFrance) {
132    this.clientBasedInFrance = clientBasedInFrance;
133  }
134
135  /**
136   * Client's city.
137   *
138   * @return Client's city
139   */
140  @java.lang.SuppressWarnings("all")
141  @lombok.Generated
142  public String getClientCity() {
143    return this.clientCity;
144  }
145
146  /**
147   * Client's city.
148   */
149  @java.lang.SuppressWarnings("all")
150  @lombok.Generated
151  public void setClientCity(final String clientCity) {
152    this.clientCity = clientCity;
153  }
154
155  /**
156   * Client's country code.
157   *
158   * @return Client's country code
159   */
160  @java.lang.SuppressWarnings("all")
161  @lombok.Generated
162  public String getClientCountryCode() {
163    return this.clientCountryCode;
164  }
165
166  /**
167   * Client's country code.
168   */
169  @java.lang.SuppressWarnings("all")
170  @lombok.Generated
171  public void setClientCountryCode(final String clientCountryCode) {
172    this.clientCountryCode = clientCountryCode;
173  }
174
175  /**
176   * Client's email address.
177   *
178   * @return Client's email address
179   */
180  @java.lang.SuppressWarnings("all")
181  @lombok.Generated
182  public String getClientEmailAddress() {
183    return this.clientEmailAddress;
184  }
185
186  /**
187   * Client's email address.
188   */
189  @java.lang.SuppressWarnings("all")
190  @lombok.Generated
191  public void setClientEmailAddress(final String clientEmailAddress) {
192    this.clientEmailAddress = clientEmailAddress;
193  }
194
195  /**
196   * Name of the client.
197   *
198   * @return Name of the client
199   */
200  @java.lang.SuppressWarnings("all")
201  @lombok.Generated
202  public String getClientName() {
203    return this.clientName;
204  }
205
206  /**
207   * Name of the client.
208   */
209  @java.lang.SuppressWarnings("all")
210  @lombok.Generated
211  public void setClientName(final String clientName) {
212    this.clientName = clientName;
213  }
214
215  /**
216   * Client's postal code.
217   *
218   * @return Client's postal code
219   */
220  @java.lang.SuppressWarnings("all")
221  @lombok.Generated
222  public String getClientPostalCode() {
223    return this.clientPostalCode;
224  }
225
226  /**
227   * Client's postal code.
228   */
229  @java.lang.SuppressWarnings("all")
230  @lombok.Generated
231  public void setClientPostalCode(final String clientPostalCode) {
232    this.clientPostalCode = clientPostalCode;
233  }
234
235  /**
236   * Client's province.
237   *
238   * @return Client's province
239   */
240  @java.lang.SuppressWarnings("all")
241  @lombok.Generated
242  public String getClientProvince() {
243    return this.clientProvince;
244  }
245
246  /**
247   * Client's province.
248   */
249  @java.lang.SuppressWarnings("all")
250  @lombok.Generated
251  public void setClientProvince(final String clientProvince) {
252    this.clientProvince = clientProvince;
253  }
254
255  /**
256   * First line of client's street address.
257   *
258   * @return First line of client's street address
259   */
260  @java.lang.SuppressWarnings("all")
261  @lombok.Generated
262  public String getClientStreet() {
263    return this.clientStreet;
264  }
265
266  /**
267   * First line of client's street address.
268   */
269  @java.lang.SuppressWarnings("all")
270  @lombok.Generated
271  public void setClientStreet(final String clientStreet) {
272    this.clientStreet = clientStreet;
273  }
274
275  /**
276   * Second line of client's street address.
277   *
278   * @return Second line of client's street address
279   */
280  @java.lang.SuppressWarnings("all")
281  @lombok.Generated
282  public String getClientStreet2() {
283    return this.clientStreet2;
284  }
285
286  /**
287   * Second line of client's street address.
288   */
289  @java.lang.SuppressWarnings("all")
290  @lombok.Generated
291  public void setClientStreet2(final String clientStreet2) {
292    this.clientStreet2 = clientStreet2;
293  }
294
295  /**
296   * Whether the agency has a written mandate to advertise on behalf of this client.
297   *
298   * @return Whether the agency has a written mandate to advertise on behalf of this client
299   */
300  @java.lang.SuppressWarnings("all")
301  @lombok.Generated
302  public Integer getHasWrittenMandateFromAdvertiser() {
303    return this.hasWrittenMandateFromAdvertiser;
304  }
305
306  /**
307   * Whether the agency has a written mandate to advertise on behalf of this client.
308   */
309  @java.lang.SuppressWarnings("all")
310  @lombok.Generated
311  public void setHasWrittenMandateFromAdvertiser(final Integer hasWrittenMandateFromAdvertiser) {
312    this.hasWrittenMandateFromAdvertiser = hasWrittenMandateFromAdvertiser;
313  }
314
315  /**
316   * Whether the client is paying via invoice.
317   *
318   * @return Whether the client is paying via invoice
319   */
320  @java.lang.SuppressWarnings("all")
321  @lombok.Generated
322  public Integer getIsClientPayingInvoices() {
323    return this.isClientPayingInvoices;
324  }
325
326  /**
327   * Whether the client is paying via invoice.
328   */
329  @java.lang.SuppressWarnings("all")
330  @lombok.Generated
331  public void setIsClientPayingInvoices(final Integer isClientPayingInvoices) {
332    this.isClientPayingInvoices = isClientPayingInvoices;
333  }
334}