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
public class ProductFeed extends BaseAdsObject implements HasCreatedTime
Represents the Product Feed type- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProductFeed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCountry()
Date
getCreatedTime()
String
getDefaultCurrency()
Boolean
getDeletionEnabled()
String
getDelimiter()
String
getEncoding()
String
getFileName()
ProductFeedUpload
getLatestUpload()
Long
getProductCount()
String
getQuotedFieldsMode()
ProductFeedSchedule
getSchedule()
void
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 manner-
Methods inherited from class com.restfb.types.ads.BaseAdsObject
getId, setId
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
ProductFeed
public ProductFeed()
-
-
Method Detail
-
getCountry
public String getCountry()
- Returns:
- An ISO 3166-1 Alpha 2 country code
-
setCountry
public void setCountry(String country)
An ISO 3166-1 Alpha 2 country code
-
getCreatedTime
public Date getCreatedTime()
- Specified by:
getCreatedTime
in interfaceHasCreatedTime
- Returns:
- Creation time of the product feed
-
setCreatedTime
public void setCreatedTime(Date createdTime)
Creation time of the product feed
-
getDefaultCurrency
public String getDefaultCurrency()
- Returns:
- Default currency for products
-
setDefaultCurrency
public void setDefaultCurrency(String defaultCurrency)
Default currency for products. If no currency is specified for items in the feed file, this value would be used
-
getDeletionEnabled
public Boolean getDeletionEnabled()
- Returns:
- Allows products to be deleted if they are no longer included in a product feed
-
setDeletionEnabled
public void setDeletionEnabled(Boolean deletionEnabled)
Allows products to be deleted if they are no longer included in a product feed
-
getDelimiter
public String getDelimiter()
- Returns:
- The delimiter used in product feed file
-
setDelimiter
public void setDelimiter(String delimiter)
The delimiter used in product feed file possible values: AUTODETECT, BAR, COMMA, TAB, TILDE, SEMICOLON
-
getEncoding
public String getEncoding()
- Returns:
- The character encoding used by provided feed
-
setEncoding
public void setEncoding(String encoding)
The character encoding used by provided feed possible values: AUTODETECT, LATIN1, UTF8, UTF16LE, UTF16BE, UTF32LE, UTF32BE
-
getFileName
public String getFileName()
- Returns:
- File name of the product feed. Will be overridden by
name
if present
-
setFileName
public void setFileName(String fileName)
File name of the product feed. Will be overridden byname
if present
-
getLatestUpload
public ProductFeedUpload getLatestUpload()
- Returns:
- The latest upload session of the product feed
-
setLatestUpload
public void setLatestUpload(ProductFeedUpload latestUpload)
The latest upload session of the product feed
-
getProductCount
public Long getProductCount()
- Returns:
- The total products of this product catalog
-
setProductCount
public void setProductCount(Long productCount)
The total products of this product catalog
-
getQuotedFieldsMode
public String getQuotedFieldsMode()
- Returns:
- Allows tabs and newlines within fields
-
setQuotedFieldsMode
public void setQuotedFieldsMode(String quotedFieldsMode)
Allows tabs and newlines within fields possible values: AUTODETECT, ON, OFF
-
getSchedule
public ProductFeedSchedule getSchedule()
- Returns:
- The configuration for fetching a feed in a recurrant manner
-
setSchedule
public void setSchedule(ProductFeedSchedule schedule)
The configuration for fetching a feed in a recurrant manner
-
-