Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.extensions.pinterest
dw.extensions.pinterest
Class PinterestAvailability
Object
dw.extensions.pinterest.PinterestAvailability
Represents a row in the Pinterest availability feed export file.
Properties
availability  :  String
The availability of the Pinterest product. Possible values are PinterestProduct.AVAILABILITY_IN_STOCK or PinterestProduct.AVAILABILITY_OUT_OF_STOCK.

ID  :  String  (Read Only)
The ID of the Pinterest product. This is the same as the ID of the Demandware product.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getAvailability() : String
Returns the availability of the Pinterest product.
getID() : String
Returns the ID of the Pinterest product.
setAvailability(availability : String) : void
Sets the availability of the Pinterest product.
Methods inherited from class Object
Method Detail
getAvailability
getAvailability() : String
Returns the availability of the Pinterest product. Possible values are PinterestProduct.AVAILABILITY_IN_STOCK or PinterestProduct.AVAILABILITY_OUT_OF_STOCK.


getID
getID() : String
Returns the ID of the Pinterest product. This is the same as the ID of the Demandware product.
Returns:
product ID

setAvailability
setAvailability(availability : String) : void
Sets the availability of the Pinterest product. Possible values are PinterestProduct.AVAILABILITY_IN_STOCK or PinterestProduct.AVAILABILITY_OUT_OF_STOCK.

Parameters:
availability - the availability status to set for this product

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.