Class CommerceManagerFeedAPIPublicationConfiguration
java.lang.Object
com.broadleafcommerce.datafeed.service.publisher.configuration.AbstractDataFeedPublicationConfiguration
com.broadleafcommerce.datafeed.feedprovider.meta.api.publisher.configuration.CommerceManagerFeedAPIPublicationConfiguration
- All Implemented Interfaces:
- DataFeedPublicationConfiguration
public class CommerceManagerFeedAPIPublicationConfiguration
extends AbstractDataFeedPublicationConfiguration
implements DataFeedPublicationConfiguration
Configuration for uploading items to Meta/Facebook via API. For reference on these fields, please
 see: Feed API
 Reference
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanQualified access token (with adequate permissions to control the commerce catalog associate with the datafeed, and the meta developer application used to interact with the API).Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Host name for connecting to the datafeed API.The id of the datafeed to which uploads should occur.String.format(String, Object...)style template URL path for connecting to the datafeed API.The type of file that should be created and submitted to Meta/Facebook.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.Use of this field is entirely depending on the element transformer implementation.For fields that require building links (such as the product link), this is an optional prefix to make it a fully qualified URL.inthashCode()voidsetAccessToken(String accessToken) Qualified access token (with adequate permissions to control the commerce catalog associate with the datafeed, and the meta developer application used to interact with the API).voidsetAndroidAppName(String androidAppName) Use of this field is entirely depending on the element transformer implementation.voidsetAndroidPackage(String androidPackage) Use of this field is entirely depending on the element transformer implementation.voidsetAndroidUrlPrefix(String androidUrlPrefix) Use of this field is entirely depending on the element transformer implementation.voidsetApiHost(String apiHost) Host name for connecting to the datafeed API.voidsetDataFeedId(String dataFeedId) The id of the datafeed to which uploads should occur.voidsetFeedPathTemplate(String feedPathTemplate) String.format(String, Object...)style template URL path for connecting to the datafeed API.voidsetFileType(String fileType) The type of file that should be created and submitted to Meta/Facebook.voidsetIosAppName(String iosAppName) Use of this field is entirely depending on the element transformer implementation.voidsetIosAppStoreId(String iosAppStoreId) Use of this field is entirely depending on the element transformer implementation.voidsetIosUrlPrefix(String iosUrlPrefix) Use of this field is entirely depending on the element transformer implementation.voidsetIpadAppName(String ipadAppName) Use of this field is entirely depending on the element transformer implementation.voidsetIpadAppStoreId(String ipadAppStoreId) Use of this field is entirely depending on the element transformer implementation.voidsetIpadUrlPrefix(String ipadUrlPrefix) Use of this field is entirely depending on the element transformer implementation.voidsetIphoneAppName(String iphoneAppName) Use of this field is entirely depending on the element transformer implementation.voidsetIphoneAppStoreId(String iphoneAppStoreId) Use of this field is entirely depending on the element transformer implementation.voidsetIphoneUrlPrefix(String iphoneUrlPrefix) Use of this field is entirely depending on the element transformer implementation.voidsetLinkPrefix(String linkPrefix) For fields that require building links (such as the product link), this is an optional prefix to make it a fully qualified URL.toString()Methods inherited from class com.broadleafcommerce.datafeed.service.publisher.configuration.AbstractDataFeedPublicationConfigurationconvertToLocales, getApplicationIdHint, getDisplayName, getFeedProcessType, getId, getIncludedLocales, getTenantIdHint, initializeFromProperties, setApplicationIdHint, setDisplayName, setFeedProcessType, setId, setIncludedLocales, setTenantIdHintMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.datafeed.service.publisher.configuration.DataFeedPublicationConfigurationgetApplicationIdHint, getDisplayName, getFeedProcessType, getId, getTenantIdHint
- 
Constructor Details- 
CommerceManagerFeedAPIPublicationConfigurationpublic CommerceManagerFeedAPIPublicationConfiguration()
 
- 
- 
Method Details- 
getApiHostHost name for connecting to the datafeed API. Default isgraph.facebook.com
- 
getFeedPathTemplateString.format(String, Object...)style template URL path for connecting to the datafeed API. Should include a%splaceholder for the dataFeedId. Default is/%s/uploads
- 
getDataFeedIdThe id of the datafeed to which uploads should occur. This is a Meta/Facebook generated value available in the Meta Commerce Manager UI. The assumed structure is a separate datafeed/catalog per locale.
- 
getAccessTokenQualified access token (with adequate permissions to control the commerce catalog associate with the datafeed, and the meta developer application used to interact with the API). This is usually generated in the Meta Business Settings for a created System User.
- 
getFileTypeThe type of file that should be created and submitted to Meta/Facebook. Default is CSV.
- 
getLinkPrefixFor fields that require building links (such as the product link), this is an optional prefix to make it a fully qualified URL. Use of this field is entirely dependent on the element transformer implementation.For example, this could be 'https://www.mysite.com', such that it can be prepended to product URLs to form 'https://www.mysite.com/my/product/url'. 
- 
getAndroidAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.android_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getAndroidPackageUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.android_package', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getAndroidUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.android_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIosAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ios_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIosUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.ios_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIosAppStoreIdUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ios_app_store_id', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIpadAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ipad_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIpadAppStoreIdUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ipad_app_store_id', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIpadUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.ipad_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIphoneUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.iphone_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIphoneAppStoreIdUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.iphone_app_store_id', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
getIphoneAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.iphone_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setApiHostHost name for connecting to the datafeed API. Default isgraph.facebook.com
- 
setFeedPathTemplateString.format(String, Object...)style template URL path for connecting to the datafeed API. Should include a%splaceholder for the dataFeedId. Default is/%s/uploads
- 
setDataFeedIdThe id of the datafeed to which uploads should occur. This is a Meta/Facebook generated value available in the Meta Commerce Manager UI. The assumed structure is a separate datafeed/catalog per locale.
- 
setAccessTokenQualified access token (with adequate permissions to control the commerce catalog associate with the datafeed, and the meta developer application used to interact with the API). This is usually generated in the Meta Business Settings for a created System User.
- 
setFileTypeThe type of file that should be created and submitted to Meta/Facebook. Default is CSV.
- 
setLinkPrefixFor fields that require building links (such as the product link), this is an optional prefix to make it a fully qualified URL. Use of this field is entirely dependent on the element transformer implementation.For example, this could be 'https://www.mysite.com', such that it can be prepended to product URLs to form 'https://www.mysite.com/my/product/url'. 
- 
setAndroidAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.android_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setAndroidPackageUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.android_package', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setAndroidUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.android_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIosAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ios_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIosUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.ios_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIosAppStoreIdUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ios_app_store_id', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIpadAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ipad_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIpadAppStoreIdUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.ipad_app_store_id', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIpadUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.ipad_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIphoneUrlPrefixUse of this field is entirely depending on the element transformer implementation. This should be the prefix to use for 'applink.iphone_url', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIphoneAppStoreIdUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.iphone_app_store_id', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
setIphoneAppNameUse of this field is entirely depending on the element transformer implementation. This should be the value to use for 'applink.iphone_app_name', as documented in https://developers.facebook.com/docs/marketing-api/catalog/guides/product-deep-links/
- 
toString
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-