facebook-nodejs-business-sdk
Version:
SDK for the Facebook Marketing API in Javascript and Node.js
39 lines (35 loc) • 962 B
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';
/**
* ProductCatalogCategory
* @extends AbstractCrudObject
* @see {@link https://developers.facebook.com/docs/marketing-api/}
*/
export default class ProductCatalogCategory extends AbstractCrudObject {
static get Fields (): Object {
return Object.freeze({
criteria_value: 'criteria_value',
description: 'description',
destination_uri: 'destination_uri',
image_url: 'image_url',
name: 'name',
num_items: 'num_items',
tokens: 'tokens',
});
}
static get CategorizationCriteria (): Object {
return Object.freeze({
brand: 'BRAND',
category: 'CATEGORY',
product_type: 'PRODUCT_TYPE',
});
}
}