Class: Ledger::Sdk::Models::Movement::Instance

Inherits:
Base::Instance show all
Defined in:
lib/ledger/sdk/models/movement.rb

Overview

An individual movement instance (full detail via show endpoint).

Instance Method Summary collapse

Methods inherited from Base::Instance

association, #data, #initialize

Constructor Details

This class inherits a constructor from Ledger::Sdk::Models::Base::Instance

Instance Method Details

#reclassify(label_id:) ⇒ Boolean

Reclassifies this movement under a label (typically a fee type), or restores its original classification.

Parameters:

  • label_id (Integer, nil) —

    the label to apply; nil restores the original classification

Returns:

  • (Boolean) —

    true