CPQ API OptionModel

The Option model represents a product option data model in Salesforce CPQ.
Available in: Salesforce CPQ Summer ’16 and later

Name Type Description
record SBQQ__ProductOption__c The record that this model represents.
externalConfigurationData Map<String,String> Internal property for the external configurator feature.
configurable Boolean Indicates whether the option is configurable.
configurationRequired Boolean Indicates whether the configuration of the option is required.
quantityEditable Boolean Indicates whether the quantity is editable. Editability is determined by the quantity and bundled fields on the option record.
priceEditable Boolean Indicates whether the price is editable. Editability is determined by the price editable field on the product record and the bundled field on the option record.
productQuantityScale Decimal Returns the value of the quantity scale field for the product being configured.
priorOptionExists Boolean Checks if this option is an asset on the account that the quote is associated with.
dependentIds Set<Id> The option IDs that depend on this option.
controllingGroups Map<String,Set<Id>> The option IDs that this option depends on.
exclusionGroups Map<String,Set<Id>> The option IDs that this option is exclusive with.
reconfigureDimensionWarning String Reconfigures the warning label for an option with segments.
hasDimension Boolean Indicates whether this option has dimensions or segments.
isUpgrade Boolean Indicates whether the product option is related to an upgrade product.
dynamicOptionKey String Internal property for dynamic options.
1public class OptionModel { 
2    public SBQQ__ProductOption__c record; 
3    public Map<String,String> externalConfigurationData; 
4    public Boolean configurable; 
5    public Boolean configurationRequired; 
6    public Boolean quantityEditable; 
7    public Boolean priceEditable; 
8    public Decimal productQuantityScale; 
9    public Boolean priorOptionExists; 
10    public Set<Id> dependentIds; 
11    public Map<String,Set<Id>> controllingGroups; 
12    public Map<String,Set<Id>> exclusionGroups; 
13    public String reconfigureDimensionWarning; 
14    public Boolean hasDimension; 
15    public Boolean isUpgrade; 
16    public String dynamicOptionKey; 
17}