Script: Class dw.campaign.SourceCodeGroup

Class SourceCodeGroup

A source code group defines a collection of source codes. Source code groups are generally pattern based and any source code satisfying the pattern belongs to the group. In this way, merchants may define a large set of source codes which qualify a customer for site experiences (different prices, for example), which customers without that source code do not receive. The class SourceCodeInfo represents an individual source code.

Properties

ID : String Read Only

The ID of the SourceCodeGroup.

priceBooks : Collection Read Only

A Collection of PriceBooks the SourceCodeGroup is assigned to.

Constructor Summary

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

Method Summary

getID() : String

The ID of the SourceCodeGroup.

getPriceBooks() : Collection

Returns a Collection of PriceBooks the SourceCodeGroup is assigned to.

Methods inherited from class ExtensibleObject

describe, getCustom

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

getID

getID() : String

The ID of the SourceCodeGroup.

Returns:

the ID.

getPriceBooks

getPriceBooks() : Collection

Returns a Collection of PriceBooks the SourceCodeGroup is assigned to.

Returns:

Collection of PriceBooks the SourceCodeGroup is assigned to.