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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCountry
(String country) An ISO 3166-1 Alpha 2 country codevoid
setCreatedTime
(Date createdTime) Creation time of the product feedvoid
setDefaultCurrency
(String defaultCurrency) Default currency for products.void
setDeletionEnabled
(Boolean deletionEnabled) Allows products to be deleted if they are no longer included in a product feedvoid
setDelimiter
(String delimiter) The delimiter used in product feed file possible values: AUTODETECT, BAR, COMMA, TAB, TILDE, SEMICOLONvoid
setEncoding
(String encoding) The character encoding used by provided feed possible values: AUTODETECT, LATIN1, UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BEvoid
setFileName
(String fileName) File name of the product feed.void
setLatestUpload
(ProductFeedUpload latestUpload) The latest upload session of the product feedvoid
setProductCount
(Long productCount) The total products of this product catalogvoid
setQuotedFieldsMode
(String quotedFieldsMode) Allows tabs and newlines within fields possible values: AUTODETECT, ON, OFFvoid
setSchedule
(ProductFeedSchedule schedule) The configuration for fetching a feed in a recurrant mannerMethods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setId
Methods 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:
getCreatedTime
in 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
name
if present
-
setFileName
File name of the product feed. Will be overridden byname
if 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
-