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

  1. Add an implementsEntity element to the rate factor entity.
    For Golf Cart, use Studio to add an implementsEntity element to the GORateFactor entity as follows:

    Property

    Value

    name

    RateFactor

  2. Add an implementsInterface element 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

    name

    gw.api.domain.RateFactorAdapter

    adapter

    gw.lob.go.GORateFactorAdapter

What to do next

Implement the rate factor delegate

Implement the rate factor delegate

Before you begin

Update the rate factor entity in the new line of business

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 configuration > gsrc. You can use gw.lob.bop.BOPRateFactorAdapter.gs as a model.