Home > @poq/sdk-sfcc > ProductLink > (constructor)
Constructs a new instance of the ProductLink class
Signature:
constructor(params?: {
sourceProductId?: string;
sourceProductLink?: string;
targetProductId?: string;
targetProductLink?: string;
type?: ProductLinkTypeEnum;
});
| Parameter | Type | Description |
|---|---|---|
| params | { sourceProductId?: string; sourceProductLink?: string; targetProductId?: string; targetProductLink?: string; type?: ProductLinkTypeEnum; } | (Optional) |