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 Summary
Constructors -
Method Summary
Modifier 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.AbstractDataFeedPublicationConfiguration
convertToLocales, getApplicationIdHint, getDisplayName, getFeedProcessType, getId, getIncludedLocales, getTenantIdHint, initializeFromProperties, setApplicationIdHint, setDisplayName, setFeedProcessType, setId, setIncludedLocales, setTenantIdHintMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.broadleafcommerce.datafeed.service.publisher.configuration.DataFeedPublicationConfiguration
getApplicationIdHint, getDisplayName, getFeedProcessType, getId, getTenantIdHint
-
Constructor Details
-
CommerceManagerFeedAPIPublicationConfiguration
public CommerceManagerFeedAPIPublicationConfiguration()
-
-
Method Details
-
getApiHost
Host name for connecting to the datafeed API. Default isgraph.facebook.com -
getFeedPathTemplate
String.format(String, Object...)style template URL path for connecting to the datafeed API. Should include a%splaceholder for the dataFeedId. Default is/%s/uploads -
getDataFeedId
The 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. -
getAccessToken
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). This is usually generated in the Meta Business Settings for a created System User. -
getFileType
The type of file that should be created and submitted to Meta/Facebook. Default is CSV. -
getLinkPrefix
For 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'.
-
getAndroidAppName
Use 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/ -
getAndroidPackage
Use 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/ -
getAndroidUrlPrefix
Use 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/ -
getIosAppName
Use 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/ -
getIosUrlPrefix
Use 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/ -
getIosAppStoreId
Use 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/ -
getIpadAppName
Use 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/ -
getIpadAppStoreId
Use 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/ -
getIpadUrlPrefix
Use 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/ -
getIphoneUrlPrefix
Use 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/ -
getIphoneAppStoreId
Use 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/ -
getIphoneAppName
Use 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/ -
setApiHost
Host name for connecting to the datafeed API. Default isgraph.facebook.com -
setFeedPathTemplate
String.format(String, Object...)style template URL path for connecting to the datafeed API. Should include a%splaceholder for the dataFeedId. Default is/%s/uploads -
setDataFeedId
The 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. -
setAccessToken
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). This is usually generated in the Meta Business Settings for a created System User. -
setFileType
The type of file that should be created and submitted to Meta/Facebook. Default is CSV. -
setLinkPrefix
For 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'.
-
setAndroidAppName
Use 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/ -
setAndroidPackage
Use 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/ -
setAndroidUrlPrefix
Use 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/ -
setIosAppName
Use 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/ -
setIosUrlPrefix
Use 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/ -
setIosAppStoreId
Use 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/ -
setIpadAppName
Use 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/ -
setIpadAppStoreId
Use 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/ -
setIpadUrlPrefix
Use 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/ -
setIphoneUrlPrefix
Use 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/ -
setIphoneAppStoreId
Use 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/ -
setIphoneAppName
Use 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
-
hashCode
public int hashCode()
-