ConfigurationOptionsInput Class
Namespace
Usage
This class holds the required details of the product configuration input. Set the class properties to enable default configuration, execution of configuration rules, and validation of the product catalog. Use these class properties as an input to the PlaceQuoteRLMApexProcessor class method.
Example
PlaceQuote.GraphRequest graph = new PlaceQuote.GraphRequest('test',listOfRecords);
PlaceQuote.PricingPreferenceEnum pricingPreference = PlaceQuote.PricingPreferenceEnum.System;
PlaceQuote.ConfigurationInputEnum configurationPreference = PlaceQuote.ConfigurationInputEnum.RunAndAllowErrors;
PlaceQuote.ConfigurationOptionsInput cInput = new PlaceQuote.ConfigurationOptionsInput();
cInput.addDefaultConfiguration = true;
cInput.executeConfigurationRules = true;
cInput.validateAmendRenewCancel = true;
cInput.validateProductCatalog = true;
//Place Quote Call
PlaceQuote.PlaceQuoteResponse resp = PlaceQuote.PlaceQuoteRLMApexProcessor.execute(pricingPreference,graph,configurationPreference,cInput);
ConfigurationOptionsInput Properties
The ConfigurationOptionsInput class includes these properties.
addDefaultConfiguration
Signature
public Boolean addDefaultConfiguration {get; set;}
Property Value
Type: Boolean
Indicates whether to automatically add default configuration to the order (true) or not (false).
executeConfigurationRules
Signature
public Boolean executeConfigurationRules {get; set;}
Property Value
Type: Boolean
Indicates whether the order must adhere to configuration rules during processing (true) or bypass them (false).
validateAmendRenewCancel
Signature
public Boolean validateAmendRenewCancel {get; set;}
Property Value
Type: Boolean
Indicates whether to run validations related to amend, renew, or cancel processes (true) or not (false).
ConfigurationOptionsInput Methods
The ConfigurationOptionsInput class includes these methods.
equals(obj)
Signature
public Boolean equals(Object obj)
Parameters
- obj
- Type: Object
- Reference object that’s used to compare with the class object.
Return Value
Type: Boolean
Indicates if the class object is same as the reference object (true) or not (false).