001// Generated by delombok at Fri Oct 04 16:05:59 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 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  public Integer getAgencyRepresentingClient() {
102    return this.agencyRepresentingClient;
103  }
104
105  /**
106   * Whether this account is for an agency representing a client.
107   */
108  @java.lang.SuppressWarnings("all")
109  public void setAgencyRepresentingClient(final Integer agencyRepresentingClient) {
110    this.agencyRepresentingClient = agencyRepresentingClient;
111  }
112
113  /**
114   * Whether the client is based in France.
115   *
116   * @return Whether the client is based in France
117   */
118  @java.lang.SuppressWarnings("all")
119  public Integer getClientBasedInFrance() {
120    return this.clientBasedInFrance;
121  }
122
123  /**
124   * Whether the client is based in France.
125   */
126  @java.lang.SuppressWarnings("all")
127  public void setClientBasedInFrance(final Integer clientBasedInFrance) {
128    this.clientBasedInFrance = clientBasedInFrance;
129  }
130
131  /**
132   * Client's city.
133   *
134   * @return Client's city
135   */
136  @java.lang.SuppressWarnings("all")
137  public String getClientCity() {
138    return this.clientCity;
139  }
140
141  /**
142   * Client's city.
143   */
144  @java.lang.SuppressWarnings("all")
145  public void setClientCity(final String clientCity) {
146    this.clientCity = clientCity;
147  }
148
149  /**
150   * Client's country code.
151   *
152   * @return Client's country code
153   */
154  @java.lang.SuppressWarnings("all")
155  public String getClientCountryCode() {
156    return this.clientCountryCode;
157  }
158
159  /**
160   * Client's country code.
161   */
162  @java.lang.SuppressWarnings("all")
163  public void setClientCountryCode(final String clientCountryCode) {
164    this.clientCountryCode = clientCountryCode;
165  }
166
167  /**
168   * Client's email address.
169   *
170   * @return Client's email address
171   */
172  @java.lang.SuppressWarnings("all")
173  public String getClientEmailAddress() {
174    return this.clientEmailAddress;
175  }
176
177  /**
178   * Client's email address.
179   */
180  @java.lang.SuppressWarnings("all")
181  public void setClientEmailAddress(final String clientEmailAddress) {
182    this.clientEmailAddress = clientEmailAddress;
183  }
184
185  /**
186   * Name of the client.
187   *
188   * @return Name of the client
189   */
190  @java.lang.SuppressWarnings("all")
191  public String getClientName() {
192    return this.clientName;
193  }
194
195  /**
196   * Name of the client.
197   */
198  @java.lang.SuppressWarnings("all")
199  public void setClientName(final String clientName) {
200    this.clientName = clientName;
201  }
202
203  /**
204   * Client's postal code.
205   *
206   * @return Client's postal code
207   */
208  @java.lang.SuppressWarnings("all")
209  public String getClientPostalCode() {
210    return this.clientPostalCode;
211  }
212
213  /**
214   * Client's postal code.
215   */
216  @java.lang.SuppressWarnings("all")
217  public void setClientPostalCode(final String clientPostalCode) {
218    this.clientPostalCode = clientPostalCode;
219  }
220
221  /**
222   * Client's province.
223   *
224   * @return Client's province
225   */
226  @java.lang.SuppressWarnings("all")
227  public String getClientProvince() {
228    return this.clientProvince;
229  }
230
231  /**
232   * Client's province.
233   */
234  @java.lang.SuppressWarnings("all")
235  public void setClientProvince(final String clientProvince) {
236    this.clientProvince = clientProvince;
237  }
238
239  /**
240   * First line of client's street address.
241   *
242   * @return First line of client's street address
243   */
244  @java.lang.SuppressWarnings("all")
245  public String getClientStreet() {
246    return this.clientStreet;
247  }
248
249  /**
250   * First line of client's street address.
251   */
252  @java.lang.SuppressWarnings("all")
253  public void setClientStreet(final String clientStreet) {
254    this.clientStreet = clientStreet;
255  }
256
257  /**
258   * Second line of client's street address.
259   *
260   * @return Second line of client's street address
261   */
262  @java.lang.SuppressWarnings("all")
263  public String getClientStreet2() {
264    return this.clientStreet2;
265  }
266
267  /**
268   * Second line of client's street address.
269   */
270  @java.lang.SuppressWarnings("all")
271  public void setClientStreet2(final String clientStreet2) {
272    this.clientStreet2 = clientStreet2;
273  }
274
275  /**
276   * Whether the agency has a written mandate to advertise on behalf of this client.
277   *
278   * @return Whether the agency has a written mandate to advertise on behalf of this client
279   */
280  @java.lang.SuppressWarnings("all")
281  public Integer getHasWrittenMandateFromAdvertiser() {
282    return this.hasWrittenMandateFromAdvertiser;
283  }
284
285  /**
286   * Whether the agency has a written mandate to advertise on behalf of this client.
287   */
288  @java.lang.SuppressWarnings("all")
289  public void setHasWrittenMandateFromAdvertiser(final Integer hasWrittenMandateFromAdvertiser) {
290    this.hasWrittenMandateFromAdvertiser = hasWrittenMandateFromAdvertiser;
291  }
292
293  /**
294   * Whether the client is paying via invoice.
295   *
296   * @return Whether the client is paying via invoice
297   */
298  @java.lang.SuppressWarnings("all")
299  public Integer getIsClientPayingInvoices() {
300    return this.isClientPayingInvoices;
301  }
302
303  /**
304   * Whether the client is paying via invoice.
305   */
306  @java.lang.SuppressWarnings("all")
307  public void setIsClientPayingInvoices(final Integer isClientPayingInvoices) {
308    this.isClientPayingInvoices = isClientPayingInvoices;
309  }
310}