getColor()
:
String
Returns the Facebook color value label of the product.
getID()
:
String
Returns the ID of the Facebook product.
getImageLinks()
:
List
Returns a list containing the URLs of the images to show in Facebook for the product.
getItemGroupID()
:
String
Returns the ID of the Facebook item group for the product, that is, its master product.
getLink()
:
URL
Returns the URL of the Demandware storefront link to the product.
getPrice()
:
Money
Returns the price to show in Facebook for the product.
getSize()
:
String
Returns the Facebook size value label of the product.
setBrand(brand
:
String)
:
void
Sets the Facebook brand of the product.
setColor(color
:
String)
:
void
Sets the Facebook color value label of the product.
setGender(gender
:
String)
:
void
Sets the gender for the Facebook product.
setGtin(gtin
:
String)
:
void
Sets the Facebook GTIN of the product.
setImageLinks(imageLinks
:
List)
:
void
Sets the list of URLs of images to show in Facebook for the product.
setItemGroupID(itemGroupID
:
String)
:
void
Sets the ID of the Facebook item group for the product, that is, its master product.
setLink(link
:
URL)
:
void
Sets the URL of the Demandware storefront link to the product.
setMaterial(material
:
String)
:
void
Sets the Facebook material value label of the product.
setMpn(mpn
:
String)
:
void
Sets the Facebook MPN of the product.
setPattern(pattern
:
String)
:
void
Sets the Facebook pattern value label of the product.
setPrice(price
:
Money)
:
void
Sets the price to show in Facebook for the product.
setSalePrice(salePrice
:
Money)
:
void
Sets the sale price to show in Facebook for the product.
setSize(size
:
String)
:
void
Sets the Facebook size value label of the product.
setTitle(title
:
String)
:
void
Sets the title of the Facebook product.
getAgeGroup
Returns the age group for the Facebook product.
Returns:
product age group
getAvailability
Returns the availability of the Facebook product.
Returns:
product availability
getBrand
Returns the Facebook brand of the product.
getColor
Returns the Facebook color value label of the product.
Returns:
the color value label
getCondition
Returns the condition of the Facebook product.
Returns:
product condition
getCustomLabel0
Returns the Facebook custom label 0 value of the product.
Returns:
the custom label 0 value
getCustomLabel1
Returns the Facebook custom label 1 value of the product.
Returns:
the custom label 1 value
getCustomLabel2
Returns the Facebook custom label 2 value of the product.
Returns:
the custom label 2 value
getCustomLabel3
Returns the Facebook custom label 3 value of the product.
Returns:
the custom label 3 value
getCustomLabel4
Returns the Facebook custom label 4 value of the product.
Returns:
the custom label 4 value
getDescription
Returns the description of the Facebook product.
Returns:
product description
getExpirationDate
getExpirationDate()
:
Date
Returns the Facebook expiration date of the product. If the product is expired it will not be shown.
Returns:
the expiration date
getGender
Returns the gender for the Facebook product.
getGoogleProductCategory
getGoogleProductCategory()
:
String
Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters
it is truncated.
Returns:
the category of this product in the Google category taxonomy
getGtin
Returns the Facebook GTIN of the product.
getID
Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.
getImageLinks
Returns a list containing the URLs of the images to show in Facebook for the product.
Returns:
the URLs of the images
getItemGroupID
Returns the ID of the Facebook item group for the product, that is, its master product.
Returns:
the ID of the Facebook item group
getLink
Returns the URL of the Demandware storefront link to the product.
Returns:
the URL of the storefront link
getMaterial
Returns the Facebook material value label of the product.
Returns:
the material value label
getMpn
Returns the Facebook MPN of the product.
getPattern
Returns the Facebook pattern value label of the product.
Returns:
the pattern value label
getPrice
Returns the price to show in Facebook for the product.
Returns:
the price to show in Facebook
getProductType
Returns the Facebook product type. This is the retailer-defined category of the item.
Returns:
the Facebook product type
getSalePrice
Returns the sale price to show in Facebook for the product.
Returns:
the sale price to show in Facebook
getSalePriceEffectiveDateEnd
getSalePriceEffectiveDateEnd()
:
Date
Returns the end date of the Facebook sale price of the product.
Returns:
the end date of the Facebook sale price
getSalePriceEffectiveDateStart
getSalePriceEffectiveDateStart()
:
Date
Returns the start date of the Facebook sale price of the product.
Returns:
the start date of the Facebook sale price
getShippingHeight
Returns the shipping height of the product.
Returns:
the shipping height
getShippingLength
Returns the shipping length of the product.
Returns:
the shipping length
getShippingSizeUnit
getShippingSizeUnit()
:
String
Returns the shipping size unit of the product.
Returns:
the shipping size unit
getShippingWeight
Returns the shipping weight for the product.
Returns:
the shipping weight
getShippingWidth
Returns the shipping width of the product.
Returns:
the shipping width
getSize
Returns the Facebook size value label of the product.
Returns:
the size value label
getTitle
Returns the title of the Facebook product.
setAgeGroup
setAgeGroup(ageGroup
:
String)
:
void
Parameters:
ageGroup
-
the ageGroup to set for this product
setAvailability
setAvailability(availability
:
String)
:
void
Parameters:
availability
-
the availability status to set for this product
setBrand
setBrand(brand
:
String)
:
void
Sets the Facebook brand of the product. If the value is longer than 70 characters it is truncated.
Parameters:
brand
-
Facebook brand, up to 70 characters
setColor
setColor(color
:
String)
:
void
Sets the Facebook color value label of the product. If the value is longer than 100 characters it is truncated.
Parameters:
color
-
Facebook color value label, up to 100 characters
setCondition
setCondition(condition
:
String)
:
void
Parameters:
condition
-
the condition status to set for this product
setCustomLabel0
setCustomLabel0(customLabel0
:
String)
:
void
Sets the Facebook custom label 0 value of the product.
Parameters:
customLabel0
-
custom label 0 value
setCustomLabel1
setCustomLabel1(customLabel1
:
String)
:
void
Sets the Facebook custom label 1 value of the product.
Parameters:
customLabel1
-
custom label 1 value
setCustomLabel2
setCustomLabel2(customLabel2
:
String)
:
void
Sets the Facebook custom label 2 value of the product.
Parameters:
customLabel2
-
custom label 2 value
setCustomLabel3
setCustomLabel3(customLabel3
:
String)
:
void
Sets the Facebook custom label 3 value of the product.
Parameters:
customLabel3
-
custom label 3 value
setCustomLabel4
setCustomLabel4(customLabel4
:
String)
:
void
Sets the Facebook custom label 4 value of the product.
Parameters:
customLabel4
-
custom label 4 value
setDescription
setDescription(description
:
String)
:
void
Sets the description of the Facebook product. If the value is longer than 5000 characters it is truncated.
Parameters:
description
-
product description, up to 5000 characters
setExpirationDate
setExpirationDate(expirationDate
:
Date)
:
void
Sets the Facebook expiration date of the product.
Parameters:
expirationDate
-
Facebook expiration date
setGender
setGender(gender
:
String)
:
void
Parameters:
gender
-
the gender to set for this product
setGoogleProductCategory
setGoogleProductCategory(googleProductCategory
:
String)
:
void
Sets the category of this product in the Google category taxonomy.
Parameters:
googleProductCategory
-
Google product category
setGtin
Sets the Facebook GTIN of the product. If the value is longer than 70 characters it is truncated.
Parameters:
gtin
-
Facebook GTIN, up to 70 characters
setImageLinks
setImageLinks(imageLinks
:
List)
:
void
Sets the list of URLs of images to show in Facebook for the product.
Parameters:
imageLinks
-
links to the product images
setItemGroupID
setItemGroupID(itemGroupID
:
String)
:
void
Sets the ID of the Facebook item group for the product, that is, its master product.
Parameters:
itemGroupID
-
ID of Facebook item group
setLink
setLink(link
:
URL)
:
void
Sets the URL of the Demandware storefront link to the product.
Parameters:
link
-
Demandware storefront link to the product
setMaterial
setMaterial(material
:
String)
:
void
Sets the Facebook material value label of the product. If the value is longer than 200 characters it is
truncated.
Parameters:
material
-
Facebook material value label, up to 200 characters
setMpn
Sets the Facebook MPN of the product. If the value is longer than 70 characters it is truncated.
Parameters:
mpn
-
Facebook MPN, up to 70 characters
setPattern
setPattern(pattern
:
String)
:
void
Sets the Facebook pattern value label of the product. If the value is longer than 100 characters it is truncated.
Parameters:
pattern
-
Facebook pattern value label, up to 100 characters
setPrice
setPrice(price
:
Money)
:
void
Sets the price to show in Facebook for the product.
Parameters:
price
-
Facebook price
setProductType
setProductType(productType
:
String)
:
void
Sets the Facebook product type. If the value is longer than 750 characters it is truncated.
Parameters:
productType
-
Facebook product type, up to 750 characters
setSalePrice
setSalePrice(salePrice
:
Money)
:
void
Sets the sale price to show in Facebook for the product.
Parameters:
salePrice
-
Facebook sale price
setSalePriceEffectiveDateEnd
setSalePriceEffectiveDateEnd(salePriceEffectiveDateEnd
:
Date)
:
void
Sets the end date of the Facebook sale price of the product.
Parameters:
salePriceEffectiveDateEnd
-
end date of Facebook sale price
setSalePriceEffectiveDateStart
setSalePriceEffectiveDateStart(salePriceEffectiveDateStart
:
Date)
:
void
Sets the start date of the Facebook sale price of the product.
Parameters:
salePriceEffectiveDateStart
-
start date of Facebook sale price
setShippingHeight
setShippingHeight(shippingHeight
:
Number)
:
void
Sets the shipping height of the product. If the value is negative it is truncated to 0.
Parameters:
shippingHeight
-
shipping height, may not be negative
setShippingLength
setShippingLength(shippingLength
:
Number)
:
void
Sets the shipping length of the product. If the value is negative it is truncated to 0.
Parameters:
shippingLength
-
shipping length, may not be negative
setShippingSizeUnit
setShippingSizeUnit(shippingSizeUnit
:
String)
:
void
Sets the shipping size unit of the product.
Parameters:
shippingSizeUnit
-
shipping size unit
setShippingWeight
setShippingWeight(shippingWeight
:
Quantity)
:
void
Parameters:
shippingWeight
-
product shipping weight
setShippingWidth
setShippingWidth(shippingWidth
:
Number)
:
void
Sets the shipping width of the product. If the value is negative it is truncated to 0.
Parameters:
shippingWidth
-
shipping width, may not be negative
setSize
Sets the Facebook size value label of the product. If the value is longer than 100 characters it is truncated.
Parameters:
size
-
Facebook size value label, up to 100 characters
setTitle
setTitle(title
:
String)
:
void
Sets the title of the Facebook product. If the value is longer than 100 characters it is truncated.
Parameters:
title
-
product title, up to 100 characters