Declare transaction adapter in the transaction entity

Before you begin

Add a cost adapter

About this task

Use Studio to add an implementsEntity element to the transaction entity.

Procedure

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

    Property

    Value

    name

    Transaction

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

    Property

    Value

    iface

    gw.api.domain.financials.TransactionAdapter

    impl

    gw.lob.go.financials.GOTransactionAdapter

What to do next

Add a transaction adapter