Setter Injection

CLASSDEFINITION.
  PUBLIC SECTION.
    METHODS set_cash_provider IMPORTING i_cash_provider TYPE REF TO if_cash_provider.
  PRIVATE SECTION.
    DATA m_cash_provider TYPE REF TO if_cash_provider.ENDCLASS.

CLASSIMPLEMENTATION.
  METHOD set_cash_provider.
    m_cash_provider = i_cash_provider.
  ENDMETHOD.ENDCLASS.

Backlinks