CCPConfiguration
Representation of a product configuration. Contains the entities that describe a complex product: attributes of different types, groups of attributes, hierarchies of groups, statuses and messages. The attributes are typically connected through dependencies CCPConfiguration
export interface CCPConfiguration {
'complete'?: boolean;
'configId'?: string;
'consistent'?: boolean;
'groups'?: Array<CCPGroup>;
'hideBasePriceAndSelectedOptions'?: boolean;
'immediateConflictResolution'?: boolean;
'kbKey'?: CCPKBData;
'messages'?: Array<CCPMessage>;
'newConfiguration'?: boolean;
'pricingEnabled'?: boolean;
'quantity'?: number;
'rootProduct'?: string;
'totalNumberOfIssues'?: number;
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
complete | Optional | boolean | Configuration is complete, meaning each mandatory attribute has been specified {boolean} CCPConfiguration |
configId | Optional | string | Configuration Identifier. A randomly generated UUID owned by the product configurator {string} CCPConfiguration |
consistent | Optional | boolean | Configuration is consistent, meaning it contains no conflicts {boolean} CCPConfiguration |
groups | Optional | Array<CCPGroup> | Attribute groups {Array<CCPGroup>} CCPConfiguration |
hideBasePriceAndSelectedOptions | Optional | boolean | If active, price components 'base price' and 'selected options' are not provided, only the total price of a configuration is provided {boolean} CCPConfiguration |
immediateConflictResolution | Optional | boolean | Indicates that conflicts needs to be resolved immediately, before any other action is taken {boolean} CCPConfiguration |
kbKey | Optional | CCPKBData | {CCPKBData} CCPConfiguration |
messages | Optional | Array<CCPMessage> | Message list {Array<CCPMessage>} CCPConfiguration |
newConfiguration | Optional | boolean | Indicates whether the configuration is a new configuration {boolean} CCPConfiguration |
pricingEnabled | Optional | boolean | Pricing is enabled, meaning that pricing related APIs are called and prices are shown during configuration {boolean} CCPConfiguration |
quantity | Optional | number | Configuration quantity {number} CCPConfiguration |
rootProduct | Optional | string | Code of the configuration root product {string} CCPConfiguration |
totalNumberOfIssues | Optional | number | Total number of issues: sum of number of conflicts and number of incomplete mandatory field {number} CCPConfiguration |