Creating the rate factor delegate
Create the rate factor delegate for the new line of business. The rate factor delegate implements the methods for the rate factor.
Update the rate factor entity in the new line of business
About this task
In the new line of business, add the rate factor delegate to the rate factor entity.
Procedure
-
Add an
implementsEntityelement to the rate factor entity.For Golf Cart, use Studio to add animplementsEntityelement to the GORateFactor entity as follows:Property
Value
nameRateFactor
-
Add an
implementsInterfaceelement to the entity. This element references the Gosu class that defines the adapter methods and properties.For the Golf Cart line, enter the following values:Property
Value
namegw.api.domain.RateFactorAdapter
adaptergw.lob.go.GORateFactorAdapter
What to do next
Implement the rate factor delegate
Before you begin
About this task
Implement the rate factor delegate in the new line of business.
Procedure
Use Studio to create the rate factor delegate
gw.lob.go.GORateFactorAdapter.gs in
. You can use
gw.lob.bop.BOPRateFactorAdapter.gs as a model.
