dw.extensions.pinterest
Class PinterestAvailability
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.
setAvailability(availability
:
String)
:
void
Sets the availability of the Pinterest product.
Methods inherited from class
Object
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
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
© Copyright 2000-2024, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.