Package com.restfb.types.ads
Class ProductFeed
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.ads.BaseAdsObject
com.restfb.types.ads.ProductFeed
- All Implemented Interfaces:
HasCreatedTime,Serializable
Represents the Product Feed
type
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCountry(String country) An ISO 3166-1 Alpha 2 country codevoidsetCreatedTime(Date createdTime) Creation time of the product feedvoidsetDefaultCurrency(String defaultCurrency) Default currency for products.voidsetDeletionEnabled(Boolean deletionEnabled) Allows products to be deleted if they are no longer included in a product feedvoidsetDelimiter(String delimiter) The delimiter used in product feed file possible values: AUTODETECT, BAR, COMMA, TAB, TILDE, SEMICOLONvoidsetEncoding(String encoding) The character encoding used by provided feed possible values: AUTODETECT, LATIN1, UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BEvoidsetFileName(String fileName) File name of the product feed.voidsetLatestUpload(ProductFeedUpload latestUpload) The latest upload session of the product feedvoidsetProductCount(Long productCount) The total products of this product catalogvoidsetQuotedFieldsMode(String quotedFieldsMode) Allows tabs and newlines within fields possible values: AUTODETECT, ON, OFFvoidsetSchedule(ProductFeedSchedule schedule) The configuration for fetching a feed in a recurrant mannerMethods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setIdMethods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
ProductFeed
public ProductFeed()
-
-
Method Details
-
getCountry
- Returns:
- An ISO 3166-1 Alpha 2 country code
-
setCountry
An ISO 3166-1 Alpha 2 country code -
getCreatedTime
- Specified by:
getCreatedTimein interfaceHasCreatedTime- Returns:
- Creation time of the product feed
-
setCreatedTime
Creation time of the product feed -
getDefaultCurrency
- Returns:
- Default currency for products
-
setDefaultCurrency
Default currency for products. If no currency is specified for items in the feed file, this value would be used -
getDeletionEnabled
- Returns:
- Allows products to be deleted if they are no longer included in a product feed
-
setDeletionEnabled
Allows products to be deleted if they are no longer included in a product feed -
getDelimiter
- Returns:
- The delimiter used in product feed file
-
setDelimiter
The delimiter used in product feed file possible values: AUTODETECT, BAR, COMMA, TAB, TILDE, SEMICOLON -
getEncoding
- Returns:
- The character encoding used by provided feed
-
setEncoding
The character encoding used by provided feed possible values: AUTODETECT, LATIN1, UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE -
getFileName
- Returns:
- File name of the product feed. Will be overridden by
nameif present
-
setFileName
File name of the product feed. Will be overridden bynameif present -
getLatestUpload
- Returns:
- The latest upload session of the product feed
-
setLatestUpload
The latest upload session of the product feed -
getProductCount
- Returns:
- The total products of this product catalog
-
setProductCount
The total products of this product catalog -
getQuotedFieldsMode
- Returns:
- Allows tabs and newlines within fields
-
setQuotedFieldsMode
Allows tabs and newlines within fields possible values: AUTODETECT, ON, OFF -
getSchedule
- Returns:
- The configuration for fetching a feed in a recurrant manner
-
setSchedule
The configuration for fetching a feed in a recurrant manner
-