Quoting processor plugin
The Quoting Processor plugin interface (QuotingProcessorPlugin) provides
the quoteSubmission method
to generate a policy and obtain a quote. PolicyCenter requires an account
and the producer code associated with the account to produce a quote.
This method calls the Quoting Data plugin (QuotingDataPlugin) to retrieve
an account. The quoteSubmission
method queries the PolicyCenter database to find the producer code associated
with the account.
The input parameters to quoteSubmission are:
productCode– The product code, such asPersonalAutoorWorkersComp. This is the Code defined in Product Model → Products in Product Designer.policyPeriodData– The policy period data in XML format,XMLElement. This is the data with which to populate the policy period. In the default implementation, the method expects the data in Guidewire XML format (GX Model):gw.webservice.pc.pc900.gxmodel.quotingpolicyperiodmodel.PolicyPeriod
The quoteSubmission method sends the quoting data to the Quoting Data plugin. The plugin saves the quoting data to an external database. The quoteSubmission method does not commit the policy period to the PolicyCenter database.
The quoteSubmission method returns a QuoteData object. This object contains a quote identifier and the quoting data formatted as a policy period in GX model format.
Logging
The quoting processor plugin logs messages
about quoting jobs (policy transactions) to the PCLoggerCategory.QUOTING category.
