Declare cost adapter in abstract cost

About this task

Use Studio to add an implementsEntity element to the abstract cost entity.

Procedure

  1. For the Golf Cart line, navigate to configuration > config > extensions > entity and open GOCost.eti.
  2. Add an implementsEntity element with the following properties:

    Property

    Value

    name

    Cost

  3. Add an implementsInterface element references the Gosu class that defines the adapter methods and properties with the following properties:

    Property

    Value

    iface

    gw.api.domain.financials.CostAdapter

    impl

    gw.lob.go.financials.GOCostAdapter

What to do next

Add a cost adapter