Charge breakdown commissionable plugin
The charge breakdown commissionable plugin specifies to the billing system whether an individual charge breakdown in an itemized charge is commissionable. PolicyCenter triggers this plugin at the bind stage of a policy, before the policy is issued.
This plugin implements the IChargeBreakdownCommissionablePlugin interface,
which has a single method, isCommissionable. A typical implementation of
this method checks whether the transactions that make up a charge breakdown are
commissionable. In PolicyCenter, each transaction is identified as being commissionable or
not. The billing system, such as BillingCenter, does not have access to this granularity in a
charge. Each charge breakdown that PolicyCenter sends to the billing system is either
commissionable or not and cannot be partially commissionable.
Note: Having a mixture of
commissionable and non-commissionable transactions in a charge breakdown might mean that you
need to reconfigure the charge breakdowns.
PolicyCenter provides an implementation of this plugin interface in the
gw.plugin.billing.bc5000.ChargeBreakdownCommissionablePlugin class. In
the base configuration, taxes and surcharges are not commissionable. All other costs are
commissionable. To change this behavior, you modify the isCommissionable
method. For example, the following code specifies that personal auto liability is not
commissionable:
if (associatedTransactions*.Cost.allMatch(\c -> c typeis PersonalAutoCovCost and c.Coverage.PatternCode == "PALiabilityCov")) {
return false
}This plugin has no effect if the billing system does not accept commissionable information
about charge breakdowns. To instruct PolicyCenter to send commissionable information to the
billing system, you must set the EnableChargeBreakdownCommissionable
configuration parameter to true. The
EnableChargeBreakdowns configuration parameter must also be set to
true.
See also
- BillingCenter Application Guide
- Configuration Guide
