FacebookFeedHooks
FacebookProduct
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Represents a row in the Facebook catalog feed export.
| Constant | Description |
|---|---|
| AGE_GROUP_ADULT: String = “adult” | Indicates that the product is for adults. |
| AGE_GROUP_INFANT: String = “infant” | Indicates that the product is for infant children. |
| AGE_GROUP_KIDS: String = “kids” | Indicates that the product is for children. |
| AGE_GROUP_NEWBORN: String = “newborn” | Indicates that the product is for newborn children. |
| AGE_GROUP_TODDLER: String = “toddler” | Indicates that the product is for toddler children. |
| AVAILABILITY_AVAILABLE_FOR_ORDER: String = “available for order” | Indicates that the product can be ordered for later shipment. |
| AVAILABILITY_IN_STOCK: String = “in stock” | Indicates that the product is available to ship immediately. |
| AVAILABILITY_OUT_OF_STOCK: String = “out of stock” | Indicates that the product is out of stock. |
| AVAILABILITY_PREORDER: String = “preorder” | Indicates that the product will be available in the future. |
| CONDITION_NEW: String = “new” | Indicates that the product is new. |
| CONDITION_REFURBISHED: String = “refurbished” | Indicates that the product is used but has been refurbished. |
| CONDITION_USED: String = “used” | Indicates that the product has been used. |
| GENDER_FEMALE: String = “female” | Indicates that the product is for females. |
| GENDER_MALE: String = “male” | Indicates that the product is for males. |
| GENDER_UNISEX: String = “unisex” | Indicates that the product is for both males and females. |
| SHIPPING_SIZE_UNIT_CM: String = “cm” | Indicates that the product is measured in centimeters. |
| SHIPPING_SIZE_UNIT_FT: String = “ft” | Indicates that the product is measured in feet. |
| SHIPPING_SIZE_UNIT_IN: String = “in” | Indicates that the product is measured in inches. |
| SHIPPING_SIZE_UNIT_M: String = “m” | Indicates that the product is measured in meters. |
| SHIPPING_WEIGHT_UNIT_G: String = “g” | Indicates that the product is weighed in grams. |
| SHIPPING_WEIGHT_UNIT_KG: String = “kg” | Indicates that the product is weighed in kilograms. |
| SHIPPING_WEIGHT_UNIT_LB: String = “lb” | Indicates that the product is weighed in pounds. |
| SHIPPING_WEIGHT_UNIT_OZ: String = “oz” | Indicates that the product is weighed in ounces. |
| Property | Description |
|---|---|
ID: String (read-only) | Returns the ID of the Facebook product. |
| ageGroup: String | Returns the age group for the Facebook product. |
| availability: String | Returns the availability of the Facebook product. |
| brand: String | Returns the Facebook brand of the product. |
| color: String | Returns the Facebook color value label of the product. |
| condition: String | Returns the condition of the Facebook product. |
| customLabel0: String | Returns the Facebook custom label 0 value of the product. |
| customLabel1: String | Returns the Facebook custom label 1 value of the product. |
| customLabel2: String | Returns the Facebook custom label 2 value of the product. |
| customLabel3: String | Returns the Facebook custom label 3 value of the product. |
| customLabel4: String | Returns the Facebook custom label 4 value of the product. |
| description: String | Returns the description of the Facebook product. |
| expirationDate: Date | Returns the Facebook expiration date of the product. |
| gender: String | Returns the gender for the Facebook product. |
| googleProductCategory: String | Returns the category of this product in the Google category taxonomy. |
| gtin: String | Returns the Facebook GTIN of the product. |
| imageLinks: List | Returns a list containing the URLs of the images to show in Facebook for the product. |
| itemGroupID: String | Returns the ID of the Facebook item group for the product, that is, its master product. |
| link: URL | Returns the URL of the Demandware storefront link to the product. |
| material: String | Returns the Facebook material value label of the product. |
| mpn: String | Returns the Facebook MPN of the product. |
| pattern: String | Returns the Facebook pattern value label of the product. |
| price: Money | Returns the price to show in Facebook for the product. |
| productType: String | Returns the Facebook product type. |
| salePrice: Money | Returns the sale price to show in Facebook for the product. |
| salePriceEffectiveDateEnd: Date | Returns the end date of the Facebook sale price of the product. |
| salePriceEffectiveDateStart: Date | Returns the start date of the Facebook sale price of the product. |
| shippingHeight: Number | Returns the shipping height of the product. |
| shippingLength: Number | Returns the shipping length of the product. |
| shippingSizeUnit: String | Returns the shipping size unit of the product. |
| shippingWeight: Quantity | Returns the shipping weight for the product. |
| shippingWidth: Number | Returns the shipping width of the product. |
| size: String | Returns the Facebook size value label of the product. |
| title: String | Returns the title of the Facebook product. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getAgeGroup() | Returns the age group for the Facebook product. |
| getAvailability() | Returns the availability of the Facebook product. |
| getBrand() | Returns the Facebook brand of the product. |
| getColor() | Returns the Facebook color value label of the product. |
| getCondition() | Returns the condition of the Facebook product. |
| getCustomLabel0() | Returns the Facebook custom label 0 value of the product. |
| getCustomLabel1() | Returns the Facebook custom label 1 value of the product. |
| getCustomLabel2() | Returns the Facebook custom label 2 value of the product. |
| getCustomLabel3() | Returns the Facebook custom label 3 value of the product. |
| getCustomLabel4() | Returns the Facebook custom label 4 value of the product. |
| getDescription() | Returns the description of the Facebook product. |
| getExpirationDate() | Returns the Facebook expiration date of the product. |
| getGender() | Returns the gender for the Facebook product. |
| getGoogleProductCategory() | 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. |
| getImageLinks() | Returns a list containing the URLs of the images to show in Facebook for the product. |
| getItemGroupID() | Returns the ID of the Facebook item group for the product, that is, its master product. |
| getLink() | Returns the URL of the Demandware storefront link to the product. |
| getMaterial() | Returns the Facebook material value label of the product. |
| getMpn() | Returns the Facebook MPN of the product. |
| getPattern() | Returns the Facebook pattern value label of the product. |
| getPrice() | Returns the price to show in Facebook for the product. |
| getProductType() | Returns the Facebook product type. |
| getSalePrice() | Returns the sale price to show in Facebook for the product. |
| getSalePriceEffectiveDateEnd() | Returns the end date of the Facebook sale price of the product. |
| getSalePriceEffectiveDateStart() | Returns the start date of the Facebook sale price of the product. |
| getShippingHeight() | Returns the shipping height of the product. |
| getShippingLength() | Returns the shipping length of the product. |
| getShippingSizeUnit() | Returns the shipping size unit of the product. |
| getShippingWeight() | Returns the shipping weight for the product. |
| getShippingWidth() | Returns the shipping width of the product. |
| getSize() | Returns the Facebook size value label of the product. |
| getTitle() | Returns the title of the Facebook product. |
| setAgeGroup(String) | Sets the age group for the Facebook product. |
| setAvailability(String) | Sets the availability of the Facebook product. |
| setBrand(String) | Sets the Facebook brand of the product. |
| setColor(String) | Sets the Facebook color value label of the product. |
| setCondition(String) | Sets the condition of the Facebook product. |
| setCustomLabel0(String) | Sets the Facebook custom label 0 value of the product. |
| setCustomLabel1(String) | Sets the Facebook custom label 1 value of the product. |
| setCustomLabel2(String) | Sets the Facebook custom label 2 value of the product. |
| setCustomLabel3(String) | Sets the Facebook custom label 3 value of the product. |
| setCustomLabel4(String) | Sets the Facebook custom label 4 value of the product. |
| setDescription(String) | Sets the description of the Facebook product. |
| setExpirationDate(Date) | Sets the Facebook expiration date of the product. |
| setGender(String) | Sets the gender for the Facebook product. |
| setGoogleProductCategory(String) | Sets the category of this product in the Google category taxonomy. |
| setGtin(String) | Sets the Facebook GTIN of the product. |
| setImageLinks(List) | Sets the list of URLs of images to show in Facebook for the product. |
| setItemGroupID(String) | Sets the ID of the Facebook item group for the product, that is, its master product. |
| setLink(URL) | Sets the URL of the Demandware storefront link to the product. |
| setMaterial(String) | Sets the Facebook material value label of the product. |
| setMpn(String) | Sets the Facebook MPN of the product. |
| setPattern(String) | Sets the Facebook pattern value label of the product. |
| setPrice(Money) | Sets the price to show in Facebook for the product. |
| setProductType(String) | Sets the Facebook product type. |
| setSalePrice(Money) | Sets the sale price to show in Facebook for the product. |
| setSalePriceEffectiveDateEnd(Date) | Sets the end date of the Facebook sale price of the product. |
| setSalePriceEffectiveDateStart(Date) | Sets the start date of the Facebook sale price of the product. |
| setShippingHeight(Number) | Sets the shipping height of the product. |
| setShippingLength(Number) | Sets the shipping length of the product. |
| setShippingSizeUnit(String) | Sets the shipping size unit of the product. |
| setShippingWeight(Quantity) | Sets the shipping weight for the product. |
| setShippingWidth(Number) | Sets the shipping width of the product. |
| setSize(String) | Sets the Facebook size value label of the product. |
| setTitle(String) | Sets the title of the Facebook product. |
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values
Indicates that the product is for adults.
Indicates that the product is for infant children.
Indicates that the product is for children.
Indicates that the product is for newborn children.
Indicates that the product is for toddler children.
Indicates that the product can be ordered for later shipment.
Indicates that the product is available to ship immediately.
Indicates that the product is out of stock.
Indicates that the product will be available in the future.
Indicates that the product is new.
Indicates that the product is used but has been refurbished.
Indicates that the product has been used.
Indicates that the product is for females.
Indicates that the product is for males.
Indicates that the product is for both males and females.
Indicates that the product is measured in centimeters.
Indicates that the product is measured in feet.
Indicates that the product is measured in inches.
Indicates that the product is measured in meters.
Indicates that the product is weighed in grams.
Indicates that the product is weighed in kilograms.
Indicates that the product is weighed in pounds.
Indicates that the product is weighed in ounces.
(read-only)Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.
Returns the age group for the Facebook product.
Returns the availability of the Facebook product.
Returns the Facebook brand of the product.
Returns the Facebook color value label of the product.
Returns the condition of the Facebook product.
Returns the Facebook custom label 0 value of the product.
Returns the Facebook custom label 1 value of the product.
Returns the Facebook custom label 2 value of the product.
Returns the Facebook custom label 3 value of the product.
Returns the Facebook custom label 4 value of the product.
Returns the description of the Facebook product.
Returns the Facebook expiration date of the product. If the product is expired it will not be shown.
Returns the gender for the Facebook product.
Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters it is truncated.
Returns the Facebook GTIN of the product.
Returns a list containing the URLs of the images to show in Facebook for the product.
Returns the ID of the Facebook item group for the product, that is, its master product.
Returns the URL of the Demandware storefront link to the product.
Returns the Facebook material value label of the product.
Returns the Facebook MPN of the product.
Returns the Facebook pattern value label of the product.
Returns the price to show in Facebook for the product.
Returns the Facebook product type. This is the retailer-defined category of the item.
Returns the sale price to show in Facebook for the product.
Returns the end date of the Facebook sale price of the product.
Returns the start date of the Facebook sale price of the product.
Returns the shipping height of the product.
See Also:
Returns the shipping length of the product.
See Also:
Returns the shipping size unit of the product.
See Also:
Returns the shipping weight for the product.
Returns the shipping width of the product.
See Also:
Returns the Facebook size value label of the product.
Returns the title of the Facebook product.
Returns the age group for the Facebook product.
Returns:
Returns the availability of the Facebook product.
Returns:
Returns the Facebook brand of the product.
Returns:
Returns the Facebook color value label of the product.
Returns:
Returns the condition of the Facebook product.
Returns:
Returns the Facebook custom label 0 value of the product.
Returns:
Returns the Facebook custom label 1 value of the product.
Returns:
Returns the Facebook custom label 2 value of the product.
Returns:
Returns the Facebook custom label 3 value of the product.
Returns:
Returns the Facebook custom label 4 value of the product.
Returns:
Returns the description of the Facebook product.
Returns:
Returns the Facebook expiration date of the product. If the product is expired it will not be shown.
Returns:
Returns the gender for the Facebook product.
Returns:
Returns the category of this product in the Google category taxonomy. If the value is longer than 250 characters it is truncated.
Returns:
Returns the Facebook GTIN of the product.
Returns:
Returns the ID of the Facebook product. This is the same as the ID of the Demandware product.
Returns:
Returns a list containing the URLs of the images to show in Facebook for the product.
Returns:
Returns the ID of the Facebook item group for the product, that is, its master product.
Returns:
Returns the URL of the Demandware storefront link to the product.
Returns:
Returns the Facebook material value label of the product.
Returns:
Returns the Facebook MPN of the product.
Returns:
Returns the Facebook pattern value label of the product.
Returns:
Returns the price to show in Facebook for the product.
Returns:
Returns the Facebook product type. This is the retailer-defined category of the item.
Returns:
Returns the sale price to show in Facebook for the product.
Returns:
Returns the end date of the Facebook sale price of the product.
Returns:
Returns the start date of the Facebook sale price of the product.
Returns:
Returns the shipping height of the product.
Returns:
See Also:
Returns the shipping length of the product.
Returns:
See Also:
Returns the shipping size unit of the product.
Returns:
See Also:
Returns the shipping weight for the product.
Returns:
Returns the shipping width of the product.
Returns:
See Also:
Returns the Facebook size value label of the product.
Returns:
Returns the title of the Facebook product.
Returns:
Sets the age group for the Facebook product. Possible values are
AGE_GROUP_ADULT,
AGE_GROUP_INFANT,
AGE_GROUP_KIDS,
AGE_GROUP_NEWBORN,
AGE_GROUP_TODDLER, or null.
Parameters:
Sets the availability of the Facebook product. Possible values are AVAILABILITY_AVAILABLE_FOR_ORDER, AVAILABILITY_IN_STOCK, AVAILABILITY_OUT_OF_STOCK, or AVAILABILITY_PREORDER
Parameters:
Sets the Facebook brand of the product. If the value is longer than 70 characters it is truncated.
Parameters:
Sets the Facebook color value label of the product. If the value is longer than 100 characters it is truncated.
Parameters:
Sets the condition of the Facebook product. Possible values are CONDITION_NEW, CONDITION_REFURBISHED, or CONDITION_USED.
Parameters:
Sets the Facebook custom label 0 value of the product.
Parameters:
Sets the Facebook custom label 1 value of the product.
Parameters:
Sets the Facebook custom label 2 value of the product.
Parameters:
Sets the Facebook custom label 3 value of the product.
Parameters:
Sets the Facebook custom label 4 value of the product.
Parameters:
Sets the description of the Facebook product. If the value is longer than 5000 characters it is truncated.
Parameters:
Sets the Facebook expiration date of the product.
Parameters:
Sets the gender for the Facebook product. Possible values are
GENDER_MALE,
GENDER_FEMALE,
GENDER_UNISEX, or null.
Parameters:
Sets the category of this product in the Google category taxonomy.
Parameters:
Sets the Facebook GTIN of the product. If the value is longer than 70 characters it is truncated.
Parameters:
Sets the list of URLs of images to show in Facebook for the product.
Parameters:
Sets the ID of the Facebook item group for the product, that is, its master product.
Parameters:
Sets the URL of the Demandware storefront link to the product.
Parameters:
Sets the Facebook material value label of the product. If the value is longer than 200 characters it is truncated.
Parameters:
Sets the Facebook MPN of the product. If the value is longer than 70 characters it is truncated.
Parameters:
Sets the Facebook pattern value label of the product. If the value is longer than 100 characters it is truncated.
Parameters:
Sets the price to show in Facebook for the product.
Parameters:
Sets the Facebook product type. If the value is longer than 750 characters it is truncated.
Parameters:
Sets the sale price to show in Facebook for the product.
Parameters:
Sets the end date of the Facebook sale price of the product.
Parameters:
Sets the start date of the Facebook sale price of the product.
Parameters:
Sets the shipping height of the product. If the value is negative it is truncated to 0.
Parameters:
See Also:
Sets the shipping length of the product. If the value is negative it is truncated to 0.
Parameters:
See Also:
Sets the shipping size unit of the product.
Parameters:
See Also:
Sets the shipping weight for the product. Possible unit values are SHIPPING_WEIGHT_UNIT_LB, SHIPPING_WEIGHT_UNIT_OZ, SHIPPING_WEIGHT_UNIT_G, or SHIPPING_WEIGHT_UNIT_KG.
Parameters:
Sets the shipping width of the product. If the value is negative it is truncated to 0.
Parameters:
See Also:
Sets the Facebook size value label of the product. If the value is longer than 100 characters it is truncated.
Parameters:
Sets the title of the Facebook product. If the value is longer than 100 characters it is truncated.
Parameters: