sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
96 lines (49 loc) • 1.4 kB
Markdown
## Package: dw.catalog
# Class ProductLink
## Inheritance Hierarchy
- Object
- dw.catalog.ProductLink
## Description
The class represents a link between two products.
## Constants
## Properties
### sourceProduct
**Type:** Product (Read Only)
The source product for this link.
### targetProduct
**Type:** Product (Read Only)
The target product for this link.
### typeCode
**Type:** Number (Read Only)
The type of this link (see constants).
## Constructor Summary
## Method Summary
### getSourceProduct
**Signature:** `getSourceProduct() : Product`
Returns the source product for this link.
### getTargetProduct
**Signature:** `getTargetProduct() : Product`
Returns the target product for this link.
### getTypeCode
**Signature:** `getTypeCode() : Number`
Returns the type of this link (see constants).
## Method Detail
## Method Details
### getSourceProduct
**Signature:** `getSourceProduct() : Product`
**Description:** Returns the source product for this link.
**Returns:**
the source product for this link.
### getTargetProduct
**Signature:** `getTargetProduct() : Product`
**Description:** Returns the target product for this link.
**Returns:**
the target product for this link.
### getTypeCode
**Signature:** `getTypeCode() : Number`
**Description:** Returns the type of this link (see constants).
**Returns:**
the type of the link.