facebook-nodejs-business-sdk
Version:
SDK for the Facebook Ads API in Javascript and Node.js
42 lines (39 loc) • 1.28 kB
JavaScript
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
* @flow
*/
import {AbstractCrudObject} from './../abstract-crud-object';
/**
* AgencyClientDeclaration
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class AgencyClientDeclaration extends AbstractCrudObject {
static get Fields () {
return Object.freeze({
agency_representing_client: 'agency_representing_client',
client_based_in_france: 'client_based_in_france',
client_city: 'client_city',
client_country_code: 'client_country_code',
client_email_address: 'client_email_address',
client_name: 'client_name',
client_postal_code: 'client_postal_code',
client_province: 'client_province',
client_street: 'client_street',
client_street2: 'client_street2',
has_written_mandate_from_advertiser: 'has_written_mandate_from_advertiser',
is_client_paying_invoices: 'is_client_paying_invoices',
id: 'id'
});
}
get (fields, params): AgencyClientDeclaration {
return this.read(
fields,
params
);
}
}