CPQ API ConfigurationModel

The Configuration model represents a bundle product in Salesforce CPQ.

Required Editions
Available in: Salesforce CPQ Summer ’16 and later
NameTypeDescription
configuredProductIdIdThe Product2.Id.
optionIdIdThe SBQQ__ProductOption__c.Id.
optionDataSBQQ__ProductOption__cEditable data about the option, such as quantity or discount.
configurationDataSBQQ__ProductOption__cStores the values of the configuration attributes.
inheritedConfigurationDataSBQQ__ProductOption__cStores the values of the inherited configuration attributes.
optionConfigurationsConfigurationModelStores the options selected on this product.
configuredBooleanIndicates whether the product has been configured.
changedByProductActionsBooleanIndicates whether a product action changed the configuration of this bundle.
isDynamicOptionBooleanIndicates whether the product was configured using a dynamic lookup.
isUpgradeBooleanQueries whether this product is an upgrade.
disabledOptionIdsSet<Id>The option IDs that are disabled.
hiddenOptionIdsSet<Id>The option IDs that are hidden.
listPriceDecimalThe list price.
priceEditableBooleanIndicates whether the price is editable.
validationMessagesString[]Validation messages.
dynamicOptionKeyStringInternal property for dynamic options.
1public class ConfigurationModel { 
2    public Id configuredProductId; 
3    public Id optionId; 
4    public SBQQ__ProductOption__c optionData; // Editable data about the option in question, such as quantity or discount 
5    public SBQQ__ProductOption__c configurationData; 
6    public SBQQ__ProductOption__c inheritedConfigurationData; 
7    public ConfigurationModel[] optionConfigurations; 
8    public Boolean configured; 
9    public Boolean changedByProductActions; 
10    public Boolean isDynamicOption; 
11    public Boolean isUpgrade; 
12    public Set<Id> disabledOptionIds; 
13    public Set<Id> hiddenOptionIds; 
14    public Decimal listPrice; 
15    public Boolean priceEditable; 
16    public String[] validationMessages; 
17    public String dynamicOptionKey; 
18}