Create a charge breakdown lookup class
A charge breakdown lookup class defines the categories into which PolicyCenter splits the charges that it sends to a billing system for a policy period.
About this task
Procedure
- In Guidewire Studio, navigate to .
- Right-click bc5000 and click .
-
In New Gosu Class, type the
following name:
BOPLineChargeBreakdownCategoryLookup -
After the class name, type the following code:
extends DefaultChargeBreakdownCategoryLookup - Use the Studio hot key Alt-Enter to import the gw.billing.bc5000.DefaultChargeBreakdownCategoryLookup class.
-
On the empty line between the braces for the class code, call the constructor for the
parent class by typing the following code:
construct{super({})} -
Inside the innermost braces in the constructor argument, type the categories that you
want to use to itemize the billing charges.
For example, type the following entity names to categorize charges by liabilities, buildings, and vehicles:
BOPLiabilityCov, BOPBuildingCov, BusinessVehicleCovThe code in your class looks like the following:package gw.plugin.billing.bc5000 uses entity.BOPBuildingCov uses gw.billing.bc5000.DefaultChargeBreakdownCategoryLookup @Export class BOPLineChargeBreakdownCategoryLookup extends DefaultChargeBreakdownCategoryLookup { construct() { super({BOPLiabilityCov, BOPBuildingCov, BusinessVehicleCov}) } } -
Test the charge breakdowns:
- Start the integrated billing system.
- Start the PolicyCenter server.
- In PolicyCenter, issue a new businessowners policy.
- In the integrated billing system, search for the policy that you just created and examine the charges on that policy.
The billing system displays itemized charges. For example, in BillingCenter, the itemized charges appear in the Charge Breakdown tab for the transaction.
