facebook-nodejs-business-sdk
Version:
SDK for the Facebook Ads API in Javascript and Node.js
35 lines (32 loc) • 880 B
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';
/**
* AdAccountBillingDatePreference
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class AdAccountBillingDatePreference extends AbstractCrudObject {
static get Fields () {
return Object.freeze({
ad_account: 'ad_account',
day_of_month: 'day_of_month',
id: 'id',
next_bill_date: 'next_bill_date',
time_created: 'time_created',
time_effective: 'time_effective'
});
}
get (fields, params): AdAccountBillingDatePreference {
return this.read(
fields,
params
);
}
}