facebook-nodejs-business-sdk
Version:
SDK for the Facebook Marketing API in Javascript and Node.js
38 lines (34 loc) • 1.05 kB
JavaScript
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* 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';
/**
* FundingSourceDetailsCoupon
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class FundingSourceDetailsCoupon extends AbstractCrudObject {
static get Fields (): Object {
return Object.freeze({
amount: 'amount',
campaign_ids: 'campaign_ids',
child_ad_account_id: 'child_ad_account_id',
child_bm_id: 'child_bm_id',
coupon_id: 'coupon_id',
coupon_tiering: 'coupon_tiering',
currency: 'currency',
display_amount: 'display_amount',
expiration: 'expiration',
original_amount: 'original_amount',
original_display_amount: 'original_display_amount',
start_date: 'start_date',
vendor_id: 'vendor_id',
});
}
}