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 Summary 

PropertyDescription
ID: String (read-only)The ID of the SourceCodeGroup.
priceBooks: Collection (read-only)Returns 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 

MethodDescription
getID()The ID of the SourceCodeGroup.
getPriceBooks()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

Property Details 

ID 

ID: String (read-only)

The ID of the SourceCodeGroup.


priceBooks 

priceBooks: Collection (read-only)

Returns a Collection of PriceBooks the SourceCodeGroup is assigned to.


Method Details 

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.