Script: Class dw.catalog.Store
Class Store
- Object
- dw.object.PersistentObject
- dw.object.ExtensibleObject
- dw.catalog.Store
- dw.object.ExtensibleObject
- dw.object.PersistentObject
Represents a store in Commerce Cloud Digital.
Properties
address1 : String Read Only
The address1 of the store.
address2 : String Read Only
The address2 of the store.
city : String Read Only
The city of the store.
countryCode : EnumValue Read Only
The countryCode of the store.
demandwarePosEnabled : boolean Read Only
The demandwarePosEnabled flag for the store. Indicates that this store uses Commerce Cloud Store for point-of-sale.
Deprecated:
Use isPosEnabled() instead
email : String Read Only
The email of the store.
fax : String Read Only
The fax of the store.
ID : String Read Only
The ID of the store.
image : MediaFile Read Only
The store image.
inventoryList : ProductInventoryList Read Only
The inventory list the store is associated with. If the store is not associated with a inventory list, or the inventory list does not exist, the method returns null.
inventoryListID : String Read Only
The inventory list id the store is associated with. If the store is not associated with a inventory list, or the inventory list does not exist, the method returns null.
latitude : Number Read Only
The latitude of the store.
longitude : Number Read Only
The longitude of the store.
name : String Read Only
The name of the store.
phone : String Read Only
The phone of the store.
posEnabled : boolean Read Only
The posEnabled flag for the Store. Indicates that this store uses Commerce Cloud Store for point-of-sale.
postalCode : String Read Only
The postalCode of the store.
stateCode : String Read Only
The stateCode of the store.
storeEvents : MarkupText Read Only
The storeEvents of the store.
storeGroups : Collection Read Only
All the store groups this store belongs to.
storeHours : MarkupText Read Only
The storeHours of the store.
storeLocatorEnabled : boolean Read Only
The storeLocatorEnabled flag for the store.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
getAddress1() : String
Returns the address1 of the store.
getAddress2() : String
Returns the address2 of the store.
Returns the city of the store.
Returns the countryCode of the store.
Returns the email of the store.
Returns the fax of the store.
Returns the ID of the store.
Returns the store image.
getInventoryList() : ProductInventoryList
Returns the inventory list the store is associated with.
Returns the inventory list id the store is associated with.
getLatitude() : Number
Returns the latitude of the store.
getLongitude() : Number
Returns the longitude of the store.
Returns the name of the store.
Returns the phone of the store.
getPostalCode() : String
Returns the postalCode of the store.
getStateCode() : String
Returns the stateCode of the store.
Returns the storeEvents of the store.
Returns all the store groups this store belongs to.
Returns the storeHours of the store.
isDemandwarePosEnabled() : boolean
Returns the demandwarePosEnabled flag for the store.
isPosEnabled() : boolean
Returns the posEnabled flag for the Store.
isStoreLocatorEnabled() : boolean
Returns the storeLocatorEnabled flag for the store.
Methods inherited from class ExtensibleObject
Methods inherited from class PersistentObject
getCreationDate, getLastModified, getUUID
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
getAddress1
getAddress1() : String
Returns the address1 of the store.
Returns:
address1 of the store
getAddress2
getAddress2() : String
Returns the address2 of the store.
Returns:
address2 of the store
getCity
getCity() : String
Returns the city of the store.
Returns:
city of the store
getCountryCode
getCountryCode() : EnumValue
Returns the countryCode of the store.
Returns:
countryCode of the store
getEmail
getEmail() : String
Returns the email of the store.
Returns:
email of the store
getFax
getFax() : String
Returns the fax of the store.
Returns:
fax of the store
getID
getID() : String
Returns the ID of the store.
Returns:
ID of the store
getImage
getImage() : MediaFile
Returns the store image.
Returns:
the store image.
getInventoryList
getInventoryList() : ProductInventoryList
Returns the inventory list the store is associated with. If the store is not associated with a inventory list, or the inventory list does not exist, the method returns null.
Returns:
ProductInventoryList or null
getInventoryListID
getInventoryListID() : String
Returns the inventory list id the store is associated with. If the store is not associated with a inventory list, or the inventory list does not exist, the method returns null.
Returns:
the inventory list id
getLatitude
getLatitude() : Number
Returns the latitude of the store.
Returns:
latitude of the store
getLongitude
getLongitude() : Number
Returns the longitude of the store.
Returns:
longitude of the store
getName
getName() : String
Returns the name of the store.
Returns:
name of the store
getPhone
getPhone() : String
Returns the phone of the store.
Returns:
phone of the store
getPostalCode
getPostalCode() : String
Returns the postalCode of the store.
Returns:
postalCode of the store
getStateCode
getStateCode() : String
Returns the stateCode of the store.
Returns:
stateCode of the store
getStoreEvents
getStoreEvents() : MarkupText
Returns the storeEvents of the store.
Returns:
storeEvents of the store
getStoreGroups
getStoreGroups() : Collection
Returns all the store groups this store belongs to.
Returns:
collection of store groups
getStoreHours
getStoreHours() : MarkupText
Returns the storeHours of the store.
Returns:
storeHours of the store
isDemandwarePosEnabled
isDemandwarePosEnabled() : boolean
Returns the demandwarePosEnabled flag for the store. Indicates that this store uses Commerce Cloud Store for point-of-sale.
Deprecated:
Use isPosEnabled() instead
Returns:
the demandwarePosEnabled flag
isPosEnabled
isPosEnabled() : boolean
Returns the posEnabled flag for the Store. Indicates that this store uses Commerce Cloud Store for point-of-sale.
Returns:
the posEnabled flag
isStoreLocatorEnabled
isStoreLocatorEnabled() : boolean
Returns the storeLocatorEnabled flag for the store.
Returns:
the storeLocatorEnabled flag