sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
96 lines (49 loc) • 1.66 kB
Markdown
## Package: dw.catalog
# Class CategoryLink
## Inheritance Hierarchy
- Object
- dw.catalog.CategoryLink
## Description
A CategoryLink represents a directed relationship between two catalog categories. Merchants create category links in order to market similar or related groups of products.
## Constants
## Properties
### sourceCategory
**Type:** Category (Read Only)
The object for the relation 'sourceCategory'.
### targetCategory
**Type:** Category (Read Only)
The object for the relation 'targetCategory'.
### typeCode
**Type:** Number (Read Only)
The type of this category link (see constants).
## Constructor Summary
## Method Summary
### getSourceCategory
**Signature:** `getSourceCategory() : Category`
Returns the object for the relation 'sourceCategory'.
### getTargetCategory
**Signature:** `getTargetCategory() : Category`
Returns the object for the relation 'targetCategory'.
### getTypeCode
**Signature:** `getTypeCode() : Number`
Returns the type of this category link (see constants).
## Method Detail
## Method Details
### getSourceCategory
**Signature:** `getSourceCategory() : Category`
**Description:** Returns the object for the relation 'sourceCategory'.
**Returns:**
the object for the relation 'sourceCategory'
### getTargetCategory
**Signature:** `getTargetCategory() : Category`
**Description:** Returns the object for the relation 'targetCategory'.
**Returns:**
the object for the relation 'targetCategory'
### getTypeCode
**Signature:** `getTypeCode() : Number`
**Description:** Returns the type of this category link (see constants).
**Returns:**
the type of the link.