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.
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