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.
| Property | Description |
|---|---|
ID: String (read-only) | The ID of the SourceCodeGroup. |
priceBooks: Collection (read-only) | Returns a Collection of PriceBooks the SourceCodeGroup is assigned to. |
This class does not have a constructor, so you cannot create it directly.
| Method | Description |
|---|---|
| getID() | The ID of the SourceCodeGroup. |
| getPriceBooks() | Returns a Collection of PriceBooks the SourceCodeGroup is assigned to. |
getCreationDate, getLastModified, getUUID
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
- ID: String
(read-only) The ID of the SourceCodeGroup.
- priceBooks: Collection
(read-only) Returns a Collection of PriceBooks the SourceCodeGroup is assigned to.
- getID(): String
The ID of the SourceCodeGroup.
Returns:
- the ID.
- getPriceBooks(): Collection
Returns a Collection of PriceBooks the SourceCodeGroup is assigned to.
Returns:
- Collection of PriceBooks the SourceCodeGroup is assigned to.