# Class PinterestProduct

- [TopLevel.Object](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md)
  - [dw.extensions.pinterest.PinterestProduct](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md)

Represents a row in the Pinterest catalog feed export.

## Constant Summary

| Constant                                                                                                                                                     | Description                                               |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- |
| [AVAILABILITY_IN_STOCK](#availability_in_stock): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "in stock"             | Indicates that the product is in stock.                   |
| [AVAILABILITY_OUT_OF_STOCK](#availability_out_of_stock): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "out of stock" | Indicates that the product is not in stock.               |
| [AVAILABILITY_PREORDER](#availability_preorder): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "preorder"             | Indicates that the product is availabile in preorder.     |
| [CONDITION_NEW](#condition_new): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "new"                                  | Indicates that the product has never been used.           |
| [CONDITION_REFURBISHED](#condition_refurbished): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "refurbished"          | Indicates that the product has been used but refurbished. |
| [CONDITION_USED](#condition_used): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "used"                               | Indicates that the product has been used.                 |

## Property Summary

| Property                                                                                                                            | Description                                                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
| [ID](#id): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) `(read-only)`                         | Returns the ID of the Pinterest product.                                                                                            |
| [availability](#availability): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                   | Returns the availability of the Pinterest product.                                                                                  |
| [brand](#brand): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                 | Returns the Pinterest brand of the product.                                                                                         |
| [color](#color): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                 | Returns the Pinterest color value label of the product.                                                                             |
| [colorHex](#colorhex): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                           | Returns the Pinterest color hex value of the product.                                                                               |
| [colorImage](#colorimage): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)                               | Returns the URL of the image to show in Pinterest for the product color (swatch).                                                   |
| [condition](#condition): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                         | Returns the condition of the Pinterest product.                                                                                     |
| [description](#description): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                     | Returns the Pinterest description of the product.                                                                                   |
| [googleProductCategory](#googleproductcategory): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) | Returns the category of this product in the Google category taxonomy.                                                               |
| [gtin](#gtin): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                   | Returns the Pinterest GTIN of the product.                                                                                          |
| [imageLinks](#imagelinks): [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)                            | Returns a list containing the URLs of the image to show in Pinterest for the product.                                               |
| [itemGroupID](#itemgroupid): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                     | Returns the ID of the Pinterest item group for the product, that is, its master product.                                            |
| [itemGroupLink](#itemgrouplink): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)                         | Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the  Demandware storefront. |
| [link](#link): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)                                           | Returns the URL of the Demandware storefront link to the product.                                                                   |
| [maxPrice](#maxprice): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)                             | Returns the maximum price to show in Pinterest for the product.                                                                     |
| [minPrice](#minprice): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)                             | Returns the minimum price to show in Pinterest for the product.                                                                     |
| [price](#price): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)                                   | Returns the price to show in Pinterest for the product.                                                                             |
| [productCategory](#productcategory): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)             | Returns the Pinterest category path of the product.                                                                                 |
| [returnPolicy](#returnpolicy): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                   | Returns the Pinterest return policy of the product.                                                                                 |
| [size](#size): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                   | Returns the Pinterest size value label of the product.                                                                              |
| [title](#title): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)                                 | Returns the Pinterest title of the product.                                                                                         |

## Constructor Summary

This class does not have a constructor, so you cannot create it directly.

## Method Summary

| Method                                                                                                                                                                                                                                           | Description                                                                                                                         |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- |
| [getAvailability](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getavailability)()                                                                                                           | Returns the availability of the Pinterest product.                                                                                  |
| [getBrand](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getbrand)()                                                                                                                         | Returns the Pinterest brand of the product.                                                                                         |
| [getColor](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getcolor)()                                                                                                                         | Returns the Pinterest color value label of the product.                                                                             |
| [getColorHex](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getcolorhex)()                                                                                                                   | Returns the Pinterest color hex value of the product.                                                                               |
| [getColorImage](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getcolorimage)()                                                                                                               | Returns the URL of the image to show in Pinterest for the product color (swatch).                                                   |
| [getCondition](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getcondition)()                                                                                                                 | Returns the condition of the Pinterest product.                                                                                     |
| [getDescription](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getdescription)()                                                                                                             | Returns the Pinterest description of the product.                                                                                   |
| [getGoogleProductCategory](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getgoogleproductcategory)()                                                                                         | Returns the category of this product in the Google category taxonomy.                                                               |
| [getGtin](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getgtin)()                                                                                                                           | Returns the Pinterest GTIN of the product.                                                                                          |
| [getID](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getid)()                                                                                                                               | Returns the ID of the Pinterest product.                                                                                            |
| [getImageLinks](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getimagelinks)()                                                                                                               | Returns a list containing the URLs of the image to show in Pinterest for the product.                                               |
| [getItemGroupID](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getitemgroupid)()                                                                                                             | Returns the ID of the Pinterest item group for the product, that is, its master product.                                            |
| [getItemGroupLink](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#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](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getlink)()                                                                                                                           | Returns the URL of the Demandware storefront link to the product.                                                                   |
| [getMaxPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getmaxprice)()                                                                                                                   | Returns the maximum price to show in Pinterest for the product.                                                                     |
| [getMinPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getminprice)()                                                                                                                   | Returns the minimum price to show in Pinterest for the product.                                                                     |
| [getPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getprice)()                                                                                                                         | Returns the price to show in Pinterest for the product.                                                                             |
| [getProductCategory](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getproductcategory)()                                                                                                     | Returns the Pinterest category path of the product.                                                                                 |
| [getReturnPolicy](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getreturnpolicy)()                                                                                                           | Returns the Pinterest return policy of the product.                                                                                 |
| [getSize](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#getsize)()                                                                                                                           | Returns the Pinterest size value label of the product.                                                                              |
| [getTitle](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#gettitle)()                                                                                                                         | Returns the Pinterest title of the product.                                                                                         |
| [setAvailability](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setavailabilitystring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                   | Sets the availability of the Pinterest product.                                                                                     |
| [setBrand](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setbrandstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                 | Sets the Pinterest brand of the product.                                                                                            |
| [setColor](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setcolorstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                 | Sets the Pinterest color value label of the product.                                                                                |
| [setColorHex](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setcolorhexstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                           | Sets the Pinterest color hex value of the product.                                                                                  |
| [setColorImage](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setcolorimageurl)([URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md))                                  | Sets the URL of the image to show in Pinterest for the product color (swatch).                                                      |
| [setCondition](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setconditionstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                         | Sets the condition of the Pinterest product.                                                                                        |
| [setDescription](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setdescriptionstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                     | Sets the Pinterest description of the product.                                                                                      |
| [setGoogleProductCategory](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setgoogleproductcategorystring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)) | Sets the category of this product in the Google category taxonomy.                                                                  |
| [setGtin](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setgtinstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                   | Sets the Pinterest GTIN of the product.                                                                                             |
| [setImageLinks](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setimagelinkslist)([List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md))                              | Sets the list of URLs of images to show in Pinterest for the product.                                                               |
| [setItemGroupID](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setitemgroupidstring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                     | Sets the ID of the Pinterest item group for the product, that is, its master product.                                               |
| [setItemGroupLink](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setitemgrouplinkurl)([URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md))                            | Sets the URL of the Pinterest item group for the product, that is, the link to its master product in the  Demandware storefront.    |
| [setLink](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setlinkurl)([URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md))                                              | Sets the URL of the Demandware storefront link to the product.                                                                      |
| [setMaxPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setmaxpricemoney)([Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md))                              | Sets the maximum price to show in Pinterest for the product.                                                                        |
| [setMinPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setminpricemoney)([Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md))                              | Sets the minimum price to show in Pinterest for the product.                                                                        |
| [setPrice](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setpricemoney)([Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md))                                    | Sets the price to show in Pinterest for the product.                                                                                |
| [setProductCategory](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setproductcategorystring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))             | Sets the Pinterest category path of the product.                                                                                    |
| [setReturnPolicy](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setreturnpolicystring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                   | Sets the Pinterest return policy of the product.                                                                                    |
| [setSize](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#setsizestring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                   | Sets the Pinterest size value label of the product.                                                                                 |
| [setTitle](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#settitlestring)([String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md))                                 | Sets the Pinterest title of the product.                                                                                            |

### Methods inherited from class Object

[assign](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#assignobject-object), [create](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#createobject), [create](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#createobject-object), [defineProperties](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#definepropertiesobject-object), [defineProperty](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#definepropertyobject-object-object), [entries](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#entriesobject), [freeze](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#freezeobject), [fromEntries](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#fromentriesiterable), [getOwnPropertyDescriptor](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getownpropertydescriptorobject-object), [getOwnPropertyNames](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getownpropertynamesobject), [getOwnPropertySymbols](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getownpropertysymbolsobject), [getPrototypeOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#getprototypeofobject), [hasOwnProperty](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#hasownpropertystring), [is](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isobject-object), [isExtensible](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isextensibleobject), [isFrozen](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isfrozenobject), [isPrototypeOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#isprototypeofobject), [isSealed](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#issealedobject), [keys](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#keysobject), [preventExtensions](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#preventextensionsobject), [propertyIsEnumerable](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#propertyisenumerablestring), [seal](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#sealobject), [setPrototypeOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#setprototypeofobject-object), [toLocaleString](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#tolocalestring), [toString](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#tostring), [valueOf](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#valueof), [values](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.Object.md#valuesobject)

## Constant Details

### AVAILABILITY_IN_STOCK

- AVAILABILITY_IN_STOCK: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "in stock"
  - : Indicates that the product is in stock.

***

### AVAILABILITY_OUT_OF_STOCK

- AVAILABILITY_OUT_OF_STOCK: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "out of stock"
  - : Indicates that the product is not in stock.

***

### AVAILABILITY_PREORDER

- AVAILABILITY_PREORDER: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "preorder"
  - : Indicates that the product is availabile in preorder.

***

### CONDITION_NEW

- CONDITION_NEW: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "new"
  - : Indicates that the product has never been used.

***

### CONDITION_REFURBISHED

- CONDITION_REFURBISHED: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "refurbished"
  - : Indicates that the product has been used but refurbished.

***

### CONDITION_USED

- CONDITION_USED: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) = "used"
  - : Indicates that the product has been used.

***

## Property Details

### ID

- ID: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md) `(read-only)`
  - : Returns the ID of the Pinterest product. This is the same as the ID of the Demandware product.

***

### availability

- availability: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the availability of the Pinterest product. Possible values are
    [AVAILABILITY_IN_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#availability_in_stock) or
    [AVAILABILITY_OUT_OF_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#availability_out_of_stock).

***

### brand

- brand: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest brand of the product.

***

### color

- color: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest color value label of the product.

***

### colorHex

- colorHex: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest color hex value of the product.

***

### colorImage

- colorImage: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the image to show in Pinterest for the product color (swatch).

***

### condition

- condition: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the condition of the Pinterest product. Possible values are
    [CONDITION_NEW](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_new),
    [CONDITION_REFURBISHED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_refurbished), or
    [CONDITION_USED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_used).

***

### description

- description: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest description of the product.

***

### googleProductCategory

- googleProductCategory: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the category of this product in the Google category taxonomy.

***

### gtin

- gtin: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest GTIN of the product.

***

### imageLinks

- imageLinks: [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)
  - : Returns a list containing the URLs of the image to show in Pinterest for the product.

***

### itemGroupID

- itemGroupID: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the ID of the Pinterest item group for the product, that is, its master product.

***

### itemGroupLink

- itemGroupLink: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the
    Demandware storefront.

***

### link

- link: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the Demandware storefront link to the product.

***

### maxPrice

- maxPrice: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the maximum price to show in Pinterest for the product.

***

### minPrice

- minPrice: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the minimum price to show in Pinterest for the product.

***

### price

- price: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the price to show in Pinterest for the product.

***

### productCategory

- productCategory: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest category path of the product.

***

### returnPolicy

- returnPolicy: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest return policy of the product.

***

### size

- size: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest size value label of the product.

***

### title

- title: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest title of the product.

***

## Method Details

### getAvailability()

- getAvailability(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the availability of the Pinterest product. Possible values are
    [AVAILABILITY_IN_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#availability_in_stock) or
    [AVAILABILITY_OUT_OF_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#availability_out_of_stock).

***

### getBrand()

- getBrand(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest brand of the product.

***

### getColor()

- getColor(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest color value label of the product.

***

### getColorHex()

- getColorHex(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest color hex value of the product.

***

### getColorImage()

- getColorImage(): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the image to show in Pinterest for the product color (swatch).

***

### getCondition()

- getCondition(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the condition of the Pinterest product. Possible values are
    [CONDITION_NEW](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_new),
    [CONDITION_REFURBISHED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_refurbished), or
    [CONDITION_USED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_used).

***

### getDescription()

- getDescription(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest description of the product.

***

### getGoogleProductCategory()

- getGoogleProductCategory(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the category of this product in the Google category taxonomy.

***

### getGtin()

- getGtin(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest GTIN of the product.

***

### getID()

- getID(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the ID of the Pinterest product. This is the same as the ID of the Demandware product.

    **Returns:**

    - product ID

***

### getImageLinks()

- getImageLinks(): [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)
  - : Returns a list containing the URLs of the image to show in Pinterest for the product.

***

### getItemGroupID()

- getItemGroupID(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the ID of the Pinterest item group for the product, that is, its master product.

***

### getItemGroupLink()

- getItemGroupLink(): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the Pinterest item group for the product, that is, the link to its master product in the
    Demandware storefront.

***

### getLink()

- getLink(): [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)
  - : Returns the URL of the Demandware storefront link to the product.

***

### getMaxPrice()

- getMaxPrice(): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the maximum price to show in Pinterest for the product.

***

### getMinPrice()

- getMinPrice(): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the minimum price to show in Pinterest for the product.

***

### getPrice()

- getPrice(): [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)
  - : Returns the price to show in Pinterest for the product.

***

### getProductCategory()

- getProductCategory(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest category path of the product.

***

### getReturnPolicy()

- getReturnPolicy(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest return policy of the product.

***

### getSize()

- getSize(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest size value label of the product.

***

### getTitle()

- getTitle(): [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)
  - : Returns the Pinterest title of the product.

***

### setAvailability(String)

- setAvailability(availability: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the availability of the Pinterest product. Possible values are
    [AVAILABILITY_IN_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#availability_in_stock) or
    [AVAILABILITY_OUT_OF_STOCK](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#availability_out_of_stock).

    **Parameters:**

    - availability - the availability status to set for this product

***

### setBrand(String)

- setBrand(brand: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest brand of the product.

    **Parameters:**

    - brand - Pinterest brand

***

### setColor(String)

- setColor(color: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest color value label of the product.

    **Parameters:**

    - color - Pinterest color value label

***

### setColorHex(String)

- setColorHex(colorHex: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest color hex value of the product.

    **Parameters:**

    - colorHex - Pinterest color hex value

***

### setColorImage(URL)

- setColorImage(colorImage: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)): void
  - : Sets the URL of the image to show in Pinterest for the product color (swatch).

    **Parameters:**

    - colorImage - link to Pinterest color image

***

### setCondition(String)

- setCondition(condition: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the condition of the Pinterest product. Possible values are
    [CONDITION_NEW](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_new),
    [CONDITION_REFURBISHED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_refurbished), or
    [CONDITION_USED](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.extensions.pinterest.PinterestProduct.md#condition_used).

    **Parameters:**

    - condition - the condition status to set for this product

***

### setDescription(String)

- setDescription(description: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest description of the product.

    **Parameters:**

    - description - Pinterest description

***

### setGoogleProductCategory(String)

- setGoogleProductCategory(googleProductCategory: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the category of this product in the Google category taxonomy.

    **Parameters:**

    - googleProductCategory - Google product category

***

### setGtin(String)

- setGtin(gtin: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest GTIN of the product.

    **Parameters:**

    - gtin - Pinterest GTIN

***

### setImageLinks(List)

- setImageLinks(imageLinks: [List](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.util.List.md)): void
  - : Sets the list of URLs of images to show in Pinterest for the product.

    **Parameters:**

    - imageLinks - links to the product images

***

### setItemGroupID(String)

- setItemGroupID(itemGroupID: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): 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(URL)

- setItemGroupLink(itemGroupLink: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)): 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(URL)

- setLink(link: [URL](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.web.URL.md)): void
  - : Sets the URL of the Demandware storefront link to the product.

    **Parameters:**

    - link - Demandware storefront link to the product

***

### setMaxPrice(Money)

- setMaxPrice(maxPrice: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)): void
  - : Sets the maximum price to show in Pinterest for the product.

    **Parameters:**

    - maxPrice - Pinterest maximum price

***

### setMinPrice(Money)

- setMinPrice(minPrice: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)): void
  - : Sets the minimum price to show in Pinterest for the product.

    **Parameters:**

    - minPrice - Pinterest minimum price

***

### setPrice(Money)

- setPrice(price: [Money](/docs/commerce/b2c-commerce/references/b2c-script-api/dw.value.Money.md)): void
  - : Sets the price to show in Pinterest for the product.

    **Parameters:**

    - price - Pinterest price

***

### setProductCategory(String)

- setProductCategory(productCategory: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest category path of the product.

    **Parameters:**

    - productCategory - Pinterest category path

***

### setReturnPolicy(String)

- setReturnPolicy(returnPolicy: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest return policy of the product.

    **Parameters:**

    - returnPolicy - Pinterest return policy

***

### setSize(String)

- setSize(size: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest size value label of the product.

    **Parameters:**

    - size - Pinterest size value label

***

### setTitle(String)

- setTitle(title: [String](/docs/commerce/b2c-commerce/references/b2c-script-api/TopLevel.String.md)): void
  - : Sets the Pinterest title of the product.

    **Parameters:**

    - title - Pinterest title

***
