Class: Ledger::Sdk::Models::ImportLine::Instance

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

Overview

Represents an individual import line: what Ledger made of one line of a batch, and why it failed. The detail view carries line_index, line_type, error_type, error_details, original_data and status.

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

#retryHash

Replays this line alone, without resubmitting the whole import.

Only a failed line can be replayed; Ledger answers a 422 line_not_failure for any other status.

Returns:

  • (Hash)

    the refreshed line data