CPQ API ConfigAttributeModel

The ConfigAttribute model represents the configuration attribute object in Salesforce CPQ.

Required Editions
Available in: Salesforce CPQ Summer ’16 and later
NameTypeDescription
nameStringCorresponds directly to SBQQ__ConfigurationAttribute__c.Name.
targetFieldNameStringCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__TargetField__c.
displayOrderDecimalCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__DisplayOrder__c.
columnOrderStringCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__ColumnOrder__c.
requiredBooleanCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__Required__c.
featureIdIdCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__Feature__c.
positionStringCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__Position__c.
appliedImmediatelyBooleanCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__AppliedImmediately__c.
applyToProductOptionsBooleanCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__ApplyToProductOptions__c.
autoSelectBooleanCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__AutoSelect__c.
shownValuesString[]Corresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__ShownValues__c.
hiddenValuesString[]Corresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__HiddenValues__c.
hiddenBooleanCorresponds directly to SBQQ__ConfigurationAttribute__c.SBQQ__Hidden__c.
noSuchFieldNameStringIf no field with the target name exists, the target name is stored here.
myIdStringCorresponds directly to SBQQ__ConfigurationAttribute__c.Id.
1public class ConfigAttributeModel { 
2    public String name; 
3    public String targetFieldName; 
4    public Decimal displayOrder; 
5    public String colmnOrder;
6    public Boolean required;
7    public Id featureId;
8    public String position;
9    public Boolean appliedImmediately;
10    public Boolean applyToProductOptions;
11    public Boolean autoSelect;
12    public String[] shownValues;
13    public String[] hiddenValues;
14    public Boolean hidden;
15    public String noSuchFieldName;
16    public Id myId;
17}