Home > @poq/sdk-sfcc > ProductSearchHit
Document representing a product search hit.
Signature:
export declare class ProductSearchHit extends BaseModel<ProductSearchHit>
Extends: BaseModel<ProductSearchHit
Constructor | Modifiers | Description |
---|---|---|
(constructor)(params) | Constructs a new instance of the ProductSearchHit class |
Property | Modifiers | Type | Description |
---|---|---|---|
currency? | string | (Optional) The ISO 4217 mnemonic code of the currency. | |
hitType? | string | (Optional) The type information for the search hit. | |
image? | Image | (Optional) | |
link? | string | (Optional) The URL addressing the product. | |
orderable? | boolean | (Optional) A flag indicating whether the product is orderable. | |
price? | number | (Optional) The sales price of the product. In case of complex products like master or set this is the minimum price of related child products. | |
priceMax? | number | (Optional) The maximum sales of related child products in case of complex products like master or set. | |
pricePerUnit? | number | (Optional) The sales price per unit of the product. In case of complex products like master or set this is the minimum price per unit of related child products. | |
pricePerUnitMax? | number | (Optional) The maximum sales price per unit of related child products in case of complex products like master or set. | |
prices? | { [key: string]: number; } | (Optional) The prices map with price book ids and their values. | |
productId? | string | (Optional) The id (SKU) of the product. | |
productName? | string | (Optional) The localized name of the product. | |
productType? | ProductType | (Optional) | |
representedProduct? | ProductRef | (Optional) | |
representedProducts? | Array<ProductRef> | (Optional) All the represented products. | |
variationAttributes? | Array<VariationAttribute> | (Optional) The array of represented variation attributes (for the master product only). This array can be empty. |