Sha256: 9bdd86495b30580fcddb0441610cde25a5d2eebf268ddc939aeda19d47f573fc

Contents?: true

Size: 749 Bytes

Versions: 13

Compression:

Stored size: 749 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class JournalEntry
      module Operations
        class Delete < NetSuite::Operation::Delete
          class Contract < LedgerSync::Ledgers::Contract
            params do
              required(:external_id).maybe(:string)
              required(:ledger_id).filled(:string)
              optional(:memo).maybe(:string)
              optional(:trandate).maybe(:date?)
              optional(:tranId).maybe(:string)
              optional(:currency).maybe(:hash, Types::Reference)
              optional(:subsidiary).maybe(:hash, Types::Reference)
              optional(:line_items).array(Types::Reference)
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.7.1 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/journal_entry/operations/delete.rb