Create the line-level interface

Before you begin

Declare interface for cost methods

Procedure

  1. In Studio, navigate in configuration > gsrc to the gw.lob.line.financials package.
    For Golf Cart, navigate to gw.lob.go.financials.
  2. Right-click the financials node, and then select New > Gosu Class. In the New Gosu Class dialog box, enter the name of the interface.
    For Golf Cart, enter GOCostMethods.
  3. In GOCostMethods, change class to structure.
  4. Add code for the line level interface.
    For Golf Cart, add the following code for the interface for GOCostMethods:
    package gw.lob.ho.financials
     
    interface GOCostMethods {
      property get Coverage() : Coverage
    property get State() : Jurisdiction
    }

What to do next

Create the generic cost method implementation