Class PinterestProduct
Represents a row in the Pinterest catalog feed export.
| Constant | Description |
|---|---|
| AVAILABILITY_IN_STOCK: String = "in stock" | Indicates that the product is in stock. |
| AVAILABILITY_OUT_OF_STOCK: String = "out of stock" | Indicates that the product is not in stock. |
| AVAILABILITY_PREORDER: String = "preorder" | Indicates that the product is availabile in preorder. |
| CONDITION_NEW: String = "new" | Indicates that the product has never been used. |
| CONDITION_REFURBISHED: String = "refurbished" | Indicates that the product has been used but refurbished. |
| CONDITION_USED: String = "used" | Indicates that the product has been used. |
| Property | Description |
|---|---|
ID: String (read-only) | Returns the ID of the Pinterest product. |
| availability: String | Returns the availability of the Pinterest product. |
| brand: String | Returns the Pinterest brand of the product. |
| color: String | Returns the Pinterest color value label of the product. |
| colorHex: String | Returns the Pinterest color hex value of the product. |
| colorImage: URL | Returns the URL of the image to show in Pinterest for the product color (swatch). |
| condition: String | Returns the condition of the Pinterest product. |
| description: String | Returns the Pinterest description of the product. |
| googleProductCategory: String | Returns the category of this product in the Google category taxonomy. |
| gtin: String | Returns the Pinterest GTIN of the product. |
| imageLinks: List | Returns a list containing the URLs of the image to show in Pinterest for the product. |
| itemGroupID: String | Returns the ID of the Pinterest item group for the product, that is, its master product. |
| itemGroupLink: URL | Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the Demandware storefront. |
| link: URL | Returns the URL of the Demandware storefront link to the product. |
| maxPrice: Money | Returns the maximum price to show in Pinterest for the product. |
| minPrice: Money | Returns the minimum price to show in Pinterest for the product. |
| price: Money | Returns the price to show in Pinterest for the product. |
| productCategory: String | Returns the Pinterest category path of the product. |
| returnPolicy: String | Returns the Pinterest return policy of the product. |
| size: String | Returns the Pinterest size value label of the product. |
| title: String | Returns the Pinterest title of the product. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getAvailability() | Returns the availability of the Pinterest product. |
| getBrand() | Returns the Pinterest brand of the product. |
| getColor() | Returns the Pinterest color value label of the product. |
| getColorHex() | Returns the Pinterest color hex value of the product. |
| getColorImage() | Returns the URL of the image to show in Pinterest for the product color (swatch). |
| getCondition() | Returns the condition of the Pinterest product. |
| getDescription() | Returns the Pinterest description of the product. |
| getGoogleProductCategory() | Returns the category of this product in the Google category taxonomy. |
| getGtin() | Returns the Pinterest GTIN of the product. |
| getID() | Returns the ID of the Pinterest product. |
| getImageLinks() | Returns a list containing the URLs of the image to show in Pinterest for the product. |
| getItemGroupID() | Returns the ID of the Pinterest item group for the product, that is, its master product. |
| getItemGroupLink() | Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the Demandware storefront. |
| getLink() | Returns the URL of the Demandware storefront link to the product. |
| getMaxPrice() | Returns the maximum price to show in Pinterest for the product. |
| getMinPrice() | Returns the minimum price to show in Pinterest for the product. |
| getPrice() | Returns the price to show in Pinterest for the product. |
| getProductCategory() | Returns the Pinterest category path of the product. |
| getReturnPolicy() | Returns the Pinterest return policy of the product. |
| getSize() | Returns the Pinterest size value label of the product. |
| getTitle() | Returns the Pinterest title of the product. |
| setAvailability(String) | Sets the availability of the Pinterest product. |
| setBrand(String) | Sets the Pinterest brand of the product. |
| setColor(String) | Sets the Pinterest color value label of the product. |
| setColorHex(String) | Sets the Pinterest color hex value of the product. |
| setColorImage(URL) | Sets the URL of the image to show in Pinterest for the product color (swatch). |
| setCondition(String) | Sets the condition of the Pinterest product. |
| setDescription(String) | Sets the Pinterest description of the product. |
| setGoogleProductCategory(String) | Sets the category of this product in the Google category taxonomy. |
| setGtin(String) | Sets the Pinterest GTIN of the product. |
| setImageLinks(List) | Sets the list of URLs of images to show in Pinterest for the product. |
| setItemGroupID(String) | Sets the ID of the Pinterest item group for the product, that is, its master product. |
| setItemGroupLink(URL) | Sets the URL of the Pinterest item group for the product, that is, the link to its master product in the Demandware storefront. |
| setLink(URL) | Sets the URL of the Demandware storefront link to the product. |
| setMaxPrice(Money) | Sets the maximum price to show in Pinterest for the product. |
| setMinPrice(Money) | Sets the minimum price to show in Pinterest for the product. |
| setPrice(Money) | Sets the price to show in Pinterest for the product. |
| setProductCategory(String) | Sets the Pinterest category path of the product. |
| setReturnPolicy(String) | Sets the Pinterest return policy of the product. |
| setSize(String) | Sets the Pinterest size value label of the product. |
| setTitle(String) | Sets the Pinterest title of the 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
- AVAILABILITY_IN_STOCK: String = "in stock"
Indicates that the product is in stock.
- AVAILABILITY_OUT_OF_STOCK: String = "out of stock"
Indicates that the product is not in stock.
- AVAILABILITY_PREORDER: String = "preorder"
Indicates that the product is availabile in preorder.
- CONDITION_NEW: String = "new"
Indicates that the product has never been used.
- CONDITION_REFURBISHED: String = "refurbished"
Indicates that the product has been used but refurbished.
- CONDITION_USED: String = "used"
Indicates that the product has been used.
- ID: String
(read-only) Returns the ID of the Pinterest product. This is the same as the ID of the Demandware product.
- availability: String
Returns the availability of the Pinterest product. Possible values are AVAILABILITY_IN_STOCK or AVAILABILITY_OUT_OF_STOCK.
- brand: String
Returns the Pinterest brand of the product.
- color: String
Returns the Pinterest color value label of the product.
- colorHex: String
Returns the Pinterest color hex value of the product.
- colorImage: URL
Returns the URL of the image to show in Pinterest for the product color (swatch).
- condition: String
Returns the condition of the Pinterest product. Possible values are CONDITION_NEW, CONDITION_REFURBISHED, or CONDITION_USED.
- description: String
Returns the Pinterest description of the product.
- googleProductCategory: String
Returns the category of this product in the Google category taxonomy.
- gtin: String
Returns the Pinterest GTIN of the product.
- imageLinks: List
Returns a list containing the URLs of the image to show in Pinterest for the product.
- itemGroupID: String
Returns the ID of the Pinterest item group for the product, that is, its master product.
- itemGroupLink: URL
Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the Demandware storefront.
- link: URL
Returns the URL of the Demandware storefront link to the product.
- maxPrice: Money
Returns the maximum price to show in Pinterest for the product.
- minPrice: Money
Returns the minimum price to show in Pinterest for the product.
- price: Money
Returns the price to show in Pinterest for the product.
- productCategory: String
Returns the Pinterest category path of the product.
- returnPolicy: String
Returns the Pinterest return policy of the product.
- size: String
Returns the Pinterest size value label of the product.
- title: String
Returns the Pinterest title of the product.
- getAvailability(): String
Returns the availability of the Pinterest product. Possible values are AVAILABILITY_IN_STOCK or AVAILABILITY_OUT_OF_STOCK.
- getBrand(): String
Returns the Pinterest brand of the product.
- getColor(): String
Returns the Pinterest color value label of the product.
- getColorHex(): String
Returns the Pinterest color hex value of the product.
- getColorImage(): URL
Returns the URL of the image to show in Pinterest for the product color (swatch).
- getCondition(): String
Returns the condition of the Pinterest product. Possible values are CONDITION_NEW, CONDITION_REFURBISHED, or CONDITION_USED.
- getDescription(): String
Returns the Pinterest description of the product.
- getGoogleProductCategory(): String
Returns the category of this product in the Google category taxonomy.
- getGtin(): String
Returns the Pinterest GTIN of the product.
- getID(): String
Returns the ID of the Pinterest product. This is the same as the ID of the Demandware product.
Returns:
- product ID
- getImageLinks(): List
Returns a list containing the URLs of the image to show in Pinterest for the product.
- getItemGroupID(): String
Returns the ID of the Pinterest item group for the product, that is, its master product.
- getItemGroupLink(): URL
Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the Demandware storefront.
- getLink(): URL
Returns the URL of the Demandware storefront link to the product.
- getMaxPrice(): Money
Returns the maximum price to show in Pinterest for the product.
- getMinPrice(): Money
Returns the minimum price to show in Pinterest for the product.
- getPrice(): Money
Returns the price to show in Pinterest for the product.
- getProductCategory(): String
Returns the Pinterest category path of the product.
- getReturnPolicy(): String
Returns the Pinterest return policy of the product.
- getSize(): String
Returns the Pinterest size value label of the product.
- getTitle(): String
Returns the Pinterest title of the product.
- setAvailability(availability: String): void
Sets the availability of the Pinterest product. Possible values are AVAILABILITY_IN_STOCK or AVAILABILITY_OUT_OF_STOCK.
Parameters:
- availability - the availability status to set for this product
- setBrand(brand: String): void
Sets the Pinterest brand of the product.
Parameters:
- brand - Pinterest brand
- setColor(color: String): void
Sets the Pinterest color value label of the product.
Parameters:
- color - Pinterest color value label
- setColorHex(colorHex: String): void
Sets the Pinterest color hex value of the product.
Parameters:
- colorHex - Pinterest color hex value
- setColorImage(colorImage: URL): void
Sets the URL of the image to show in Pinterest for the product color (swatch).
Parameters:
- colorImage - link to Pinterest color image
- setCondition(condition: String): void
Sets the condition of the Pinterest product. Possible values are CONDITION_NEW, CONDITION_REFURBISHED, or CONDITION_USED.
Parameters:
- condition - the condition status to set for this product
- setDescription(description: String): void
Sets the Pinterest description of the product.
Parameters:
- description - Pinterest description
- setGoogleProductCategory(googleProductCategory: String): void
Sets the category of this product in the Google category taxonomy.
Parameters:
- googleProductCategory - Google product category
- setGtin(gtin: String): void
Sets the Pinterest GTIN of the product.
Parameters:
- gtin - Pinterest GTIN
- setImageLinks(imageLinks: List): void
Sets the list of URLs of images to show in Pinterest for the product.
Parameters:
- imageLinks - links to the product images
- setItemGroupID(itemGroupID: String): void
Sets the ID of the Pinterest item group for the product, that is, its master product.
Parameters:
- itemGroupID - ID of Pinterest item group
- setItemGroupLink(itemGroupLink: URL): void
Sets the URL of the Pinterest item group for the product, that is, the link to its master product in the Demandware storefront.
Parameters:
- itemGroupLink - link to the Pinterest item group
- setLink(link: URL): void
Sets the URL of the Demandware storefront link to the product.
Parameters:
- link - Demandware storefront link to the product
- setMaxPrice(maxPrice: Money): void
Sets the maximum price to show in Pinterest for the product.
Parameters:
- maxPrice - Pinterest maximum price
- setMinPrice(minPrice: Money): void
Sets the minimum price to show in Pinterest for the product.
Parameters:
- minPrice - Pinterest minimum price
- setPrice(price: Money): void
Sets the price to show in Pinterest for the product.
Parameters:
- price - Pinterest price
- setProductCategory(productCategory: String): void
Sets the Pinterest category path of the product.
Parameters:
- productCategory - Pinterest category path
- setReturnPolicy(returnPolicy: String): void
Sets the Pinterest return policy of the product.
Parameters:
- returnPolicy - Pinterest return policy
- setSize(size: String): void
Sets the Pinterest size value label of the product.
Parameters:
- size - Pinterest size value label
- setTitle(title: String): void
Sets the Pinterest title of the product.
Parameters:
- title - Pinterest title