Sha256: b61752f6da6085e1fda573a6afce5df52c7fc87c979906297c35310c5531b94c

Contents?: true

Size: 894 Bytes

Versions: 5

Compression:

Stored size: 894 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module NetSuite
      class Account
        module Operations
          class Find < NetSuite::Operation::Find
            class Contract < LedgerSync::Ledgers::Contract
              params do
                required(:external_id).maybe(:string)
                required(:ledger_id).filled(:string)
                required(:name).maybe(:string)
                required(:classification).maybe(:string)
                required(:account_type).maybe(:string)
                required(:account_sub_type).maybe(:string)
                required(:number).maybe(:string)
                required(:currency).maybe(:hash, Types::Reference)
                required(:description).maybe(:string)
                required(:active).maybe(:bool)
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ledger_sync-1.6.0 lib/ledger_sync/ledgers/netsuite/account/operations/find.rb
ledger_sync-1.5.2 lib/ledger_sync/ledgers/netsuite/account/operations/find.rb
ledger_sync-1.5.1 lib/ledger_sync/ledgers/netsuite/account/operations/find.rb
ledger_sync-1.5.0 lib/ledger_sync/ledgers/netsuite/account/operations/find.rb
ledger_sync-1.4.4 lib/ledger_sync/ledgers/netsuite/account/operations/find.rb