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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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).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.int
hashCode()
void
setAccessToken
(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).void
setAndroidAppName
(String androidAppName) Use of this field is entirely depending on the element transformer implementation.void
setAndroidPackage
(String androidPackage) Use of this field is entirely depending on the element transformer implementation.void
setAndroidUrlPrefix
(String androidUrlPrefix) Use of this field is entirely depending on the element transformer implementation.void
setApiHost
(String apiHost) Host name for connecting to the datafeed API.void
setDataFeedId
(String dataFeedId) The id of the datafeed to which uploads should occur.void
setFeedPathTemplate
(String feedPathTemplate) String.format(String, Object...)
style template URL path for connecting to the datafeed API.void
setFileType
(String fileType) The type of file that should be created and submitted to Meta/Facebook.void
setIosAppName
(String iosAppName) Use of this field is entirely depending on the element transformer implementation.void
setIosAppStoreId
(String iosAppStoreId) Use of this field is entirely depending on the element transformer implementation.void
setIosUrlPrefix
(String iosUrlPrefix) Use of this field is entirely depending on the element transformer implementation.void
setIpadAppName
(String ipadAppName) Use of this field is entirely depending on the element transformer implementation.void
setIpadAppStoreId
(String ipadAppStoreId) Use of this field is entirely depending on the element transformer implementation.void
setIpadUrlPrefix
(String ipadUrlPrefix) Use of this field is entirely depending on the element transformer implementation.void
setIphoneAppName
(String iphoneAppName) Use of this field is entirely depending on the element transformer implementation.void
setIphoneAppStoreId
(String iphoneAppStoreId) Use of this field is entirely depending on the element transformer implementation.void
setIphoneUrlPrefix
(String iphoneUrlPrefix) Use of this field is entirely depending on the element transformer implementation.void
setLinkPrefix
(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, setTenantIdHint
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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%s
placeholder 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%s
placeholder 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()
-